]> Git Repo - linux.git/commit
qede: Use NETIF_F_GRO_HW.
authorMichael Chan <[email protected]>
Sat, 16 Dec 2017 08:09:44 +0000 (03:09 -0500)
committerDavid S. Miller <[email protected]>
Tue, 19 Dec 2017 15:38:37 +0000 (10:38 -0500)
commit18c602dee47268248c95bc0032006e2633e480b7
tree29a8edf358b59177ad89caf1206505dfede24f3f
parent3c3def5fc667fc3615fc563b69fe76f225ec1b67
qede: Use NETIF_F_GRO_HW.

Advertise NETIF_F_GRO_HW and set edev->gro_disable according to the
feature flag.  Add qede_fix_features() to drop NETIF_F_GRO_HW if
XDP is running or MTU does not support GRO_HW or GRO is not set.
qede_change_mtu() also checks and disables GRO_HW if MTU is not
supported.

Cc: Ariel Elior <[email protected]>
Cc: [email protected]
Acked-by: Manish Chopra <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Acked-by: Manish Chopra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
drivers/net/ethernet/qlogic/qede/qede_filter.c
drivers/net/ethernet/qlogic/qede/qede_main.c
This page took 0.060595 seconds and 4 git commands to generate.