Subject: Re: [PATCH v2 bpf-next] xsk: use __xsk_rcv_zc_safe for ZC multi-buffer Rx processing

From: Jakub Kicinski <[email-masked]>
Date: Tue, 17 Mar 2026 15:20:45 -0700

On Tue, 17 Mar 2026 08:09:08 -0700 Alexei Starovoitov wrote:
> On Mon, Mar 16, 2026 at 5:12 PM Jakub Kicinski <[email-masked]> wrote:
> > On Mon, 16 Mar 2026 15:05:57 +0100 Maciej Fijalkowski wrote:  
> > > Commit f620af11c27b ("xsk: avoid double checking against rx queue being
> > > full") addressed a case in copy mode, when working with multi-buffer
> > > xdp_buff, where we were peeking onto XSK Rx queue twice, to find out if
> > > there is a space to produce descriptors.
> > >
> > > Adjust ZC path to follow the same principle.  
> >
> > Acked-by: Jakub Kicinski <[email-masked]>  
> 
> Do you guys need it in net-next in this merge window ?
> 
> We have nothing in bpf-next/net so far, so should be fine
> to take this patch into net-next directly?

Somehow __xsk_rcv_zc_safe() landed in bpf-next/master f620af11c27b8ec9
So I think we have limited number of possible moves now :)