On Mon, Jun 19, 2017 at 09:05:25AM +0200, Richard Cochran wrote: > On Mon, Jun 19, 2017 at 02:56:00PM +0800, Hangbin Liu wrote: > > Then how do we know the slave changed. Cause via netlink rta > > IFLA_BOND_ACTIVE_SLAVE, we only know the current active slave. If we do not > > store previous slave name/index some where and compare with current value. > > How do we know the slave changed and phc index need update? > > Didn't you say that there is a rtnl notification for that?
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. 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 [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
