From: Billy McFall Date: Thu, 5 Jan 2017 18:23:39 +0000 (-0500) Subject: VPP-580: Host Interface created via Command Line Arg is misnamed X-Git-Tag: v17.04-rc1~377 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=35b2607fcd033a18a32ba61b44e68d6e9e3eeeca;p=vpp.git 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 --- 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) \