OSDN Git Service

cxgb4: Fix netdev_features flag
authorArjun Vynipadath <arjun@chelsio.com>
Tue, 30 May 2017 08:00:24 +0000 (13:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 18:16:34 +0000 (14:16 -0400)
commit90592b9a35836bacd34d92a3aba7958756b6a7c0
tree15802702a4e4caff2ee752253b8bd7366cdbdf4c
parent26747211486c5bc7dd014c3caab206576e00c0d0
cxgb4: Fix netdev_features flag

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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c