]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Add missing logic to handle TPA end error conditions.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 23 Jun 2017 18:01:00 +0000 (14:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 18:48:27 +0000 (14:48 -0400)
commitaaf8badbfc3c4b309972b465bb285900591db72d
tree2e8e3a4eb06b9d0272df7349a2f25a4ee4a8cdf6
parenta1579038cb257471c2c95ee5a5b2de7501b27c1d
bnxt_en: Add missing logic to handle TPA end error conditions.

When we get a TPA_END completion to handle a completed LRO packet, it
is possible that hardware would indicate errors.  The current code is
not checking for the error condition.  Define the proper error bits and
the macro to check for this error and abort properly.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h