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)
commit4c8dc00503db24deaf0b89dddfa84b7cba7cd4ce
tree6428bef7efe6bac234b40e033b5176b5910c960e
parent9f5e508b6486be664bee022a325db66b299151b4
qede: Disable hardware gro when xdp prog is installed

commit 18c602dee472 ("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: 18c602dee472 ("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