[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220901131424.ovcsvffyjk7c5jqf@skbuf>
Date: Thu, 1 Sep 2022 16:14:24 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: Mattias Forsblad <mattias.forsblad@...il.com>
Cc: netdev@...r.kernel.org, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next v2 2/3] dsa: mv88e6xxx: Add support for RMU in
select switches
On Thu, Sep 01, 2022 at 11:05:37AM +0200, Mattias Forsblad wrote:
> Would this work on a system where there are multiple switches? I.e.
>
> SOC <->port6 SC#1 <->port10 SC#2
>
> Both have the same master interface (chan0) which gives the same
> cpu_dp->dsa_ptr->index but they have different upstream ports that should
> be enabled for RMU.
I think the answer to that is dsa_towards_port(ds, cpu_dp->ds->index, cpu_dp->index);
Powered by blists - more mailing lists