Re: [patch net-next v3 2/4] rtnetlink: add HW/SW stats distinction in rtnl_fill_stats

2016-05-13 Thread Eric Dumazet
On Fri, 2016-05-13 at 16:54 +0200, Jiri Pirko wrote: > From: Nogah Frankel > > Since hardware stats are now returned by default, add a way to > query only software stats. > They are saved in IFLA_SW_STATS64. > (This option is valid only if the driver return HW stats in the > default ndo stats) >

[patch net-next v3 2/4] rtnetlink: add HW/SW stats distinction in rtnl_fill_stats

2016-05-13 Thread Jiri Pirko
From: Nogah Frankel Since hardware stats are now returned by default, add a way to query only software stats. They are saved in IFLA_SW_STATS64. (This option is valid only if the driver return HW stats in the default ndo stats) Signed-off-by: Nogah Frankel Signed-off-by: Jiri Pirko --- v2->v3: