From patchwork Wed Nov 9 09:57:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 13037307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A4EEC43217 for ; Wed, 9 Nov 2022 09:58:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230009AbiKIJ6I (ORCPT ); Wed, 9 Nov 2022 04:58:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbiKIJ6G (ORCPT ); Wed, 9 Nov 2022 04:58:06 -0500 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D13B0248DF for ; Wed, 9 Nov 2022 01:58:03 -0800 (PST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-3735edd4083so158809787b3.0 for ; Wed, 09 Nov 2022 01:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=3spuZlEnOs7qncONbbcgqarNn7F7PonMgqZr4zU5sFU=; b=V4kxf/ertdZhaptEv+ypWmELqe+JPfbZn11WzdbLM/amfR/8klvOJduplgilwr0BFM ZbTzkVhcD2Q/OSZ5AOAwkCBViKEuL6ojJp86lUU/O9oJ5O0pKeyftf4oO8Q6pUXVEvye bMVXSUXOWWA34O3PF6AIM94fmOG0nsw+7iY8u6dIlvppcVb3FK/u9T1fcd6ED6pzw1jr 7lvXw3kq9ZFxkBQugVP2SrlGnAghTsCi1qF67kjdFYN3+d1O+7bj44u/LhCFnH7Sds2R +J2CpEVLAEHpLYCS0JOkgg3R3Qd2dBMyBlH0yQU84eyzJiyqnQDxobBY1epjJ7uPlUum DcBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3spuZlEnOs7qncONbbcgqarNn7F7PonMgqZr4zU5sFU=; b=O8W6/hxqmJsg7mmzTx1dpZJwyN0qqSIRWrSU11ONnDtYMKvrSy/QzdIF6SJNvViunX U0cuZ4O4eI6wSYGw27BoT7UneLhtI3XEJ0amwsFa6q49eHr5hVVPch+wMqdx3c5z06Vb WPw7Cpxgw2+pctoD5O3tS8StyOW4KJwe1xJeqFarFCYxmneGwBjNlFKd9NdpQtcqehau 5ks2Oor1W+efR1nRQZLgZNpwkpV5/1kvjqqQaORMWb0BN7q/nWO0S7u+Oig7gmvaDat5 uNhsXe471GNUe6L8bqxPa0HmK+OAFER+csrzPORnyee6ayfbg1Hh5arLHMRluR2lZz7+ Lfjg== X-Gm-Message-State: ACrzQf31Rg2uhXkVBIfU2NimfM9Q3g/iNqxynDvajaYI4nCM7typv7dI X8X/3oplwP4o6e4EqN/10w4McrYfPKqRPw== X-Google-Smtp-Source: AMsMyM5GhTvSUDMKIW9o2zPl7PS95N/a2UaFqVw3jbs/GAN2AY1LGoBcPaXYjNu/E+YoSLDwsPRFnsZuA0cLFw== X-Received: from edumazet1.c.googlers.com ([fda3:e722:ac3:cc00:2b:7d90:c0a8:395a]) (user=edumazet job=sendgmr) by 2002:a25:3f07:0:b0:6bc:f68b:da0d with SMTP id m7-20020a253f07000000b006bcf68bda0dmr55793772yba.227.1667987882029; Wed, 09 Nov 2022 01:58:02 -0800 (PST) Date: Wed, 9 Nov 2022 09:57:57 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog Message-ID: <20221109095759.1874969-1-edumazet@google.com> Subject: [PATCH net-next 0/2] net: vlan: claim one bit from sk_buff From: Eric Dumazet To: "David S . Miller" , Jakub Kicinski , Paolo Abeni , Daniel Borkmann , Alexei Starovoitov , Andrii Nakryiko Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, eric.dumazet@gmail.com, Eric Dumazet Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org First patch claims skb->vlan_present. This means some bpf changes, eg for sparc32 that I could not test. Second patch removes one conditional test in gro_list_prepare(). Eric Dumazet (2): net: remove skb->vlan_present net: gro: no longer use skb_vlan_tag_present() arch/sparc/net/bpf_jit_comp_32.c | 10 ++++----- .../ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 +- include/linux/if_vlan.h | 9 +++----- include/linux/skbuff.h | 18 ++++++++------- lib/test_bpf.c | 1 - net/core/filter.c | 22 +++++++++---------- net/core/gro.c | 4 +--- 7 files changed, 30 insertions(+), 36 deletions(-) Acked-by: Martin KaFai Lau