eventdev: fix internal port logic in Rx adapter
authorNikhil Rao <nikhil.rao@intel.com>
Sun, 3 Jun 2018 14:10:46 +0000 (19:40 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 18 Jun 2018 22:08:43 +0000 (00:08 +0200)
commitd411c4074fe6d90b695f9d9c4982b8c45f2a675d
tree2f24237aaeac138b459c1cd3b205392938835b37
parent6b83f59355437c0631a64e5ecb9f080c17a8ba24
eventdev: fix internal port logic in Rx adapter

Set the internal_event_port flag when the ethdev-eventdev
packet transfer is implemented in hardware and add a check
for the flag to ignore the connection when setting up the
WRR polling sequence.

Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c