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:
bf485bc
)
net: dsa: convert to using IFF_NO_QUEUE
author
Phil Sutter
<
[email protected]
>
Tue, 18 Aug 2015 08:30:41 +0000
(10:30 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Aug 2015 18:55:06 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <
[email protected]
>
Cc: Lennert Buytenhek <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/dsa/slave.c
patch
|
blob
|
history
diff --git
a/net/dsa/slave.c
b/net/dsa/slave.c
index 373ff315030da0081b02eccd36015ed50b4fc3bc..cce97385f7436445f22c17605b5ee4da48c80cac 100644
(file)
--- a/
net/dsa/slave.c
+++ b/
net/dsa/slave.c
@@
-1147,7
+1147,7
@@
int dsa_slave_create(struct dsa_switch *ds, struct device *parent,
slave_dev->features = master->vlan_features;
slave_dev->ethtool_ops = &dsa_slave_ethtool_ops;
eth_hw_addr_inherit(slave_dev, master);
- slave_dev->
tx_queue_len = 0
;
+ slave_dev->
priv_flags |= IFF_NO_QUEUE
;
slave_dev->netdev_ops = &dsa_slave_netdev_ops;
slave_dev->switchdev_ops = &dsa_slave_switchdev_ops;