Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1652734pxp; Thu, 17 Mar 2022 13:40:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwi8/79BNHGHmW7YSiaCsJL9RjUYWscjzPQ5QI2LkLq56uVV24PSfJmgjeXOdLvVIYaWObG X-Received: by 2002:a05:6a00:194c:b0:4f7:8a93:e814 with SMTP id s12-20020a056a00194c00b004f78a93e814mr6574846pfk.77.1647549617924; Thu, 17 Mar 2022 13:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647549617; cv=none; d=google.com; s=arc-20160816; b=oI1vis5FVRWc8yDbsQw0y4EE1guZUX35/hV/zalDWq8Gooj2aab8MZP78QrEgtS5VS 1M6v5SF07blCzbdSJI0GqsI42Vfpr2U4KN/CKBq9TIL6kGQt9gvLOOMdF5pwJCceFMTW 8XEl4aE95d3HTxcKbRzpTf0D9Gzevge45rszzXyVpZ/K506k050FTTE51hh6jM1XHluz Y0NBskBrwEb4unUfdrqIHvT8kOyFHkaJUmTNuFIkOXyjxcCkci2dHPUnIN7idO0xjQY0 AdJlFSssNjLCgkvwcQup5IbhZyQop325SthuP+pgODJy6H/r0pyD3NsGxZl5ln0GgH7q wOAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=CRv5vR2o3D0r/4Hbjhrj/n9YZl/sfBL7CrPSgBeF8YU=; b=0ogpNqozgcdbiPxEUVcsG+hkeyPwqEV8VeXoYxonZLxmhbvA00ssOoSE3R3XgPai50 yMFsf4WN2GUzgTn7B6DWJLrfutUnO2IkzfpCtp9QAKNRDPzEY/ZjkgEx6pXf88Dg/Zpe qarpezFBX2kNQI744vV/RJsglO0aVq1KXiDwceis0YH3aZ1pzNL2lCSzlCEalFRga00O xcoEYQHEUiWnp4Qy112Hi5Huonps8m5PsvIHuYJnEa+EaLRb6lsn+UwH+UQ7eano87A/ GBTeIlzRdYG2nLx7d+Qqs+z5jqmilOsULBUnVWjeLuE864IIND23fhj9CBQVB+Ntbu17 e5CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6CfVADD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h7-20020a056a00230700b004f704ae0489si6600374pfh.14.2022.03.17.13.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:40:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E6CfVADD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E27F1E95C0; Thu, 17 Mar 2022 13:08:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235734AbiCQP2b (ORCPT + 99 others); Thu, 17 Mar 2022 11:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235951AbiCQP1y (ORCPT ); Thu, 17 Mar 2022 11:27:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3875D20A96A; Thu, 17 Mar 2022 08:26:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 46420B81EF9; Thu, 17 Mar 2022 15:26:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F235C340E9; Thu, 17 Mar 2022 15:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647530763; bh=2+aIlNYAyt6JrvKd0I5++RrrMWoi4agbOuPrXU84NLQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E6CfVADDbMsrpQ5kFyoPWxZzsvfq8XG3bDxMpwrfROdebKhRKip6GbDvR394A5HXE V7J9XIWG2nSDJgAA8H9pQ0B+/OrEzZSiOZavyG20ZG+KL2vWYT5Eciqt/t3pc/jaCZ dJV/rWlTSwHigCJXVLi75APEGEnfYN0ObVY4ob29//r5NdK6lEu6k4jOEWq/pqwoHG OEmnBR6WK+5fSgSc8trlTc0FhJq4L2e8H92XkVclXFNisVD9g05RncnZEVaao1U3zp jWYLaN0ZovLUn9Ez3LsPHmk4U18JyRWAHYWL1+U6zmwCq4hN1J46+VDwrPh5aLmBM1 wlAwlOe3qIXZQ== Date: Thu, 17 Mar 2022 08:26:01 -0700 From: Jakub Kicinski To: Hans Schultz Cc: davem@davemloft.net, netdev@vger.kernel.org, Hans Schultz , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Daniel Borkmann , Ido Schimmel , linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 net-next 3/4] net: dsa: mv88e6xxx: mac-auth/MAB implementation Message-ID: <20220317082601.00a45d2c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20220317093902.1305816-4-schultz.hans+netdev@gmail.com> References: <20220317093902.1305816-1-schultz.hans+netdev@gmail.com> <20220317093902.1305816-4-schultz.hans+netdev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Thu, 17 Mar 2022 10:39:01 +0100 Hans Schultz wrote: > This implementation for the Marvell mv88e6xxx chip series, is > based on handling ATU miss violations occurring when packets > ingress on a port that is locked. The mac address triggering > the ATU miss violation is communicated through switchdev to > the bridge module, which adds a fdb entry with the fdb locked > flag set. > Note: The locked port must have learning enabled for the ATU > miss violation to occur. >=20 > Signed-off-by: Hans Schultz drivers/net/dsa/mv88e6xxx/mv88e6xxx_switchdev.c:32:5: warning: no previous = prototype for =E2=80=98mv88e6xxx_switchdev_handle_atu_miss_violation=E2=80= =99 [-Wmissing-prototypes] 32 | int mv88e6xxx_switchdev_handle_atu_miss_violation(struct mv88e6xxx_c= hip *chip, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~