]> 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)
commit651c77a0e85ca33a7b0159c3ed2fff9da9e277a3
tree6e21abc024ffb17ae388b0b7f3cf550cb23849c1
parent00feaab21b69ee014de42b98861fe5fbcf9b0e40
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