Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2422564rdh; Wed, 27 Sep 2023 02:01:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZ/UqI+n4nz04+HvB/VxGklVb3ZHz+GD/Q547IgKK+8S/tnFTh2g8+D04xZ4PszaZjuTxa X-Received: by 2002:a05:6e02:1a2c:b0:34f:8039:a3b5 with SMTP id g12-20020a056e021a2c00b0034f8039a3b5mr1575627ile.26.1695805314379; Wed, 27 Sep 2023 02:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695805314; cv=none; d=google.com; s=arc-20160816; b=a+hVp6eLqxxNdZZKjmp1YRSs8kmGQ+U/PhekEOZWwJUc4G6KGJo8cb/IaxY1ebtamH ZUfNRWafPXVIVETUxzf7+S60Cimq8kzmrf4O4fglmFIVQzeUg/huPg3e2Akge/PUKTDr oi28Bt9TTU7VlJkg3ychHaSHV9yWn9itYpdwEfMVKPNeL7a0NJJ3bLrqinoObGaPsTeq glGs40QIF5aGPLQ7oIpj/y9Y0k8ECQj9ewa5BGWvbCOg31f5p6GX+H6Ha0UHTebM7p0e rrpwBPLtlHz40eo3h0qxSHlYufKuKTWqJaO4iuVRnHGw+qCJTU4QvXsVR4en9h1tH5Fo ZWkg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0cejTfsMXE2dEylQFA8yefq6BkmENo/ye2ggxUf0b/I=; fh=JMR/UN1PXlx7c6A5HHpDnFk3LzNuIrzTx1lDwvpr0RU=; b=E/nn6SXlNRpunG31KpTpUZL4PAqPrfBuc8m4z+ywgIH+L69BqZKX6NDHDdRzJzvFwc B8leIwXLVDIa96gqYklWoqNiOlx/tztGM3ACe4TEyf6e+iGEe4Zkzv9eRI02gATexwF/ h3KqOsQRPvvmCWtprYRLZTesd6FJg+75tJKQVW6xiAiVtAjUItGo9c1040iQPTuddKJp 4xyNqq4obK4opOh7fe7IHHbwAJsMLbT2fdjVPLj2X/x3BJ2gbLWzIQcsraf5TqVh98/N G97QxQd5kDLwAqL8VRR7sXfN7eXMwamDxJL4kl1xmnNBtTDPZxcC850H8YYLi2Z7Acyh cdhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LDvDrI3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z19-20020a63e113000000b0057cbd803b30si13416855pgh.654.2023.09.27.02.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LDvDrI3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F0AB68090077; Tue, 26 Sep 2023 17:54:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231245AbjI0AyP (ORCPT + 99 others); Tue, 26 Sep 2023 20:54:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjI0AwO (ORCPT ); Tue, 26 Sep 2023 20:52:14 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975304481; Tue, 26 Sep 2023 17:11:08 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9a6190af24aso1224358066b.0; Tue, 26 Sep 2023 17:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695773466; x=1696378266; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=0cejTfsMXE2dEylQFA8yefq6BkmENo/ye2ggxUf0b/I=; b=LDvDrI3De/WpDynWAjWPBly3sX/NBjxdDl6UaBP+DIsayp312D+VdAKfJw/qnZQ6KO goBmCfl9kiIX8cSV0RiiRiszZJGOajEH6BuEqkjr12GmvQy0qpQ6XN+qzKx9JcTeyK/p mPp47AUSG5LVMsB2uyEcR7PNWorol7PvWv9yE/4mDwTuvlLZLVUxpQ2CcBUmfFBe/KZv jWpzO57q19fX1eEP1vYo9DgaqqcH3mvGLM8euJsuaCUfAIz/tqmofEFfuR3/XbK7otbJ rv/RtiwM0il5H2+IHME5KLTxHBiH293BBJPt8EP16QU+HCMmTGuSGjXIs6Gje/crQM2P kwWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695773466; x=1696378266; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0cejTfsMXE2dEylQFA8yefq6BkmENo/ye2ggxUf0b/I=; b=Un8cMpSPxsslajRqiRePLvz0FDeACGkTXHshdSoug4zyOUrkKVLSvWr7LDXbV8mxNb YYILHaI4ObeqN7NyQUSHi9t6Pf9DT8W0mlI3MinGMPp1YEz1gzXItI7CFwEKnLbZasEO gWiRq+R2tTegIdBQdQdT/AMmH5epbWIkZP6krM2INIuEqL3HvcLO0nP5lcKskXr+xOfB Tpoxf6i7xFs8MuM+yQW36g+i6f46ETcAi9d8rVkq8yKy3ZbKQugttXsUkgA7TXTzqMtU H2Rm/LUwSv1JzVjBSiNUpHzYEo6lnhS59sn8oZVWBpmDvF8DtXvK7IQd7lWbIJ/UkJQY IAzQ== X-Gm-Message-State: AOJu0YynAtx8/URBfjcwuMe4BMuhMbAHeL6MvQqWQgiRdJ9qh98gNIPa 6KnhS+eijXXXZDXMFr9lRtM= X-Received: by 2002:a17:906:308a:b0:9b2:89ec:7fca with SMTP id 10-20020a170906308a00b009b289ec7fcamr224555ejv.34.1695773466352; Tue, 26 Sep 2023 17:11:06 -0700 (PDT) Received: from skbuf ([188.25.161.12]) by smtp.gmail.com with ESMTPSA id jx10-20020a170906ca4a00b009ad87d1be17sm8309656ejb.22.2023.09.26.17.11.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 17:11:06 -0700 (PDT) Date: Wed, 27 Sep 2023 03:11:03 +0300 From: Vladimir Oltean To: =?utf-8?B?UGF3ZcWC?= Dembicki Cc: netdev@vger.kernel.org, Dan Carpenter , Simon Horman , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 6/8] net: dsa: vsc73xx: introduce tag 8021q for vsc73xx Message-ID: <20230927001103.5qgrwishmnxkyaul@skbuf> References: <20230912122201.3752918-1-paweldembicki@gmail.com> <20230912122201.3752918-7-paweldembicki@gmail.com> <20230912213937.wqwiex32ojlojnue@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 17:54:20 -0700 (PDT) On Mon, Sep 25, 2023 at 10:55:29PM +0200, Paweł Dembicki wrote: > > I've prepared some (only compile-tested) patches on this branch here: > > https://github.com/vladimiroltean/linux/commits/pawel-dembicki-vsc73xx-v3 > > > > I need to double-check that they don't introduce regressions, > > I tested it on my device and I couldn't find any regressions. vlan > filtering and tagging work as expected. Thanks for testing. Obviously I still haven't :-/ Please feel free to post the next version and I'll try to find some time to test. > > and we > > should discuss the merging strategy. Probably you're going to submit > > them together with your patch set. > > I prepared the v4 patch series. Please look if that format is ok with you. > https://github.com/CHKDSK88/linux/commits/vsc73xx-vlan-net-next I still have some style nitpicks similar to the ones expressed already, but it isn't trivial for me to leave them through Github, so you can post your best attempt at v4. You should also try to add a comment explaining what's the reason for the special case for "if (port != CPU_PORT)" in vsc73xx_port_vlan_add().