net/ena: add reset reason in Rx error
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:29 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit9b260dbf7412819f9a5fc544872b1447d6938afe
treef3e6d4bc81afd7b4d90614c9aaed60f868abcdd1
parentb9302eb93a44f10c23675c50941aa8095ef66827
net/ena: add reset reason in Rx error

Whenever the driver will receive too many descriptors from the device,
it should trigger the device reset with reset reason set to
ENA_REGS_RESET_TOO_MANY_RX_DESCS.

Fixes: 241da076b1f7 ("net/ena: adjust error checking and cleaning")
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