Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4182677rwb; Sat, 21 Jan 2023 07:11:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXv+1RO+jYQIH3U7mzIZOOvrmfug04suhzqkIBs7aznk2MHIaGqflO7pCM7la5JB3CpLcbix X-Received: by 2002:a17:903:1cb:b0:194:d8b2:7a1b with SMTP id e11-20020a17090301cb00b00194d8b27a1bmr10686211plh.68.1674313896602; Sat, 21 Jan 2023 07:11:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674313896; cv=none; d=google.com; s=arc-20160816; b=FscCVbb7IfD/H0dYwphgIEH0C0AM7XKLSdJ4AltYnd1a2TsJNuOsUXQPgVhR3JdKDE CHoD7XZjhdodPWSF+i7h4qtscPpSd+0IUNO6Q63ljjBWHy8nIFGB45H2CGtvWRTq066K RvcLkuMNHwMLOpEAKoPUbxkYSyUkepH7X7Ll0k1NNE9oRclUTiHMljEWnnLXpeaNVc2n eLE7hFgcJcZ8PynVkKe5yTyU0bn1hoX5lVrM562TE3wesWmhG/UO3B9TcU0EaA2q1HLk inhHit27aFuX/61OJRMfPsJwofjebm88eG4YIYJkiR5NwTjn5Ye0+Qx5LxbWKYCB4d2E XQcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :references:in-reply-to:sensitivity:importance:date:subject:cc:to :from:message-id:mime-version:dkim-signature; bh=4V28Gz5Ugct3USbMjHEv7PNQzjfdAFmkjsHE76lUssI=; b=AUBLB5YRSWjWokyS6sRttxPmSyK/IR+HEbL+q9OMPCcjA0afFMkIN3fmfGxIRBxGU0 /gPpLxeFsfnMjsmcSsecoDqEShqbkI6AJATqY54IPZEiVSl41C850hWBdAW7ta2RYF2e KJ1z0K3m162Z9jJQpIPA0Kdpq6u9rNLpl+lhCteKHPArW7RNeEQqia+KfmQNCOn41KIu 7jDj7wWlHR40mQWzJcwGpnEWdyH4xFgPQ+USk9GmeMfG6ANSuo+l36qemshnwgcEEtSb 4GasjKetpU/XeJC5ikXvGWsaOfhc7vxfofKwlWiv+2D79/aws/PGeDOKkM7zvopPcVAV tGPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=W8e41qKm; 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 l17-20020a170902d05100b001948440d0besi3831728pll.130.2023.01.21.07.11.30; Sat, 21 Jan 2023 07:11:36 -0800 (PST) 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=@public-files.de header.s=s31663417 header.b=W8e41qKm; 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 S229728AbjAUOft (ORCPT + 52 others); Sat, 21 Jan 2023 09:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjAUOfs (ORCPT ); Sat, 21 Jan 2023 09:35:48 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3824B21979; Sat, 21 Jan 2023 06:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1674311728; bh=4V28Gz5Ugct3USbMjHEv7PNQzjfdAFmkjsHE76lUssI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=W8e41qKmGYUFZf78K3M+TQB04Q8IoBo4UUovSynrvR6RDOWBcasFBBM89CfB1IA+p PP09eCcalDy7IG6Cudd3p04dIwlzMENPVbvH4wleYKT5ZN2+zMeNzxYHQHzN0HKdvT TgnxJ2Lc8lsWTsBvfmAIRDeb2ZT3+sMjr70Q6L715pmcM/bQIwVqA43SKx9IP2ceHS 7EH2bd4+oSgaLHRp+3wBZj2PA5J1vRXPsFIwfx+ozFN+1fy9m5XygIEi7Rv8VR5tm/ jCcIJDf87pHW/9zW+sqCpgiaV94cdpTh4nBnchF0HVWinVbZTUt+lLUri5oxQSbv+O 8bFZ8SQhLSQLg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.152.198] ([217.61.152.198]) by web-mail.gmx.net (3c-app-gmx-bap60.server.lan [172.19.172.130]) (via HTTP); Sat, 21 Jan 2023 15:35:28 +0100 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Vladimir Oltean Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Landen Chao , Sean Wang , DENG Qingfang , Matthias Brugger , Daniel Golle Subject: Aw: Re: [BUG] vlan-aware bridge breaks vlan on another port on same gmac Content-Type: text/plain; charset=UTF-8 Date: Sat, 21 Jan 2023 15:35:28 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <20230121133549.vibz2infg5jwupdc@skbuf> References: <20230120172132.rfo3kf4fmkxtw4cl@skbuf> <20230121122223.3kfcwxqtqm3b6po5@skbuf> <20230121133549.vibz2infg5jwupdc@skbuf> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:g0li+axzpVis+uzirmrAvrroCtduzzYxo3+jtQufx5O1L0QZ73vg5WZFReRvxrdWs3aCs 9IkY2TTVo9c6k3uSkQ/8+IHB5NO4h4olMIY/p7LHHkmTKmGqJy4io+bHAUOrRb9RyGanC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MdEg== Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 > Gesendet: Samstag, 21. Januar 2023 um 14:35 Uhr > Von: "Vladimir Oltean" > It's hard for me to understand how applying only patch "tag_mtk only > combine VLAN tag with MTK tag is user port is VLAN aware" can produce > the results you describe... For packets sent to port lan0, nothing > should have been changed by that patch, because dsa_port_is_vlan_filteri= ng(dp) > should return true. > > If you can confirm there isn't any mistake in the testing procedure, > I'll take a look later today at the hardware documentation and try to > figure out why the CPU port is configured the way it is. booted an older kernel without your patches, and tried the vlan-aware brid= ge the same way, and it is not working there too. So not broken with your patches. this is how i have created the bridge completely (to exclude a mistake in = my setup): BRIDGE=3Dlanbr0 ip link add name ${BRIDGE} type bridge vlan_filtering 1 vlan_default_pvid = 1 ip link set ${BRIDGE} up ip link set lan0 master ${BRIDGE} ip link set lan0 up ip link add link lanbr0 name lanbr0.100 type vlan id 110 ip a a 192.168.110.5/24 dev lanbr0.100 ip link set lanbr0.100 up btw. why is my vlan software-only and not pushed to hardware? regards Frank