eventdev/eth_rx: fix stalls on event device backpressure
eventdev/eth_rx: fix stalls on event device backpressure

In the Eventdev Ethernet RX Adapter, correctly handle the case where
the circular enqueue buffer head and last index point to the same
element.

This bug may be triggered in case there is backpressure from the event
device to the RX adapter.

Fixes: 8113fd15e229 ("eventdev/eth_rx: make enqueue buffer circular")

Signed-off-by: Mattias Rönnblom <ba23a026ae54c0c95a377f3421ce76e4585cf9f8@ericsson.com>
Acked-by: Jay Jayatheerthan <e5f685e50bf6c7e14cabc0fff57c0d810ddf673f@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk