Re: [PATCH V4 6/8] i40e: queue-specific settings for interrupt moderation

2016-02-14 Thread Ben Hutchings
On Mon, 2016-02-08 at 02:45 -0500, Kan Liang wrote: [...] > --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c > @@ -1849,23 +1849,37 @@ static int i40e_set_phys_id(struct net_device *netdev, >   * 125us (8000 interrupts per second) == ITR(62

[PATCH V4 6/8] i40e: queue-specific settings for interrupt moderation

2016-02-08 Thread Kan Liang
From: Kan Liang For i40e driver, each vector has its own ITR register. However, there are no concept of queue-specific settings in the driver proper. Only global variable is used to store ITR values. That will cause problems especially when resetting the vector. The specific ITR values could be l