Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6278169rwi; Tue, 18 Oct 2022 10:14:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4CG6KOVLdqHNyX/QmKzhWPN0bxjKmIHk2hX7rGSC1+O2+e0vzVC3xWioVonyXs6MuYEy0k X-Received: by 2002:a05:6a00:1992:b0:563:5f10:62a with SMTP id d18-20020a056a00199200b005635f10062amr3966360pfl.81.1666113244025; Tue, 18 Oct 2022 10:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666113244; cv=none; d=google.com; s=arc-20160816; b=IqoXYeJ4E8BzQdpqRsf4PB6a12QboQXR8YJepYg/4PWMUlwr6cy6J5Q9VtirXqSVqb 0owlLT6NPlAQ7wHlCEDxZp4gW1K2oPiMzOmjn5cwd5FJsGGLjriui1c6iAnd+FRD8KDF 7IyclVKrR37NB6wkuSzdrb2tZQptrvZSY4Nhnu4LdPkL8kMeLE85SjqQ2audM4ZSfmhJ M91lwfHKV+LTR9+m13AuAtHNCa7E+kT1+wiP/dTYdaJt+nJ0j6Wxob/zxhZccQnKFpxM EO2eVEsGmzMrKhIofdBmvIXCx59yjpTUgCMUFU/ZVUoh75tLzCk5HTita8e2+kEAF6c9 5bsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=Hgekr1np2y3RFLW01G0qPAga+ScI8pB4H/+7RRmdt/M=; b=ei/6PV9+amNyx60H1i27bWCYBltq0wve3q0FceSVc98y/AZScolZAyNwbTWxaj7Mf0 75GFnS5QRN/BqHojA9FDc4Scf50adQswhIxZudEMIltHJp29zdaBmnbS0DJD2X81PzXj SEA6+S9/UQ4L/yXwtdS5oAxswdOAfoEBiCyPJ1nEQL+xmh9L+WJTTRzmFZt+gSxauRdp LpReT7yvlTyNf8KeX3hIXKxYeL+HXpds00derhXy9cOtqfgu28HuJLWcDE86NsHmx6Cp Ro1khJT2wZ9z1oc6mMdGxZNzNcMnDv88GUXG9Sm3n4b+4VF2iG+rFFs9HL6uyc2yraOm +K+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a056a00080300b00535d7265923si17767284pfk.377.2022.10.18.10.13.49; Tue, 18 Oct 2022 10:14:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbiJRQ5Y (ORCPT + 99 others); Tue, 18 Oct 2022 12:57:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbiJRQ5B (ORCPT ); Tue, 18 Oct 2022 12:57:01 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53FAEC34E9; Tue, 18 Oct 2022 09:57:00 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 227C61884963; Tue, 18 Oct 2022 16:56:57 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 195DA25001FA; Tue, 18 Oct 2022 16:56:57 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 129119EC0007; Tue, 18 Oct 2022 16:56:57 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 Received: from fujitsu.vestervang (2-104-116-184-cable.dk.customer.tdc.net [2.104.116.184]) by smtp.gigahost.dk (Postfix) with ESMTPSA id 4E93E9EC0009; Tue, 18 Oct 2022 16:56:56 +0000 (UTC) From: "Hans J. Schultz" To: davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, "Hans J. Schultz" , Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Russell King , Christian Marangi , Daniel Borkmann , Yuwei Wang , Petr Machata , Ido Schimmel , Florent Fourcot , Hans Schultz , Joachim Wiberg , Amit Cohen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: [PATCH v8 net-next 04/12] net: bridge: add MAB flag to hardware offloadable flags Date: Tue, 18 Oct 2022 18:56:11 +0200 Message-Id: <20221018165619.134535-5-netdev@kapio-technology.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018165619.134535-1-netdev@kapio-technology.com> References: <20221018165619.134535-1-netdev@kapio-technology.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add BR_PORT_MAB to BR_PORT_FLAGS_HW_OFFLOAD. Signed-off-by: Hans J. Schultz --- net/bridge/br_switchdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bridge/br_switchdev.c b/net/bridge/br_switchdev.c index c6b938c01a74..ccf1b4cffdd0 100644 --- a/net/bridge/br_switchdev.c +++ b/net/bridge/br_switchdev.c @@ -71,7 +71,7 @@ bool nbp_switchdev_allowed_egress(const struct net_bridge_port *p, } /* Flags that can be offloaded to hardware */ -#define BR_PORT_FLAGS_HW_OFFLOAD (BR_LEARNING | BR_FLOOD | \ +#define BR_PORT_FLAGS_HW_OFFLOAD (BR_LEARNING | BR_FLOOD | BR_PORT_MAB | \ BR_MCAST_FLOOD | BR_BCAST_FLOOD | BR_PORT_LOCKED | \ BR_HAIRPIN_MODE | BR_ISOLATED | BR_MULTICAST_TO_UNICAST) -- 2.34.1