[Intel-wired-lan] [PATCH net-next 0/3] i40e, ice, ixgbe: optimize for XDP_REDIRECT in xsk path

Nguyen, Anthony L anthony.l.nguyen at intel.com
Thu Dec 3 17:21:17 UTC 2020


On Thu, 2020-12-03 at 07:58 +0100, Magnus Karlsson wrote:
> On Wed, Dec 2, 2020 at 9:49 PM Maciej Fijalkowski
> <maciej.fijalkowski at intel.com> wrote:
> > 
> > On Wed, Dec 02, 2020 at 04:07:21PM +0100, Magnus Karlsson wrote:
> > > Optimize 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 around 100k extra packets in throughput on
> > > my
> > > server when running l2fwd in xdpsock.
> > > 
> > > Thanks: Magnus
> > 
> > For series:
> > Acked-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> > 
> > You only ate 'e' from i40e subject line.
> 
> Sorry, you are right. Tony, would you please be so kind to add this
> missing "e" in the commit message before you send the pull request?
> 
> Thanks: Magnus

I can do that.

Thanks,
Tony

> > > 
> > > Magnus Karlsson (3):
> > >   i40: optimize for XDP_REDIRECT in xsk path
> > >   ixgbe: optimize for XDP_REDIRECT in xsk path
> > >   ice: optimize for XDP_REDIRECT in xsk path
> > > 
> > >  drivers/net/ethernet/intel/i40e/i40e_xsk.c   | 11 +++++++----
> > >  drivers/net/ethernet/intel/ice/ice_xsk.c     | 12 ++++++++----
> > >  drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 11 +++++++----
> > >  3 files changed, 22 insertions(+), 12 deletions(-)
> > > 
> > > 
> > > base-commit: 6b4f503186b73e3da24c6716c8c7ea903e6b74d4
> > > --
> > > 2.29.0


More information about the Intel-wired-lan mailing list