OSDN Git Service

cxgb4/cxgb4vf: Fix up netdev->hw_features
authorArjun Vynipadath <arjun@chelsio.com>
Thu, 28 Feb 2019 09:36:54 +0000 (15:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 18:25:09 +0000 (10:25 -0800)
commit012475e3c59cbe488779e86565807a73ff115f4b
treea95074d3e0ff5db1448008faa6de773e8c5491d6
parent2ecba2d1e45b24620a7c3df9531895cf68d5dec6
cxgb4/cxgb4vf: Fix up netdev->hw_features

GRO is done by cxgb4/cxgb4vf. Hence set NETIF_F_GRO flag for
both cxgb4/cxgb4vf.
Cleaned up VLAN netdev features in cxgb4vf. Also fixed
NETIF_F_HIGHDMA being set unconditionally for vlan netdev
features.

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c