Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1195605rwl; Wed, 12 Apr 2023 09:25:36 -0700 (PDT) X-Google-Smtp-Source: AKy350YhL0mBklqqhdj7ArVclYNbr6gU/p34/eKRHS3MlQvMArO8Fq0Dil8qik5UcOP3RiDBRb8e X-Received: by 2002:a17:907:2042:b0:92c:5f1:8288 with SMTP id pg2-20020a170907204200b0092c05f18288mr8248657ejb.13.1681316736207; Wed, 12 Apr 2023 09:25:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681316736; cv=pass; d=google.com; s=arc-20160816; b=jslQlZwSx/qDWJukc6jlOk/qECfpREx8HEjyz+CcwO+cJiLeElREO/ja6eYKKXc1bu S1d8wEmb622m40rSOl1Wr7p9R+Z86mbRpnasoGBxUydXc/Xr50eizVJYRDcyYqcIH5ZK AgpHa++Fe8P3fLUNR5scscr4iUnjIVCkxDsznCx4G3tHoP+5vo0tK1p0eieK80vQ5ue5 iTzYuWDhoCCBI5frt/TatC75YduZ2XWua7FpX+W1/KhwiwYSwBwwJpxEhTwotrUhMHcs VMxshI1OgoEKBggHx9YBN8+fg9RGo/V/WbxKqu2kv/IZd1/RHjVTW/JqOI/pa04s2AY3 bx6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Wck8HD9Sy7CyXZlzDWG6BVFUCDUQ5CegNpVgjUnegBA=; b=AkUZdyYwMIoKouG56+oy6j9wrJVSXcc5JGU8N18DklnVRJ9rSmQ9DigaaTV0j/1MgV Z2ajHNEIcGotJxqRH1BebHLU9szHgKtpaF50HNBuTBTaK7om92NvHGBUc0LjwMTsC0G4 z2s03KlvWnKKKaV3q6VUVuwIhkCsVJwY5JcwX9i4ijKZj5D+3jhygXa5+T4DOuJa1Mai Zy3Fq31mVMuPWOfEH6t336DWUCOKp27ak/R4PNpib+vIRqKm9cPPqOjeYr+oZahP5cbG jFBSUNg01oFmb2z+XZAr52nN7Zj0+7F1F7ZF+cS8hjve4UfK6Va3tlZQS1QaQsbtiYa5 k5MQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b="VSksN/Af"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); 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 s19-20020a170906169300b0094a56c588a8si8538059ejd.478.2023.04.12.09.25.11; Wed, 12 Apr 2023 09:25:36 -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=@arinc9.com header.s=zmail header.b="VSksN/Af"; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); 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 S230360AbjDLQW2 (ORCPT + 99 others); Wed, 12 Apr 2023 12:22:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbjDLQWR (ORCPT ); Wed, 12 Apr 2023 12:22:17 -0400 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 705879750; Wed, 12 Apr 2023 09:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681316492; cv=none; d=zohomail.com; s=zohoarc; b=lrbSRml3xVu0YeeBamAqD09a/m5UTQLSsXzER7u7K4SaeM3heOPY7Veu6/qko6cwpGwMjJgv6FPU9u1sw6yR8eDQy88FH98XvPo7Bpc8lYq8O5J6xktwL4F3Dt2+81zCNr7RhCF1BJySlFB3qCOcr9e6HyeBSBN3dQ2cephkKRw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681316492; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Wck8HD9Sy7CyXZlzDWG6BVFUCDUQ5CegNpVgjUnegBA=; b=A7FhriqgVbJ6YkT8TGv6j+bvqylRtd7BfLxT33vrDKsG11p/1rFScF4htD+zkKYv1G+YjItcSxwT5Yk2fF1CwUQ23O5p4wr1QHDwOzo0ncC45+qGwwu1iKkGBOjBZqooHjDvS9mVnXyQEf6FDYkzcKtHyAq/WM3clX/ZfQEH51U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1681316492; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Wck8HD9Sy7CyXZlzDWG6BVFUCDUQ5CegNpVgjUnegBA=; b=VSksN/AfyX0vDyTc3pYj+2E1ai9FLegAyFo02Mcg99BUSsencqudW+TEawdXpwjh amkhYXYB+CvrLRWxBDtzCDAhgZuh9oojZvGAsXxbs55k+OosOdzNMVAzGp3yOberJ3c b1Mg8Q8EPh+soXfhkzrfWhKnF0Kp3ylXQb/QZXxg= Received: from [10.10.9.4] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 1681316491413307.82113764393307; Wed, 12 Apr 2023 09:21:31 -0700 (PDT) Message-ID: <0d242292-16b7-6837-7d1a-b70c41309e6b@arinc9.com> Date: Wed, 12 Apr 2023 19:21:25 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Aw: Re: Re: Re: Re: [PATCH v3 0/5] arm: dts: mt7623: relocate gmacs, mt7530 switch, and add port@5 To: Frank Wunderlich Cc: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, erkin.bozoglu@xeront.com References: <20230210182505.24597-1-arinc.unal@arinc9.com> <27a26da8-8297-5327-7493-54d8359b6970@arinc9.com> <2dc2fc39-b0d5-c872-36bf-fde851debe4b@arinc9.com> <703ad8a8-f84e-6404-4cce-5386bfaa2bd7@arinc9.com> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 12.04.2023 18:11, Frank Wunderlich wrote: > Hi > >> Gesendet: Mittwoch, 12. April 2023 um 16:31 Uhr >> Von: "Arınç ÜNAL" >>> looks good so far, but i have not managed how to change dsa master from the preferred port (eth0) to the second one... >>> any idea how the correct syntax is for iproute2? >> >> https://www.kernel.org/doc/html/latest/networking/dsa/configuration.html#affinity-of-user-ports-to-cpu-ports >> >> In short: ip link set lan0 type dsa conduit eth1 > > thanks, it changes the master when i upgrade iproute to 6.1 (from debian bullseye-backports), but i cannot do any traffic on it after switching to gmac1... > > 5: wan@eth1: mtu 1500 qdisc noqueue state UP group default qlen 1000 > link/ether f2:d2:51:56:cd:3d brd ff:ff:ff:ff:ff:ff > inet 192.168.0.11/24 scope global wan > valid_lft forever preferred_lft forever > > see no p5-TX/gmac-rx > > root@bpi-r2:~# ethtool -S eth1 > NIC statistics: > tx_bytes: 5156 > tx_packets: 61 > tx_skip: 0 > tx_collisions: 0 > rx_bytes: 0 > rx_packets: 0 > rx_overflow: 0 > rx_fcs_errors: 0 > rx_short_errors: 0 > rx_long_errors: 0 > rx_checksum_errors: 0 > rx_flow_control_packets: 0 > rx_xdp_redirect: 0 > rx_xdp_pass: 0 > rx_xdp_drop: 0 > rx_xdp_tx: 0 > rx_xdp_tx_errors: 0 > tx_xdp_xmit: 0 > tx_xdp_xmit_errors: 0 > p05_TxDrop: 0 > p05_TxCrcErr: 0 > p05_TxUnicast: 0 > p05_TxMulticast: 0 > p05_TxBroadcast: 0 > p05_TxCollision: 0 > p05_TxSingleCollision: 0 > p05_TxMultipleCollision: 0 > p05_TxDeferred: 0 > p05_TxLateCollision: 0 > p05_TxExcessiveCollistion: 0 > p05_TxPause: 0 > p05_TxPktSz64: 0 > p05_TxPktSz65To127: 0 > p05_TxPktSz128To255: 0 > p05_TxPktSz256To511: 0 > p05_TxPktSz512To1023: 0 > p05_Tx1024ToMax: 0 > p05_TxBytes: 0 > p05_RxDrop: 0 > p05_RxFiltering: 16 > p05_RxUnicast: 11 > p05_RxMulticast: 38 > p05_RxBroadcast: 12 > p05_RxAlignErr: 0 > p05_RxCrcErr: 0 > p05_RxUnderSizeErr: 0 > p05_RxFragErr: 0 > p05_RxOverSzErr: 0 > p05_RxJabberErr: 0 > p05_RxPause: 0 > p05_RxPktSz64: 17 > p05_RxPktSz65To127: 44 > p05_RxPktSz128To255: 0 > p05_RxPktSz256To511: 0 > p05_RxPktSz512To1023: 0 > p05_RxPktSz1024ToMax: 0 > p05_RxBytes: 5156 > p05_RxCtrlDrop: 0 > p05_RxIngressDrop: 0 > p05_RxArlDrop: 0 > > maybe i miss something? > > i'm not sure it is a problem with richards Patch or p5/gmac1 Did you apply the vlan and flooding fix patches from Richard? Arınç