summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorMichael Chan2017-12-16 09:09:42 +0100
committerDavid S. Miller2017-12-19 16:38:36 +0100
commit1054aee82321483dceabbb9b9e5d6512e8fe684b (patch)
treeef3068bb6c94cf1e7dfc83ac4957561679069513 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parentnet: Disable GRO_HW when generic XDP is installed on a device. (diff)
downloadkernel-qcow2-linux-1054aee82321483dceabbb9b9e5d6512e8fe684b.tar.gz
kernel-qcow2-linux-1054aee82321483dceabbb9b9e5d6512e8fe684b.tar.xz
kernel-qcow2-linux-1054aee82321483dceabbb9b9e5d6512e8fe684b.zip
bnxt_en: Use NETIF_F_GRO_HW.
Advertise NETIF_F_GRO_HW in hw_features if hardware GRO is supported. In bnxt_fix_features(), disable GRO_HW and LRO if current hardware configuration does not allow it. GRO_HW depends on GRO. GRO_HW is also mutually exclusive with LRO. XDP setup will now rely on bnxt_fix_features() to turn off aggregation. During chip init, turn on or off hardware GRO based on NETIF_F_GRO_HW in features flag. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions