From patchwork Mon Feb 12 03:50:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Aring X-Patchwork-Id: 10211759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BE5EF60236 for ; Mon, 12 Feb 2018 03:51:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A873828C17 for ; Mon, 12 Feb 2018 03:51:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8228828BCB; Mon, 12 Feb 2018 03:51:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43A2328C59 for ; Mon, 12 Feb 2018 03:51:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932528AbeBLDvO (ORCPT ); Sun, 11 Feb 2018 22:51:14 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:36874 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932477AbeBLDvO (ORCPT ); Sun, 11 Feb 2018 22:51:14 -0500 Received: by mail-io0-f195.google.com with SMTP id f89so15848878ioj.4 for ; Sun, 11 Feb 2018 19:51:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=IC9Jadh63k6mpe4oST4BG2SCUqpwDcFAh2WmHObnuys=; b=lXf43YJyF/Q3N8csVX5SLG6+zPpi2aOdvnqobX5PYOPwqJ5K7M62eghItfXaFfhN1X Gl/fTfBAW2Zl2Ze0wLm01TTXjw9Bpm0GjCsdGCyMT7brrXdTbwel9+YCuTNXTQYwEh+8 1sTLveCEhyQSS3Znye218LRksA2dntZ3CKevYtLJP9e1eMepzs0cg3ThM7+Ea+QRTwaL B48ab7UdUmJhn/MoImtzwJoEX5WcN8z6yiK5teMoB7Q7tzVIWZ7tMIwy5II+f0q7JS18 GK9d20ahJJTJcwWb/qe1km4R1WEIxaM86+1bqHTL/9a5f/A5gHaog4vqHBp1QcCx4IKv fEzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IC9Jadh63k6mpe4oST4BG2SCUqpwDcFAh2WmHObnuys=; b=lHl/pAQE/LDb29XbrcnGJOHCynyHFyuqibUIFw0tonEHjnua40lyDi4jk+Mco0QVYp Ih1lSk1AMRC04MG/5buR/LmYWYRAmpajE4ldYwQFwR3zU7qXCQpsoPok7gw1x/TGNNko dXGJuP1OEpxcfpT8GjpGLVA9RDFj8bXGzqfN7Ssyyj3Jb4hhEMQr1pO4a65WtYN5tnkR 1f05OJ8NNSq4g/yevq3z8kRWB4r9oR8+cCDSZRKF2OjyB/d/jfrP5A80f44HxxYvcDni b8jeZUIldTv6dod4nCwYIkLgHFR4egFF3lL3IVWMo1RTHfRQ+a0NAx4EguxanIiQnedG YuXQ== X-Gm-Message-State: APf1xPBXLN3w/3Jccb2Cbu6F0DHd0ckqTN8fITE+gzyAdPcQ0D2dnU8U TPvibZakEr7lZJ6hQrAn2XGBFecD X-Google-Smtp-Source: AH8x225Rpg0DXDM/oK7EVz8yPe7xVwsWozHjXM+Se22dgpj0niwPpEOrbIbjo3b8sGQ+rSnrU5T2wg== X-Received: by 10.107.88.12 with SMTP id m12mr10723362iob.136.1518407473495; Sun, 11 Feb 2018 19:51:13 -0800 (PST) Received: from localhost.localdomain ([24.140.234.17]) by smtp.gmail.com with ESMTPSA id g103sm8252036ioj.38.2018.02.11.19.51.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 19:51:13 -0800 (PST) From: Alexander Aring To: stefan@osg.samsung.com Cc: linux-wpan@vger.kernel.org, kernel@mojatatu.com, Alexander Aring Subject: [PATCH wpan-next] ieee802154: 6lowpan: set IFF_NO_QUEUE Date: Sun, 11 Feb 2018 22:50:46 -0500 Message-Id: <20180212035046.11550-1-aring@mojatatu.com> X-Mailer: git-send-email 2.11.0 Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Signed-off-by: Alexander Aring --- net/ieee802154/6lowpan/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ieee802154/6lowpan/core.c b/net/ieee802154/6lowpan/core.c index 974765b7d92a..e4f305320519 100644 --- a/net/ieee802154/6lowpan/core.c +++ b/net/ieee802154/6lowpan/core.c @@ -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;