]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Disable hardware gro when xdp prog is installed
authorManish Chopra <manishc@marvell.com>
Thu, 19 Dec 2019 18:35:16 +0000 (10:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Dec 2019 05:45:11 +0000 (21:45 -0800)
commit973ebb595a3e72587c1b8a50289ebac2c8f13c53
tree6428bef7efe6bac234b40e033b5176b5910c960e
parentb4181a34b897477f242dd193199d703bd512d006
qede: Disable hardware gro when xdp prog is installed

commit d51699ed2e62 ("qede: Use NETIF_F_GRO_HW.") introduced
a regression in driver that when xdp program is installed on
qede device, device's aggregation feature (hardware GRO) is not
getting disabled, which is unexpected with xdp.

Fixes: d51699ed2e62 ("qede: Use NETIF_F_GRO_HW.")
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c