Re: [RFC PATCH net] net/core: don't increment rx_dropped on inactive slaves

From: Jarod Wilson
Date: Tue Jan 26 2016 - 16:37:01 EST


On Tue, Jan 26, 2016 at 01:21:00PM -0800, David Miller wrote:
> From: Jarod Wilson <jarod@xxxxxxxxxx>
> Date: Tue, 26 Jan 2016 16:14:53 -0500
>
> > # ethtool -S bond0
> > no stats available
>
> ethtool -S is for device specific stats.

Okay, good, that was what it looked like to me. Glad I'm not completely
lost here. :)

So this sort of output wouldn't belong there, it should show up in sysfs,
procfs, and be available to ip over netlink.

> Some drivers use this facility to provide per-RX-queue and per-TX-queue
> versions of the existing core netdev stats.

--
Jarod Wilson
jarod@xxxxxxxxxx