Thread (35 messages) 35 messages, 9 authors, 2017-09-07

Re: [PATCH v2 rfc 8/8] net: dsa: Fix SWITCHDEV_ATTR_ID_PORT_PARENT_ID

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-09-06 16:09:09

On September 6, 2017 8:08:25 AM PDT, Andrew Lunn [off-list ref] wrote:
quoted
quoted
Use the MAC address of the master interface as the parent ID. This
is
quoted
quoted
the same for all switches in a cluster, and should be unique if
there
quoted
quoted
are multiple clusters.
That is not correct. Support for multiple CPU ports is coming and in
this case, you can have two CPU host interfaces wired to two switch
ports of the same tree. So two different master MAC addresses.
Yes, you are correct. I will change this.
A switch cluster should be tied to the same dsa_switch_tree though, can we use dst->tree as an unique identifier?

-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help