[Intel-wired-lan] [PATCH net-next v2 1/3] i40e, xsk: remove HW descriptor prefetch in AF_XDP path

Brown, Aaron F aaron.f.brown at intel.com
Sat Sep 5 02:58:18 UTC 2020


> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Björn Töpel
> Sent: Tuesday, August 25, 2020 4:36 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; bpf at vger.kernel.org; Topel, Bjorn
> <bjorn.topel at intel.com>; Karlsson, Magnus <magnus.karlsson at intel.com>;
> kuba at kernel.org
> Subject: [Intel-wired-lan] [PATCH net-next v2 1/3] i40e, xsk: remove HW
> descriptor prefetch in AF_XDP path
> 
> From: Björn Töpel <bjorn.topel at intel.com>
> 
> The software prefetching of HW descriptors has a negative impact on
> the performance. Therefore, it is now removed.
> 
> Performance for the rx_drop benchmark increased with 2%.
> 
> Signed-off-by: Björn Töpel <bjorn.topel at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c        | 13 +++++++++++++
>  drivers/net/ethernet/intel/i40e/i40e_txrx_common.h | 13 -------------
>  drivers/net/ethernet/intel/i40e/i40e_xsk.c         | 12 ++++++++++++
>  3 files changed, 25 insertions(+), 13 deletions(-)
> 
Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list