lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 5 Sep 2020 03:03:46 +0000
From:   "Brown, Aaron F" <aaron.f.brown@...el.com>
To:     Björn Töpel <bjorn.topel@...il.com>,
        "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
        "Topel, Bjorn" <bjorn.topel@...el.com>,
        "Karlsson, Magnus" <magnus.karlsson@...el.com>,
        "kuba@...nel.org" <kuba@...nel.org>
Subject: RE: [Intel-wired-lan] [PATCH net-next v2 3/3] i40e, xsk: move buffer
 allocation out of the Rx processing loop

> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Björn Töpel
> Sent: Tuesday, August 25, 2020 4:36 AM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: netdev@...r.kernel.org; bpf@...r.kernel.org; Topel, Bjorn
> <bjorn.topel@...el.com>; Karlsson, Magnus <magnus.karlsson@...el.com>;
> kuba@...nel.org
> Subject: [Intel-wired-lan] [PATCH net-next v2 3/3] i40e, xsk: move buffer
> allocation out of the Rx processing loop
> 
> From: Björn Töpel <bjorn.topel@...el.com>
> 
> Instead of checking in each iteration of the Rx packet processing
> loop, move the allocation out of the loop and do it once for each napi
> activation.
> 
> For AF_XDP the rx_drop benchmark was improved by 6%.
> 
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_xsk.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)
> 
Tested-by: Aaron Brown <aaron.f.brown@...el.com>

Powered by blists - more mailing lists