]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Add GRO logic for BCM5731X chips.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 13 Jun 2016 06:25:35 +0000 (02:25 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 00:37:31 +0000 (17:37 -0700)
commit9ad9445e2d88034dd60ad10d7aa518f7093832b8
treeaab19d32455d7375fae3c2e217ed90a8ab5ec0a2
parent528f6d2ed42660cbb97439b6cabc145e9540b40d
bnxt_en: Add GRO logic for BCM5731X chips.

Orabug: 23221795

Add bnxt_gro_func_5731x() to handle GRO packets for this chip.  The
completion structures used in the new chip have new data to help determine
the header offsets.  The offsets can be off by 4 if the packet is an
internal loopback packet (e.g. from one VF to another VF).  Some additional
logic is added to adjust the offsets if it is a loopback packet.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 94758f8de037cf5c62eb56287f5d5e937cda8c9b)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h