[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN6PR11MB30083E9D31D4C018C4283DDAE2B29@SN6PR11MB3008.namprd11.prod.outlook.com>
Date: Fri, 5 Feb 2021 16:08:31 +0000
From: "Kuruvinakunnel, George" <george.kuruvinakunnel@...el.com>
To: Magnus Karlsson <magnus.karlsson@...il.com>,
"Karlsson, Magnus" <magnus.karlsson@...el.com>,
"Topel, Bjorn" <bjorn.topel@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"Nguyen, Anthony L" <anthony.l.nguyen@...el.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"maciejromanfijalkowski@...il.com" <maciejromanfijalkowski@...il.com>
Subject: RE: [Intel-wired-lan] [PATCH net-next 1/3] i40: optimize for
XDP_REDIRECT in xsk path
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Magnus
> Karlsson
> Sent: Wednesday, December 2, 2020 8:37 PM
> To: Karlsson, Magnus <magnus.karlsson@...el.com>; Topel, Bjorn
> <bjorn.topel@...el.com>; intel-wired-lan@...ts.osuosl.org; Nguyen, Anthony L
> <anthony.l.nguyen@...el.com>
> Cc: netdev@...r.kernel.org; maciejromanfijalkowski@...il.com
> Subject: [Intel-wired-lan] [PATCH net-next 1/3] i40: optimize for XDP_REDIRECT
> in xsk path
>
> From: Magnus Karlsson <magnus.karlsson@...el.com>
>
> Optimize i40e_run_xdp_zc() for the XDP program verdict being XDP_REDIRECT
> in the zsk zero-copy path. This path is only used when having AF_XDP zero-copy
> on and in that case most packets will be directed to user space. This provides a
> little over 100k extra packets in throughput on my server when running l2fwd in
> xdpsock.
>
> Signed-off-by: Magnus Karlsson <magnus.karlsson@...el.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_xsk.c | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@...el.com>
Powered by blists - more mailing lists