lightweight netdevs Jan 2018 edition [Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions]

2018-01-22 Thread David Ahern
On 1/22/18 1:46 PM, Florian Fainelli wrote: >> >> Like David Ahern I am strongly against the proliferation of sysfs files >> attached to network devices and the per-netdevice costs associated with >> that. >> >> However, dealing with that is a longer term issue that nobody has a clear >> plan for.

lightweight netdevs Jan 2018 edition [Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions]

2018-01-22 Thread David Ahern
On 1/22/18 1:46 PM, Florian Fainelli wrote: >> >> Like David Ahern I am strongly against the proliferation of sysfs files >> attached to network devices and the per-netdevice costs associated with >> that. >> >> However, dealing with that is a longer term issue that nobody has a clear >> plan for.

Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-22 Thread Florian Fainelli
On 01/22/2018 12:43 PM, David Miller wrote: > From: Florian Fainelli > Date: Thu, 18 Jan 2018 09:59:13 -0800 > >> From: David Decotigny >> >> Expose the number of times the link has been going UP or DOWN, and >> update the "carrier_changes" counter to

Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-22 Thread Florian Fainelli
On 01/22/2018 12:43 PM, David Miller wrote: > From: Florian Fainelli > Date: Thu, 18 Jan 2018 09:59:13 -0800 > >> From: David Decotigny >> >> Expose the number of times the link has been going UP or DOWN, and >> update the "carrier_changes" counter to be the sum of these two events. >> While at

Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-22 Thread David Miller
From: Florian Fainelli Date: Thu, 18 Jan 2018 09:59:13 -0800 > From: David Decotigny > > Expose the number of times the link has been going UP or DOWN, and > update the "carrier_changes" counter to be the sum of these two events. > While at it, also

Re: [PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-22 Thread David Miller
From: Florian Fainelli Date: Thu, 18 Jan 2018 09:59:13 -0800 > From: David Decotigny > > Expose the number of times the link has been going UP or DOWN, and > update the "carrier_changes" counter to be the sum of these two events. > While at it, also update the sysfs-class-net documentation to

[PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-18 Thread Florian Fainelli
From: David Decotigny Expose the number of times the link has been going UP or DOWN, and update the "carrier_changes" counter to be the sum of these two events. While at it, also update the sysfs-class-net documentation to cover: carrier_changes (3.15), carrier_up_count

[PATCH net-next v2] net: core: Expose number of link up/down transitions

2018-01-18 Thread Florian Fainelli
From: David Decotigny Expose the number of times the link has been going UP or DOWN, and update the "carrier_changes" counter to be the sum of these two events. While at it, also update the sysfs-class-net documentation to cover: carrier_changes (3.15), carrier_up_count (4.16) and