[Intel-wired-lan] [PATCH S22 04/16] ice: Always set prefena when configuring an Rx queue

Bowers, AndrewX andrewx.bowers at intel.com
Tue Jul 2 22:49:49 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, June 26, 2019 2:20 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Creeley, Brett <brett.creeley at intel.com>
> Subject: [Intel-wired-lan] [PATCH S22 04/16] ice: Always set prefena when
> configuring an Rx queue
> 
> From: Brett Creeley <brett.creeley at intel.com>
> 
> Currently we are always setting prefena to 0. This is causing the hardware to
> only fetch descriptors when there are none free in the cache for a received
> packet instead of prefetching when it has used the last descriptor regardless
> of incoming packets. Fix this by allowing the hardware to prefetch Rx
> descriptors.
> 
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c    | 9 ++++++++-
>  drivers/net/ethernet/intel/ice/ice_lan_tx_rx.h | 1 +
>  2 files changed, 9 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list