]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: add error handlers to LE intr_handler
authorRaju Rangoju <rajur@chelsio.com>
Tue, 25 Aug 2020 03:55:46 +0000 (09:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 13:07:44 +0000 (06:07 -0700)
commitfbf846675cef54aa063d7a1909155fb02367514d
tree6e21abc024ffb17ae388b0b7f3cf550cb23849c1
parent479770ce65976e17d7592f53692c98c73c7c8280
cxgb4: add error handlers to LE intr_handler

cxgb4 does not look for HASHTBLMEMCRCERR and CMDTIDERR
bits in LE_DB_INT_CAUSE register, but these are enabled
in LE_DB_INT_ENABLE. So, add error handlers to LE
interrupt handler to emit a warning or alert message
for hash table mem crc and cmd tid errors

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h