diff options
author | Michael Chan <[email protected]> | 2017-12-16 03:09:43 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-19 10:38:37 -0500 |
commit | 3c3def5fc667fc3615fc563b69fe76f225ec1b67 (patch) | |
tree | c6ceae37f1cae700e1f06e4ac35a8ef867ceeab8 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 1054aee82321483dceabbb9b9e5d6512e8fe684b (diff) |
bnx2x: Use NETIF_F_GRO_HW.
Advertise NETIF_F_GRO_HW and turn on TPA_MODE_GRO when NETIF_F_GRO_HW
is set. Disable NETIF_F_GRO_HW in bnx2x_fix_features() if the MTU
does not support TPA_MODE_GRO or GRO is not set. bnx2x_change_mtu() also
needs to disable NETIF_F_GRO_HW if the MTU does not support it.
Original parameter disable_tpa will continue to disable LRO and GRO_HW.
Preserve the original behavior of enabling LRO by default. User has
to run ethtool -K to explicitly enable GRO_HW.
Cc: Ariel Elior <[email protected]>
Cc: [email protected]
Signed-off-by: Michael Chan <[email protected]>
Acked-by: Manish Chopra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions