dpdk: tx/rx burst function description refactor 03/25703/2
authorChenmin Sun <chenmin.sun@intel.com>
Fri, 6 Mar 2020 15:09:32 +0000 (23:09 +0800)
committerDamjan Marion <dmarion@me.com>
Thu, 12 Mar 2020 17:50:11 +0000 (17:50 +0000)
commitf3468975d837fbe07c11c55d6ce7a6bf756ea2d8
tree14f660110fdb6aa4f6fac88ae11d7ad0b4ae0839
parent30fa5d1e17d59e7a48e19c03029fe0028c17fc6a
dpdk: tx/rx burst function description refactor

DPDK provides two new APIs to retrieve information about the Tx/Rx
packet burst mode:
rte_eth_tx_burst_mode_get
rte_eth_rx_burst_mode_get

This patch leverages these two APIs to describe the tx/rx mode.

Currently, Intel X710/E810 and Mellanox Mlx5 support the new APIs.
For NICs that don't support the new APIs, still use the original way
to print their tx/rx function name

Type: refactor

Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Change-Id: Ibe47f5debe3b3f17f462fbf9834394e22845cc08
src/plugins/dpdk/device/format.c