]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Refactor tunneled hardware GRO logic.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 29 Jul 2019 10:10:23 +0000 (06:10 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 21:19:09 +0000 (14:19 -0700)
commitd691e66f01f45bf0cea6ed3408f9c9c92bfc12ff
treefc1df37e6a6174411162eb6a38041afdcadcbc87
parentebfcdbada104a22bb75143051fa2badddb633208
bnxt_en: Refactor tunneled hardware GRO logic.

The 2 GRO functions to set up the hardware GRO SKB fields for 2
different hardware chips have practically identical logic for
tunneled packets.  Refactor the logic into a separate bnxt_gro_tunnel()
function that can be used by both functions.

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