summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/dpdk
diff options
context:
space:
mode:
authorBilly McFall <bmcfall@redhat.com>2017-01-05 13:23:39 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-13 15:37:46 +0000
commit35b2607fcd033a18a32ba61b44e68d6e9e3eeeca (patch)
tree79c47d14f882844261c98bd41a38277462097e92 /src/vnet/devices/dpdk
parent52e84f3cad6078e89031dafd789a8df57c1d7e1f (diff)
VPP-580: Host Interface created via Command Line Arg is misnamed
Host interfaces created via the command-line arguments are missed named (i.e. - UnknownEthernet0 instead of af_packet0). In DPDK 16.11, they changed the driver names from eth_xxx to net_xxx. However, looks like the AF_PACKET driver still returns "AF_PACKET PMD" as the driver name in the rte_eth_dev_info_get(..) call. I modified the driver name look table in vnet/devices/dpdk/dpdk.h to revert the name back. Change-Id: I2b0a9f6b4d5245b76548027891d40f81a56b230d Signed-off-by: Billy McFall <bmcfall@redhat.com>
Diffstat (limited to 'src/vnet/devices/dpdk')
-rw-r--r--src/vnet/devices/dpdk/dpdk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/dpdk/dpdk.h b/src/vnet/devices/dpdk/dpdk.h
index d8f378d2b54..e0436031df7 100644
--- a/src/vnet/devices/dpdk/dpdk.h
+++ b/src/vnet/devices/dpdk/dpdk.h
@@ -79,7 +79,7 @@ extern vlib_node_registration_t handoff_dispatch_node;
_ ("net_virtio", VIRTIO) \
_ ("net_enic", ENIC) \
_ ("net_vmxnet3", VMXNET3) \
- _ ("net_af_packet", AF_PACKET) \
+ _ ("AF_PACKET PMD", AF_PACKET) \
_ ("rte_bond_pmd", BOND) \
_ ("net_fm10k", FM10K) \
_ ("net_cxgbe", CXGBE) \