Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp484519rwn; Thu, 8 Sep 2022 04:50:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4DucQJNhagATWTkpAE5HXg66dv3BbEk2XGAHSJl1s+AC3VrLu62lo2Aq9qJ3Kncv3lQxaK X-Received: by 2002:aa7:cdd2:0:b0:44e:be4d:3231 with SMTP id h18-20020aa7cdd2000000b0044ebe4d3231mr6975556edw.296.1662637840405; Thu, 08 Sep 2022 04:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662637840; cv=none; d=google.com; s=arc-20160816; b=ocmJwv9vTzrCgQCzypbX1JJV03S6Uo2pNMFj8UZIxr2ON7oE8iW6ZO9eJMkZ6wka5J /XnVsDznGNsAsAPx3oAx9VD0G799kEiL3oksBPrI1+WpqnwJlrlxT+hkEvlSCN9fTqw0 0r5qa8YGRAwEvRvTK/zQH6rl4yexfZeeKH3fcjwjFTQEVb9jlCFJcGHCeN/hQ8VdzmaW mD1rfpn1c6eLQ0Ojdk1V1kLEsQwTWD8P1xqQSuQrTDvtNUivn0xc7JwWBBCWwTsu1dqA FkoLFoUsQ7OFQpRRVVYA+cPh6eANsmrrJZjLSL22lwAh0L+9oI9s2BPcrz/jKu6TCl1/ jruQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=G8ZnoARtuecckP3hweHke5GOybQ4Tx8AFkQAdpOiTb4=; b=QvPI0+/O547hMkm4DFrQYNmDYqu4VJBfQLOnNwfI6QtykJXlU9rTk7t1OMZZuhGeJl FBDAU/l3lLAEOV9EEqgPnMPYPS8ljenvzTEvMnAFtj27Gye2QVzxwPAiyJU+U6xDM2lW h4ecaAMmNIZlQmz7kcSPs69dr7K4fRlGDEHxUmWJzlV+m5isMcW8Eoy4f5b4jrQ2odom UDRuXDNnoGSLGEZHkkzsnjwjYosfkO4D1DZYZVhmcWYE3b5GZVTTdHGt2/CGxouAu4n6 mr3TIXfMOfSF6srnzXkUPf/mhOWlGWLm39g6xj6DD620RkLhrn1ak/08hh0CLWEsdCHm Xn0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=o3CYbDyC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a170906814d00b0073d685a5488si1550318ejw.425.2022.09.08.04.50.14; Thu, 08 Sep 2022 04:50:40 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=o3CYbDyC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231153AbiIHLVf (ORCPT + 99 others); Thu, 8 Sep 2022 07:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbiIHLVP (ORCPT ); Thu, 8 Sep 2022 07:21:15 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA15E13F15; Thu, 8 Sep 2022 04:20:52 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 29so18734221edv.2; Thu, 08 Sep 2022 04:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=G8ZnoARtuecckP3hweHke5GOybQ4Tx8AFkQAdpOiTb4=; b=o3CYbDyCbEVhWcKDUNyemWRpDB/jalwhB9aKwfAiQiAAIycxvO3x8vNjM2BbbmGETQ qmYVGwNejRe0ZiGsWxi1PC8OdZqDIWoZb6HYHGpLUxXu7Om1xnQ034XpYv4zMiLlLX2h sg4C2k2Xv+IX34PF6zos9eS3dY/zY+vCALN73udNDncKWjxals7NZRLSiXB42Q2fNGPw co3sk3l0aMsDyc4fy+12gj1OOrSw+NB0qHRKLgqxrc3+6GvPnmIf7NdGZtkt+84PR2n1 pzz0uWK02TyFNkFyV46Dr3F5EA1HbcwnOnOGQ4r60egXvGebPdNn6mZrsBtgihpNyO8R N1xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=G8ZnoARtuecckP3hweHke5GOybQ4Tx8AFkQAdpOiTb4=; b=ST93VHhV17NS3A+BNIEw7O/tqSiUoj1jB+2IMz8lkdEZ4tO/Cb9EknuznNttEaVh5V cPPs3vQkEg7tfaoFyooMcrbpxzr/JzyupJGStTfJNQwFUuKD01PZXdyRbwOjFnYFtBRw tazGzeXJOr/hw91QuHD+8fTMs29s/hRL2Ktbq69+BnTgvH5AvwN2/pFDw6CvLrKfpbk7 72XrwnnN7kkQ02xgQ0MgZ1KSLN7FAu9lY25iEUTINRXhThYDymMTwIeKiYLOdpD1/lmo rVRaO+IkwVnkJbU+mtTo64ofji2GCPVm7oF/dDhI7AjrpgaQFjAl2NlXJkui3tlLs29+ x/nQ== X-Gm-Message-State: ACgBeo0WZePBM3LFEaRGE3huGb0PyCkujDh10U++0I2+AMxr+768G2fC 7ir+NxtEeILImjXoLp6RHxI= X-Received: by 2002:aa7:d703:0:b0:44e:a7b9:d5bd with SMTP id t3-20020aa7d703000000b0044ea7b9d5bdmr6773436edq.425.1662636051345; Thu, 08 Sep 2022 04:20:51 -0700 (PDT) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id lr23-20020a170906fb9700b0077077c62cadsm1120329ejb.31.2022.09.08.04.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 04:20:49 -0700 (PDT) Date: Thu, 8 Sep 2022 14:20:44 +0300 From: Vladimir Oltean To: netdev@kapio-technology.com Cc: Ido Schimmel , davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Vivien Didelot , 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 , Christian Marangi , Daniel Borkmann , Yuwei Wang , 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: Re: [PATCH v5 net-next 6/6] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests Message-ID: <20220908112044.czjh3xkzb4r27ohq@skbuf> References: <9e1a9eb218bbaa0d36cb98ff5d4b97d7@kapio-technology.com> <69db7606896c77924c11a6c175c4b1a6@kapio-technology.com> <5cee059b65f6f7671e099150f9da79c1@kapio-technology.com> <8dfc9b525f084fa5ad55019f4418a35e@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8dfc9b525f084fa5ad55019f4418a35e@kapio-technology.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, Sep 08, 2022 at 01:14:59PM +0200, netdev@kapio-technology.com wrote: > On 2022-09-08 09:59, Ido Schimmel wrote: > > On Wed, Sep 07, 2022 at 11:10:07PM +0200, netdev@kapio-technology.com wrote: > > > I am at the blackhole driver implementation now, as I suppose that the > > > iproute2 command should work with the mv88e6xxx driver when adding blackhole > > > entries (with a added selftest)? > > > I decided to add the blackhole feature as new ops for drivers with functions > > > blackhole_fdb_add() and blackhole_fdb_del(). Do you agree with that approach? > > > > I assume you are talking about extending 'dsa_switch_ops'? > > Yes, that is the idea. > > > If so, it's up to the DSA maintainers to decide. What will be the usefulness of adding a blackhole FDB entry from user space?