bnxt_en: Refactor bnxt_gro_skb().
authorMichael Chan <michael.chan@broadcom.com>
Mon, 13 Jun 2016 06:25:34 +0000 (02:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jun 2016 23:16:13 +0000 (19:16 -0400)
commit309369c9b3f6a8665e581d9014f222b602f6845a
treeed50c62e1a1b45cb037f0c593028df48b3127072
parent659c805cc01b3c5a6d972db0408164371a2bab4b
bnxt_en: Refactor bnxt_gro_skb().

Newer chips require different logic to handle GRO packets.  So refactor
the code so that we can call different functions depending on the chip.

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