RE: [RFC 5/5] i40e/ethtool: support coalesce setting by queue

2015-12-21 Thread Nelson, Shannon
> From: Liang, Kan > Sent: Friday, December 18, 2015 1:06 PM > > Hi sln, > > Thanks for the comments. I will fix it in V2. > > Could you please check if the following code can find and set/get vector > correctly? > > Get rx_usecs and tx_usecs per queue > > + if (queue > 0) { > +

RE: [RFC 5/5] i40e/ethtool: support coalesce setting by queue

2015-12-18 Thread Liang, Kan
> > diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > > b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > > index b41f0be..5a35fdb 100644 > > --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > > +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > > @@ -1901,14 +1901,29 @@

[RFC 5/5] i40e/ethtool: support coalesce setting by queue

2015-12-17 Thread kan . liang
From: Kan Liang This patch implements set_per_queue_coalesce for i40e driver. For i40e driver, only rx and tx usecs has per queue value. Changing these two parameters only impact the specific queue. For other interrupt coalescing parameters, they are shared among queues. The

RE: [RFC 5/5] i40e/ethtool: support coalesce setting by queue

2015-12-17 Thread Nelson, Shannon
> From: Kan Liang > > This patch implements set_per_queue_coalesce for i40e driver. > For i40e driver, only rx and tx usecs has per queue value. Changing > these two parameters only impact the specific queue. For other interrupt > coalescing parameters, they are shared among