Fix stacking of rx receive functions 17/50217/1
authorXavier Simonart <xavier.simonart@intel.com>
Mon, 8 Jan 2018 09:58:14 +0000 (10:58 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Mon, 8 Jan 2018 09:58:14 +0000 (10:58 +0100)
commit96b22a70386a9f8bde6a63eb383ebb7587fe4045
tree7b7303e0c577e3a4f4030006eb9720589747fe38
parentdd77bd89e11d84d378167468db85fb4ef35a0c7a
Fix stacking of rx receive functions

PROX can stack different RX functions, so that they are executed
after each other.
This feature is for instance used to dump packets or to print
distribution of receive packets, without influencing the performance
of the rx functions when no dump or print is needed.
The previous implementation was wrong and causing some of the stacked
functions not to be executed. This was causing for instance issues
in latency measurement after enabling dumping packets.

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