eventdev: fix missing update to Rx adaper WRR position
authorNikhil Rao <nikhil.rao@intel.com>
Sun, 3 Jun 2018 11:41:08 +0000 (17:11 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jun 2018 22:07:51 +0000 (00:07 +0200)
commit524dc20023b2e00cd9a021ae60cb4b91f51786e6
tree94567354b50af49d15488ebd723b43c0b4b5125e
parent2a9c83ae3b2ec6a202211101735a21dbf2c766df
eventdev: fix missing update to Rx adaper WRR position

After dequeuing Rx packets and enqueueing them to the
temporary buffer towards eventdev, the packet Rx loop exits
if the temporary buffer is full but the current WRR position
is not saved.

Save away the current value of the WRR position, so packets
are dequeued from the correct Rx queue in the next invocation.

Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation")
Cc: stable@dpdk.org
Suggested-by: Gage Eads <gage.eads@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c