[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220622173516.2c38e035@kernel.org>
Date: Wed, 22 Jun 2022 17:35:16 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ciara Loftus <ciara.loftus@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, anthony.l.nguyen@...el.com,
netdev@...r.kernel.org, bpf@...r.kernel.org,
magnus.karlsson@...el.com, maciej.fijalkowski@...el.com
Subject: Re: [PATCH net-next] i40e: xsk: read the XDP program once per NAPI
On Wed, 22 Jun 2022 09:14:47 +0000 Ciara Loftus wrote:
> Similar to how it's done in the ice driver since 'eb087cd82864 ("ice:
> propagate xdp_ring onto rx_ring")', read the XDP program once per NAPI
> instead of once per descriptor cleaned. I measured an improvement in
> throughput of 2% for the AF_XDP xdpsock l2fwd benchmark in busy polling
> mode on my platform.
drivers/net/ethernet/intel/i40e/i40e_xsk.c:151: warning: Function parameter or member 'xdp_prog' not described in 'i40e_run_xdp_zc'
Powered by blists - more mailing lists