OSDN Git Service

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)
commit69c149e2e39e8d66437c9034bb4926ef2c1f7c23
tree2e8e3a4eb06b9d0272df7349a2f25a4ee4a8cdf6
parentdb9d8b29d19d2801793e4419f4c6272bf8951c62
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