i40e/i40evf: set proper default for ITR registers
Ethtool consistently reports 0 values for our ITR settings because we never actually set them. Fix this by setting the default values to the specified default values. Change-ID: I2832406a66f7140f2b1230945d6ff6cbf77467c8 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
f0c53c7632
commit
ca99eb997a
@@ -6368,6 +6368,10 @@ static int i40e_sw_init(struct i40e_pf *pf)
|
||||
I40E_FLAG_MSIX_ENABLED |
|
||||
I40E_FLAG_RX_1BUF_ENABLED;
|
||||
|
||||
/* Set default ITR */
|
||||
pf->rx_itr_default = I40E_ITR_DYNAMIC | I40E_ITR_RX_DEF;
|
||||
pf->tx_itr_default = I40E_ITR_DYNAMIC | I40E_ITR_TX_DEF;
|
||||
|
||||
/* Depending on PF configurations, it is possible that the RSS
|
||||
* maximum might end up larger than the available queues
|
||||
*/
|
||||
|
Reference in New Issue
Block a user