diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-12-16 03:09:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-19 10:38:36 -0500 |
commit | 1054aee82321483dceabbb9b9e5d6512e8fe684b (patch) | |
tree | ef3068bb6c94cf1e7dfc83ac4957561679069513 /drivers/net/ethernet/qlogic | |
parent | 56f5aa77cdad1076bea0ae8ddeb74ba68ddc9502 (diff) | |
download | linux-1054aee82321483dceabbb9b9e5d6512e8fe684b.tar.bz2 |
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/qlogic')
0 files changed, 0 insertions, 0 deletions