diff options
author | Michael Chan | 2017-12-16 09:09:42 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-19 16:38:36 +0100 |
commit | 1054aee82321483dceabbb9b9e5d6512e8fe684b (patch) | |
tree | ef3068bb6c94cf1e7dfc83ac4957561679069513 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | |
parent | net: Disable GRO_HW when generic XDP is installed on a device. (diff) | |
download | kernel-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