RE: [RFC V3 PATCH 03/26] net/netpolicy: get device queue irq information

2016-09-13 Thread Liang, Kan
> On Tue, Sep 13, 2016 at 5:23 AM, Liang, Kan wrote: > >> > >> Hello. > >> > >> On 09/12/2016 05:55 PM, kan.li...@intel.com wrote: > >> > >> > From: Kan Liang > >> > > >> > Net policy needs to know device information. Currently, it's enough > >> > to only get irq information of rx and tx queues

Re: [RFC V3 PATCH 03/26] net/netpolicy: get device queue irq information

2016-09-13 Thread Alexander Duyck
On Tue, Sep 13, 2016 at 5:23 AM, Liang, Kan wrote: >> >> Hello. >> >> On 09/12/2016 05:55 PM, kan.li...@intel.com wrote: >> >> > From: Kan Liang >> > >> > Net policy needs to know device information. Currently, it's enough to >> > only get irq information of rx and tx queues. >> > >> > This patch

RE: [RFC V3 PATCH 03/26] net/netpolicy: get device queue irq information

2016-09-13 Thread Liang, Kan
> > Hello. > > On 09/12/2016 05:55 PM, kan.li...@intel.com wrote: > > > From: Kan Liang > > > > Net policy needs to know device information. Currently, it's enough to > > only get irq information of rx and tx queues. > > > > This patch introduces ndo ops to do so, not ethtool ops. > > Because t

Re: [RFC V3 PATCH 03/26] net/netpolicy: get device queue irq information

2016-09-12 Thread Sergei Shtylyov
Hello. On 09/12/2016 05:55 PM, kan.li...@intel.com wrote: From: Kan Liang Net policy needs to know device information. Currently, it's enough to only get irq information of rx and tx queues. This patch introduces ndo ops to do so, not ethtool ops. Because there are already several ways to ge

[RFC V3 PATCH 03/26] net/netpolicy: get device queue irq information

2016-09-12 Thread kan . liang
From: Kan Liang Net policy needs to know device information. Currently, it's enough to only get irq information of rx and tx queues. This patch introduces ndo ops to do so, not ethtool ops. Because there are already several ways to get irq information in userspace. It's not necessory to extend t