app/testpmd: rework display of Rx descriptors
authorHelin Zhang <helin.zhang@intel.com>
Tue, 24 Jun 2014 02:02:39 +0000 (10:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Jun 2014 11:07:04 +0000 (13:07 +0200)
commitd2121ceccd291803af183b9be4ae096de7e0ffc8
treeb59d8cd0ada80a3fc161019af95d840c47c3b2e9
parent1b69d9b8ee68cd4bd313ec5e73bc18c85baa2dc8
app/testpmd: rework display of Rx descriptors

i40e supports 16 and 32 bytes RX descriptors which can be configured.
It needs to check the driver type and the configuration to determine
if 16 or 32 bytes RX descriptors is being used, for reading and
displaying the different sizes of RX descriptors.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
app/test-pmd/config.c