On Thu, Aug 10, 2017 at 06:31:56PM +0800, Hangbin Liu wrote:
> Would it be better to pass a device name? If we pass the index number. Then we
> need to convert both iface->name and port->name to index in rtnl_link_info()
> and port_event().
> 
> And if pass a device name. We can convert the name to index in
> rtnl_link_status() unified.

Yes, use the name string if that simplifies the code.

Thanks,
Richard

------------------------------------------------------------------------------
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