From: Shai Brandes <shaib...@amazon.com>

Adding ENA_REGS_RESET_TX_DESCRIPTOR_MALFORMED to identify
cases where the returned TX completion descriptors are
corrupted.

Signed-off-by: Shai Brandes <shaib...@amazon.com>
Reviewed-by: Amit Bernstein <amitb...@amazon.com>
---
 drivers/net/ena/hal/ena_defs/ena_regs_defs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ena/hal/ena_defs/ena_regs_defs.h 
b/drivers/net/ena/hal/ena_defs/ena_regs_defs.h
index 6a33f74812..a94025dc77 100644
--- a/drivers/net/ena/hal/ena_defs/ena_regs_defs.h
+++ b/drivers/net/ena/hal/ena_defs/ena_regs_defs.h
@@ -23,6 +23,7 @@ enum ena_regs_reset_reason_types {
        ENA_REGS_RESET_MISS_INTERRUPT               = 14,
        ENA_REGS_RESET_SUSPECTED_POLL_STARVATION    = 15,
        ENA_REGS_RESET_RX_DESCRIPTOR_MALFORMED      = 16,
+       ENA_REGS_RESET_TX_DESCRIPTOR_MALFORMED      = 17,
        ENA_REGS_RESET_LAST,
 };
 
-- 
2.17.1

Reply via email to