Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1651571imm; Sun, 27 May 2018 12:19:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrjjIM2IPt+ELPgk5JELavhfScf6sebf37WZvvlFEAKPCdntGwMov0NRaL1xpuBvebAj2sd X-Received: by 2002:a63:6f4c:: with SMTP id k73-v6mr8182269pgc.303.1527448747719; Sun, 27 May 2018 12:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527448747; cv=none; d=google.com; s=arc-20160816; b=ycZwyCr+Qb6u53QIAejBy0F4B9ihitt6MuGGJeHWSHZwXxupsRjkpCcNoiVlo3FQ9z RL4y34Oat2pIQjOHtjVihQrGcL19isU7tOxbD2Uqd4GNwsMpCQ5X2uNM6u258bgvJgDo kfcOEkVA9u/eY3nARw0eimxnueivI/90RUeGoTWkE3IJFzi6i/TVss/xA/sQ/0rguyeE slNq0Vr10HBdEvcet11Yo2ZPPiuUITCZ+3bBTRWzoMX7n7KsHiw6hVVVbHuwV+QLf4IP rsjlvLyNYruiGi2BBw0fo5XhKwCzR7kC9PitzAQWq0XjA+d5BYlzA2U5Dysi2rFaWp45 qS/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=frUz4HEb2D/Uhzg9+JndIHOc7qiv6cB4bczpPF9Zsbg=; b=fxBys+yytLDHzSlZZRZcfeomX6AbLSqgEgrScgfHRRFGYz1SV4qfVzvjhCYqdwufrM F/8TXpI07fGE2g8y618JUR5TMY9I12q+TFAm3yg7p8ZV8v15rKomWRUNVW9tpMB8NG6I RIXu5o/Ej6OC+1EoLDKZT2vhOcFpJUM3d2XXiAIKwCwBM0E+jIhhmijPgi9elAsZp3ya CEfcl0u3bmQ0sRN3ryh18tXlSCeV3SowVOKDGxVFfjRkhLi4VdRNEcWOxwB5yvr3ZS58 iTFLrvXRVQUAIx8sTaVakhB0rDYWkOzwfMw/Mx1n4f/u7PrbO1MJOcF8uvz6kTfmrKNU WkPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wiesinger.com header.s=default header.b=x9y/kIMy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w68-v6si28554589pfb.325.2018.05.27.12.18.51; Sun, 27 May 2018 12:19:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@wiesinger.com header.s=default header.b=x9y/kIMy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751417AbeE0TSm (ORCPT + 99 others); Sun, 27 May 2018 15:18:42 -0400 Received: from vps01.wiesinger.com ([46.36.37.179]:51448 "EHLO vps01.wiesinger.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbeE0TSk (ORCPT ); Sun, 27 May 2018 15:18:40 -0400 Received: from wiesinger.com (wiesinger.com [84.113.44.87]) by vps01.wiesinger.com (Postfix) with ESMTPS id 7C96C9F25E; Sun, 27 May 2018 21:18:37 +0200 (CEST) Received: from [192.168.0.14] ([192.168.0.14]) (authenticated bits=0) by wiesinger.com (8.15.2/8.15.2) with ESMTPSA id w4RJIYUp019093 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 27 May 2018 21:18:35 +0200 DKIM-Filter: OpenDKIM Filter v2.11.0 wiesinger.com w4RJIYUp019093 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiesinger.com; s=default; t=1527448715; bh=frUz4HEb2D/Uhzg9+JndIHOc7qiv6cB4bczpPF9Zsbg=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=x9y/kIMyKcdoQzgDYkOE4jyOHAkuRs2hViwleR19d0W3lYUqKXHf4AF85IiTxo+vU 9J5kzL0DvIBZrfdHKDhn4Rr3j0FiROEIOwR9ozJXjQidD0HV0fY0bVylommfZTEMh4 dW7SHonHHP3jKpG3+qBFWTLKbjXWPZ/4ygJX0qUThtiAUo8bpHXzKXdEVivN5laKr7 xY8TrwRt4NQ/NprSku03OVZZfjA9X2KRY+myrYm/xsFueJzAbUlKTqt96XILjsyu6S QF1IDGuHOOPYUvCThkPg+gWolGgOw8XEQgeZG220R6HFOvBjyyQ8EHDfPmiDfAv6Bv pM2IAZFccJFi8fldeSsk94nghT31F/LHt3mJEbOR504m34ifdweMDwL6CAw+lAulTk mOZySP3QHmM3uk9kq2bduPndHtrNjyc9FvaR+KbWwPzcyV5kN/rt0BGoEf0YP8Tu+0 pRlT7rUUtai649x72XWrON7BgcgsUiVYw6qJXwYk9O7EdBYbK4S0xqul63uf+W3aEQ LpBv+8LFLvQeW2JLzMdh+anCUcYuDZLiVG6Eb+jLNdxRipBuN5jkK2z4bz6RBlki7h 8v+5vfBTh6PlvFkW9LkkNhE8a/o0jOLBmbpY1n8k+Ppp3hss8H6VW1Bc8ClCxebNVc AqgONIfWnfZCcyZO2y0hE6Us= Subject: Re: B53 DSA switch problem on Banana Pi-R1 on Fedora 26 - systemd-networkd problem From: Gerhard Wiesinger To: Florian Fainelli , Andrew Lunn , initramfs@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <3bdb712d-38bd-e2ca-63cf-8406a7b5689d@wiesinger.com> <20180522201632.GB4396@lunn.ch> <59d6b55f-d50a-063c-90a9-31a758e01383@gmail.com> <76c3f5ec-0ab2-c06d-98e8-277284bb1a8e@gmail.com> <779f2be3-3e74-e650-5240-efaf1003d77c@wiesinger.com> <4f7c5173-019d-ba0e-70b3-addf64a6a9fa@gmail.com> <53c9272a-0e1a-e8fb-a3e4-b4e23e77be10@gmail.com> <18ca17a1-4673-2ace-7142-d4aef6854bc4@wiesinger.com> <219eaac0-3d76-005a-f8d6-c54ea21f205e@wiesinger.com> Message-ID: <485b3a0e-23d6-c90c-6f41-8d9f33b1ad1f@wiesinger.com> Date: Sun, 27 May 2018 21:18:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <219eaac0-3d76-005a-f8d6-c54ea21f205e@wiesinger.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27.05.2018 21:01, Gerhard Wiesinger wrote: > On 24.05.2018 08:22, Gerhard Wiesinger wrote: >> On 24.05.2018 07:29, Gerhard Wiesinger wrote: >>> After some analysis with Florian (thnx) we found out that the >>> current implementation is broken: >>> >>> https://patchwork.ozlabs.org/patch/836538/ >>> https://github.com/torvalds/linux/commit/c499696e7901bda18385ac723b7bd27c3a4af624#diff-a2b6f8d89e18de600e873ac3ac43fa1d >>> >>> >>> Florians comment: >>> >>> c499696e7901bda18385ac723b7bd27c3a4af624 ("net: dsa: b53: Stop using >>> dev->cpu_port incorrectly") since it would result in no longer setting >>> the CPU port as tagged for a specific VLAN. Easiest way for you right >>> now is to just revert it, but this needs some more thoughts for a >>> proper >>> upstream change. I will think about it some more. >> >> Can confirm 4.14.18-200.fc26.armv7hl works, 4.15.x should be broken. >> >> # Kernel 4.14.x ok >> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/log/drivers/net/dsa/b53?h=v4.14.43 >> >> # Kernel 4.15.x should be NOT ok >> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/log/drivers/net/dsa/b53?h=v4.15.18 >> > > Forgot to mention: What's also strange is that the VLAN ID is very high: # 4.14.18-300.fc27.armv7hl, iproute-4.15.0-1.fc28.armv7hl ip -d link show eth0.101 | grep "vlan protocol"     vlan protocol 802.1Q id 3069279796 ip -d link show eth0.102 | grep "vlan protocol"     vlan protocol 802.1Q id 3068673588 On older kernels this looks ok: 4.12.8-200.fc25.armv7hl, iproute-4.11.0-1.fc25.armv7hl:  ip -d link show eth0.101 | grep "vlan protocol"     vlan protocol 802.1Q id 101 ip -d link show eth0.102 | grep "vlan protocol"     vlan protocol 802.1Q id 102 Ideas? Thank you. Ciao, Gerhard