net/ena: skip packet with wrong request id
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:31 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commitf00930d929151fc09914e6d61b827f9f81645324
treee90cdeb6ea3111c0c3e40b3cba45be56b8c9869a
parentea93d37eb49d68f5444cfcd375ad691a78afef42
net/ena: skip packet with wrong request id

When invalid req_id is received, the reset should be handled by the
application, as it is indicating invalid rings state, so further Rx
is not making any sense.

Fixes: c2034976673d ("net/ena: add Rx out of order completion")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c