]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 11 Jul 2017 00:04:09 +0000 (17:04 -0700)
commit28659c6de5fcd18888b834598835c1803a6cd44c
treeb6a3f41d0c94d431cf9d636fbfa906ceaf58f269
parentc79d6a96bad082a430f9b5318a3db0f30f0a812c
bnxt_en: Add missing logic to handle TPA end error conditions.

Orabug: 264025332632559926366387

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>
(cherry picked from commit 69c149e2e39e8d66437c9034bb4926ef2c1f7c23)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h