net/octeontx: fix vdev name
PATCH 1/1 net/octeontx: fix vdev name
The octeontx driver is creating vdev with name "OCTEONTX_PMD" which is an artifact from how RTE_PMD_REGISTER_VDEV arguments work.
Change to use the same convention as all the other network driverse ("net_octeontx").
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/octeontx/octeontx_ethdev.h | 1 + 1 file changed, 1 insertion(+)
drivers/net/octeontx/octeontx_ethdev.h +1 -0
@@ -21,6 +21,7 @@#include "base/octeontx_pkovf.h" #include "base/octeontx_io.h" +#define OCTEONTX_PMD net_octeon#define OCTEONTX_VDEV_DEFAULT_MAX_NR_PORT 12#define OCTEONTX_VDEV_NR_PORT_ARG ("nr_port")#define OCTEONTX_MAX_NAME_LEN 32
Signature · 1 line
2.17.1
Quoted 10 lines
The octeontx driver is creating vdev with name "
OCTEONTX_PMD" which is an artifact from howRTE_PMD_REGISTER_VDEVarguments work.Change to use the same convention as all the other network driverse ("
net_octeontx").Signed-off-by Stephen Hemminger <[email protected]>---
1. Actuaully in the patch itself it is:
+#define OCTEONTX_PMD net_octeon
Shouldn't it be "net_octeontx" as in the commit log ?
2. Typo in commit log: driverse->drivers
Reviewed-by Rami Rosen <[email protected]>