Fix dumping receive packets 07/50707/1
authorXavier Simonart <xavier.simonart@intel.com>
Mon, 8 Jan 2018 11:32:23 +0000 (12:32 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Tue, 16 Jan 2018 15:39:40 +0000 (16:39 +0100)
commit2fbaf3b39062ae832ced4b62f823e6191ac79995
treebf3e4b5b122d810702ceba4f2fbdccd74028d518
parentdeab1ee8197298bd7cf30d259a28206841d59383
Fix dumping receive packets

There were two issues identified in dump receive packets
- when the receive packets was going to be dropped (and not transmitted),
  it was also printed as TX[255].
- a potential crash when using the dump function with modes like
  lat which can receive more than MAX_RING_BURST.
Those issues have been fixed.

Change-Id: Ia2297539d64961a211389d68e3c9c6280472243c
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/lconf.c
VNFs/DPPD-PROX/rx_pkt.c