net/octeontx: fix vdev name
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 13 Mar 2019 21:58:15 +0000 (14:58 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
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
drivers ie "net_octeontx").

Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx/octeontx_ethdev.h

index 920f6f8..2a4a08a 100644 (file)
@@ -21,6 +21,7 @@
 #include "base/octeontx_pkovf.h"
 #include "base/octeontx_io.h"
 
+#define OCTEONTX_PMD                           net_octeontx
 #define OCTEONTX_VDEV_DEFAULT_MAX_NR_PORT      12
 #define OCTEONTX_VDEV_NR_PORT_ARG              ("nr_port")
 #define OCTEONTX_MAX_NAME_LEN                  32