Re: [Linuxptp-devel] [PATCHv2 4/9] rtnl: add function rtnl_link_info
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2017-08-10 13:31:42
|
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 |