diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2014-03-06 13:02:27 +0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-04-22 07:35:42 +0400 |
commit | 0b3aec852b40d47315956487a902cfb513d8c482 (patch) | |
tree | 1ecaa4d8c114bea85cc0e2f98741b63638862600 /drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h | |
parent | 4ba0dea5b1736978d9a19138fd976852f757580e (diff) | |
download | linux-0b3aec852b40d47315956487a902cfb513d8c482.tar.xz |
i40e/i40evf: unhide and enable to one prefena field
The PREFENA field in the receive host memory cache (RX-HMC)
must be visible in order to be set to 1 at driver init for
best performance.
Change-ID: I16b0bcd84cf56f4b6c938201ff5e954bee5a1992
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h b/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h index 341de925a298..eb65fe23c4a7 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h +++ b/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h @@ -56,6 +56,7 @@ struct i40e_hmc_obj_rxq { u8 tphdata_ena; u8 tphhead_ena; u8 lrxqthresh; + u8 prefena; /* NOTE: normally must be set to 1 at init */ }; /* Tx queue context data */ |