VPP-580: Host Interface created via Command Line Arg is misnamed 77/4577/2
authorBilly McFall <bmcfall@redhat.com>
Thu, 5 Jan 2017 18:23:39 +0000 (13:23 -0500)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 13 Jan 2017 15:37:46 +0000 (15:37 +0000)
commit35b2607fcd033a18a32ba61b44e68d6e9e3eeeca
tree79c47d14f882844261c98bd41a38277462097e92
parent52e84f3cad6078e89031dafd789a8df57c1d7e1f
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>
src/vnet/devices/dpdk/dpdk.h