Thread (21 messages) flat view 21 messages, 2 authors, 2017-09-29

Re: [PATCH net-next 7/8] net: dsa: change dsa_ptr for a dsa_port

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-09-29 19:20:35
Also in: lkml

On 09/29/2017 11:36 AM, Vivien Didelot wrote:
With DSA, a master net device (CPU facing interface) has a dsa_ptr
pointer to which hangs a dsa_switch_tree. This is not correct because a
master interface is wired to a dedicated switch port, and because we can
theoretically have several master interfaces pointing to several CPU
ports of the same switch fabric.

Change the master interface's dsa_ptr for the CPU dsa_port pointer.
This is a step towards supporting multiple CPU ports. Also remove
dsa_get_cpu_port which is now unneeded.

Signed-off-by: Vivien Didelot <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
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