From patchwork Thu Nov 8 23:17:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 10675133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54D4313BF for ; Thu, 8 Nov 2018 23:18:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 404E92DDB1 for ; Thu, 8 Nov 2018 23:18:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32EEB2E113; Thu, 8 Nov 2018 23:18:30 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 CA3BA2DDB1 for ; Thu, 8 Nov 2018 23:18:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727203AbeKIIzy (ORCPT ); Fri, 9 Nov 2018 03:55:54 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:54559 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbeKIIzy (ORCPT ); Fri, 9 Nov 2018 03:55:54 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 42rfLh1n6gz7l; Fri, 9 Nov 2018 00:17:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1541719023; bh=ky8C6eplGuBajDm0RFjipSqP2G9lfh65NQrooaqyJps=; h=Date:From:Subject:To:Cc:From; b=opacw6TSXzGLYV71lpHcvG6pGexmZ/ofrRCUYS8BWyC+V3aZs+kjtwZGYpLMnjk6H m8w1FOJSWvzxdmrkm0ipPo+JCQi3s3kZ/zQZ6Bz1J12IodzXslN7VAuS7PoON8iQ4J o/qR/Ue4y0zYwylHSjIqvEdMPbUNjUQPI+mEvkBRRmldkx0fjwwpEHalAYhlZcWTov Oxed9rm/NxX29F6sNmtJKeKGJ1H1mmy5z76L9BGxA/M5/XHhEhgzFsDTFNlKhIGahS yc6YtXvPgfz8C/V4nmOV1bHJhSGelXWszO90vBOUxcVLI9LunByaflyn56QuYBm2pA b5SHYSoEqMiYg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Fri, 09 Nov 2018 00:17:58 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH net-next 0/9] Use __vlan_hwaccel_*() helpers MIME-Version: 1.0 To: netdev@vger.kernel.org Cc: Ajit Khaparde , Alexey Kuznetsov , bridge@lists.linux-foundation.org, Cong Wang , coreteam@netfilter.org, "David S. Miller" , Florian Westphal , Hideaki YOSHIFUJI , Jamal Hadi Salim , Jiri Pirko , Jozsef Kadlecsik , linux-rdma@vger.kernel.org, Mirko Lindner , netfilter-devel@vger.kernel.org, Nikolay Aleksandrov , Pablo Neira Ayuso , Roopa Prabhu , Sathya Perla , Somnath Kotur , Sriharsha Basavapatna , Stephen Hemminger , Steve Wise , Tariq Toukan Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series removes from networking core and driver code an assumption about how VLAN tag presence is stored in an skb. This will allow to free up overloading of VLAN.CFI bit to incidate tag's presence. Michał Mirosław (9): cxgb4: use __vlan_hwaccel helpers nfnetlink/queue: use __vlan_hwaccel helpers net/core: use __vlan_hwaccel helpers 8021q: use __vlan_hwaccel helpers bridge: use __vlan_hwaccel helpers ipv4/tunnel: use __vlan_hwaccel helpers benet: use __vlan_hwaccel helpers mlx4: use __vlan_hwaccel helpers sky2: use __vlan_hwaccel helpers drivers/infiniband/hw/cxgb4/cm.c | 2 +- drivers/net/ethernet/emulex/benet/be_main.c | 13 +++++++++---- drivers/net/ethernet/marvell/sky2.c | 6 ++---- drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 +- net/8021q/vlan_core.c | 2 +- net/bridge/br_netfilter_hooks.c | 15 +++++++++------ net/bridge/br_private.h | 2 +- net/bridge/br_vlan.c | 6 +++--- net/core/dev.c | 8 +++++--- net/core/skbuff.c | 2 +- net/ipv4/ip_tunnel_core.c | 2 +- net/netfilter/nfnetlink_queue.c | 5 +++-- net/sched/act_vlan.c | 2 +- 13 files changed, 38 insertions(+), 29 deletions(-)