app/testpmd: fix show port info routine
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Tue, 16 Jul 2019 10:34:34 +0000 (10:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commita1be9d7dfc0c1ae6bf70fe234458ad4f90cf14f4
tree4c52895658268758b6fcfccf15e4dc3edddf1efe
parent31538ef62ceb23d8cb655b1598c7a6f2da2ab04c
app/testpmd: fix show port info routine

This patch updates "show port info [port_id]" command to display
the tx_desc_lim.nb_seg_max and tx_desc_lim.nb_mtu_seg_max fields
of rte_eth_dev_info structure.

Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/config.c