From: Stephen Hemminger Date: Wed, 13 Mar 2019 21:58:15 +0000 (-0700) Subject: net/octeontx: fix vdev name X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b4ec00a2542425c8dae92ac7fa957a12e94686d1;p=dpdk.git 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 drivers ie "net_octeontx"). Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Rami Rosen Acked-by: Jerin Jacob --- diff --git a/drivers/net/octeontx/octeontx_ethdev.h b/drivers/net/octeontx/octeontx_ethdev.h index 920f6f89b8..2a4a08afcc 100644 --- a/drivers/net/octeontx/octeontx_ethdev.h +++ b/drivers/net/octeontx/octeontx_ethdev.h @@ -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