cxgb4: Fix netdev_features flag
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 30 May 2017 08:00:24 +0000 (13:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:13 +0000 (19:48 +0200)
commit489b11ae30afc7b1315559613b7d0abf7249dd4f
tree85c1d0dca76b1c308e386adddccdfdd79f73892e
parent6cd7b51283df0615a223f527e0721be1058ae36e
cxgb4: Fix netdev_features flag

[ Upstream commit 90592b9a35836bacd34d92a3aba7958756b6a7c0 ]

GRO is not supported by Chelsio HW when rx_csum is disabled.
Update the netdev features flag when rx_csum is modified.

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c