projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a622c
)
net/i40e: Avoid double setting of NETIF_F_SG for the HW encapsulation feature mask
author
Or Gerlitz
<ogerlitz@mellanox.com>
Tue, 18 Mar 2014 08:36:45 +0000
(10:36 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Mar 2014 17:25:41 +0000
(13:25 -0400)
The networking core does it for the driver during registration time.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40e/i40e_main.c
b/drivers/net/ethernet/intel/i40e/i40e_main.c
index
c66a11e
..
3daaf20
100644
(file)
--- a/
drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/
drivers/net/ethernet/intel/i40e/i40e_main.c
@@
-6578,10
+6578,9
@@
static int i40e_config_netdev(struct i40e_vsi *vsi)
np = netdev_priv(netdev);
np->vsi = vsi;
- netdev->hw_enc_features
= NETIF_F_IP_CSUM
|
+ netdev->hw_enc_features
|= NETIF_F_IP_CSUM
|
NETIF_F_GSO_UDP_TUNNEL |
- NETIF_F_TSO |
- NETIF_F_SG;
+ NETIF_F_TSO;
netdev->features = NETIF_F_SG |
NETIF_F_IP_CSUM |