app/testpmd: display software packet type
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:57 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:22:46 +0000 (18:22 +0200)
commit144ba8891247ccef492ca2323e1a07be62536e74
tree6be4af1795f7515cfefa71fb56a86409a9027e54
parent351537e99a98394fc6d75e55d79a54cf32a6a8ff
app/testpmd: display software packet type

In addition to the packet type returned by the PMD, also display the
packet type calculated by parsing the packet in software. This is
particularly useful to compare the 2 values.

Note: it does not mean that both hw and sw always have to provide the
same value, since it depends on what hardware supports.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/rxonly.c