app/testpmd: display port driver name
authorDavid Marchand <david.marchand@6wind.com>
Wed, 23 Nov 2016 10:55:26 +0000 (11:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 6 Dec 2016 13:34:12 +0000 (14:34 +0100)
commitac7cd715d462090df0032667d7a87400d9814688
treea3619a105798cb70d818a7961cb41af00deafdde
parent26faac80327ff088d296da5e2c2553e381af5e25
app/testpmd: display port driver name

This makes it easier to check which driver name is reported through ethdev
rte_eth_dev_info_get().

Example:

./build/app/testpmd -c 0x6 --vdev net_af_packet0,iface=mgmt0 --
-i  --total-num-mbufs 2049
[snip]
testpmd> show port info all

********************* Infos for port 0  *********************
MAC address: DE:AD:DE:01:02:03
Driver name: net_af_packet
Connect to socket: 0
memory allocation on the socket: 0

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
app/test-pmd/config.c