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:
e101e7d
)
vmxnet3: fix publicity of NETIF_F_HIGHDMA
author
Shreyas Bhatewara
<
[email protected]
>
Wed, 20 Jul 2011 17:21:51 +0000
(17:21 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 22 Jul 2011 03:39:47 +0000
(20:39 -0700)
NETIF_F_HIGHDMA is being disabled even when dma64 is true. This patch fixes it.
CC: Michal Miroslaw <
[email protected]
>
Signed-off-by: Shreyas N Bhatewara <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/vmxnet3/vmxnet3_drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/vmxnet3/vmxnet3_drv.c
b/drivers/net/vmxnet3/vmxnet3_drv.c
index 1a8cc5bf06bbebb8915ba55ef2f3ff9a2c21fa17..1cbacb3896528e0cc5b54e99abd34b5a809fb714 100644
(file)
--- a/
drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/
drivers/net/vmxnet3/vmxnet3_drv.c
@@
-2647,7
+2647,7
@@
vmxnet3_declare_features(struct vmxnet3_adapter *adapter, bool dma64)
NETIF_F_HW_VLAN_RX | NETIF_F_TSO | NETIF_F_TSO6 |
NETIF_F_LRO;
if (dma64)
- netdev->features |= NETIF_F_HIGHDMA;
+ netdev->
hw_
features |= NETIF_F_HIGHDMA;
netdev->vlan_features = netdev->hw_features &
~(NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX);
netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_FILTER;