Re: [PATCH net-next 3/4] net: dsa: change dsa_ptr for a dsa_master

2017-09-02 Thread Andrew Lunn
Hi Vivien > diff --git a/include/net/dsa.h b/include/net/dsa.h > index f4a5afc4255b..d5b24cd10f79 100644 > --- a/include/net/dsa.h > +++ b/include/net/dsa.h > @@ -130,11 +130,6 @@ struct dsa_switch_tree { >*/ > struct dsa_platform_data*pd; > > - /* Copy of tag_ops->rcv

[PATCH net-next 3/4] net: dsa: change dsa_ptr for a dsa_master

2017-08-31 Thread Vivien Didelot
The dsa_ptr of a net_device currently points to a dsa_switch_tree. This is not correct because the interface is physically linked to a switch port, and because several network interface could point to several (so called "CPU") ports of the same DSA switch tree. Because the tagging operations are