ieee802154: 6lowpan: set IFF_NO_QUEUE
Subsystems (2)
PATCH 1/1 ieee802154: 6lowpan: set IFF_NO_QUEUE
This patch sets the IFF_NO_QUEUE for IEEE 802.15.4 6lowpan interfaces. As commit 24dcbf662205 ("6lowpan: Don't set IFF_NO_QUEUE") removes it for "reasons" from the bluetooth 6lowpan subsystem. In IEEE 802.15.4 the lower interface deals with one qdisc for the real hardware, 6LoWPAN does the protocol adaption only and no second queuing on top.
--- net/ieee802154/6lowpan/core.c | 1 + 1 file changed, 1 insertion(+)
net/ieee802154/6lowpan/core.c +1 -0
@@ -104,6 +104,7 @@ static void lowpan_setup(struct net_device *ldev)/* We need an ipv6hdr as minimum len when calling xmit */ ldev->hard_header_len =sizeof (struct ipv6hdr ); ldev->flags =IFF_BROADCAST |IFF_MULTICAST ; + ldev->priv_flags |=IFF_NO_QUEUE ; ldev->netdev_ops = &lowpan_netdev_ops; ldev->header_ops = &lowpan_header_ops;
Signature · 1 line
2.11.0
Hello.
Quoted 16 lines · Alexander Aring
This patch sets the
IFF_NO_QUEUEfor IEEE 802.15.4 6lowpan interfaces. As commit24dcbf662205("6lowpan: Don't setIFF_NO_QUEUE") removes it for "reasons" from the bluetooth 6lowpan subsystem. In IEEE 802.15.4 the lower interface deals with one qdisc for the real hardware, 6LoWPAN does the protocol adaption only and no second queuing on top.Signed-off-by Alexander Aring <[email protected]>--- net/ieee802154/6lowpan/core.c | 1 + 1 file changed, 1 insertion(+)net/ieee802154/6lowpan/core.c +0
-0
net/ieee802154/6lowpan/core.c static void lowpan_setup(struct net_device *ldev) · line 110
Quoted 7 lines
net/ieee802154/6lowpan/core.c +1
-0@@ -104,6 +104,7 @@ static void lowpan_setup(struct net_device *ldev)/* We need an ipv6hdr as minimum len when calling xmit */ ldev->hard_header_len =sizeof (struct ipv6hdr ); ldev->flags =IFF_BROADCAST |IFF_MULTICAST ; + ldev->priv_flags |=IFF_NO_QUEUE ; ldev->netdev_ops = &lowpan_netdev_ops; ldev->header_ops = &lowpan_header_ops;
This patch has been applied to the wpan-next tree and will be part of the next pull request to net-next. Thanks!
regards
Stefan Schmidt