projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de42edd
)
ixgbe: use NETIF_F_LRO
author
Stanislaw Gruszka
<
[email protected]
>
Thu, 1 Jul 2010 13:58:25 +0000
(13:58 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 2 Jul 2010 05:45:58 +0000
(22:45 -0700)
Both ETH_FLAG_LRO and NETIF_F_LRO have the same value, but NETIF_F_LRO
is intended to use with netdev->features.
Signed-off-by: Stanislaw Gruszka <
[email protected]
>
Acked-by: Don Skidmore <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ixgbe/ixgbe_ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_ethtool.c
b/drivers/net/ixgbe/ixgbe_ethtool.c
index b50b5ea4cf83101ce7cf2be9c650ef762e3d13c6..5275e9c95039a7cedd1ead3f44175a792e4b0f5d 100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_ethtool.c
+++ b/
drivers/net/ixgbe/ixgbe_ethtool.c
@@
-2237,7
+2237,7
@@
static int ixgbe_set_flags(struct net_device *netdev, u32 data)
break;
}
} else if (!adapter->rx_itr_setting) {
- netdev->features &= ~
ETH_FLAG
_LRO;
+ netdev->features &= ~
NETIF_F
_LRO;
if (data & ETH_FLAG_LRO)
e_info("rx-usecs set to 0, "
"LRO/RSC cannot be enabled.\n");