On Mon, Jun 19, 2017 at 10:05:15AM +0200, Richard Cochran wrote:
> On Mon, Jun 19, 2017 at 03:35:16PM +0800, Hangbin Liu wrote:
> > But other device actions will also trigger a rtnl notification, i.e. mtu 
> > change.
> > So we need to make sure the slave actually changed before reset clock/port.
> 
> Fair enough, but that requires only one additional variable per port.

Yeah... we need at least one variable to store slave name. We can get master
or slave's index by if_nametoindex. It was just for conventent usage that I
add the index variable. I will re-modify my patch set.

Thanks
Hangbin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to