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: f7be70e513
("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>
This commit is contained in:
parent
c09eb93529
commit
b4ec00a254
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user