net/ena: validate Tx req id
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:14 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commitf7d82d246dd91f4dd9dae33d761a9dfd80b0d9b4
treeab880686b430a8a41c8a89fbfda0e203f1ea1550
parent01bd68772492bd10acd44d25589f2c0d932c4af6
net/ena: validate Tx req id

Validate Tx req id during clearing completed packets.
If id is wrong, trigger NIC reset.

Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c