Re: [patch net-next v7 1/3] netdevice: Add offload statistics ndo

2016-09-06 Thread Jiri Pirko
Tue, Sep 06, 2016 at 05:08:25PM CEST, ro...@cumulusnetworks.com wrote: >On 9/5/16, 10:18 AM, Jiri Pirko wrote: >> From: Nogah Frankel >> >> Add a new ndo to return statistics for offloaded operation. >> Since there can be many different offloaded operation with many >> stats

Re: [patch net-next v7 1/3] netdevice: Add offload statistics ndo

2016-09-06 Thread Roopa Prabhu
On 9/5/16, 10:18 AM, Jiri Pirko wrote: > From: Nogah Frankel > > Add a new ndo to return statistics for offloaded operation. > Since there can be many different offloaded operation with many > stats types, the ndo gets an attribute id by which it knows which > stats are

[patch net-next v7 1/3] netdevice: Add offload statistics ndo

2016-09-05 Thread Jiri Pirko
From: Nogah Frankel Add a new ndo to return statistics for offloaded operation. Since there can be many different offloaded operation with many stats types, the ndo gets an attribute id by which it knows which stats are wanted. The ndo also gets a void pointer to be cast