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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <IA1PR11MB651473D6A9F11317CA7A01778FC32@IA1PR11MB6514.namprd11.prod.outlook.com>
Date: Tue, 25 Feb 2025 15:58:22 +0000
From: "Vyavahare, Tushar" <tushar.vyavahare@...el.com>
To: Stanislav Fomichev <stfomichev@...il.com>
CC: "bpf@...r.kernel.org" <bpf@...r.kernel.org>, "netdev@...r.kernel.org"
	<netdev@...r.kernel.org>, "bjorn@...nel.org" <bjorn@...nel.org>, "Karlsson,
 Magnus" <magnus.karlsson@...el.com>, "Fijalkowski, Maciej"
	<maciej.fijalkowski@...el.com>, "jonathan.lemon@...il.com"
	<jonathan.lemon@...il.com>, "davem@...emloft.net" <davem@...emloft.net>,
	"kuba@...nel.org" <kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
	"ast@...nel.org" <ast@...nel.org>, "daniel@...earbox.net"
	<daniel@...earbox.net>
Subject: RE: [PATCH bpf-next 2/6] selftests/xsk: Add tail adjustment
 functionality to XDP



> -----Original Message-----
> From: Stanislav Fomichev <stfomichev@...il.com>
> Sent: Thursday, February 20, 2025 11:17 PM
> To: Vyavahare, Tushar <tushar.vyavahare@...el.com>
> Cc: bpf@...r.kernel.org; netdev@...r.kernel.org; bjorn@...nel.org; Karlsson,
> Magnus <magnus.karlsson@...el.com>; Fijalkowski, Maciej
> <maciej.fijalkowski@...el.com>; jonathan.lemon@...il.com;
> davem@...emloft.net; kuba@...nel.org; pabeni@...hat.com; ast@...nel.org;
> daniel@...earbox.net
> Subject: Re: [PATCH bpf-next 2/6] selftests/xsk: Add tail adjustment functionality
> to XDP
> 
> On 02/20, Tushar Vyavahare wrote:
> > Introduce a new function, xsk_xdp_adjust_tail, within the XDP program
> > to adjust the tail of packets. This function utilizes
> > bpf_xdp_adjust_tail to modify the packet size dynamically based on the 'count'
> variable.
> >
> > If the adjustment fails, the packet is dropped using XDP_DROP to
> > ensure processing of only correctly modified packets.
> >
> > Signed-off-by: Tushar Vyavahare <tushar.vyavahare@...el.com>
> 
> Any reason not to combine patches 2..5 into a single one? I looked through each
> one briefly and it's a bit hard to follow when trying to put everything together..

Maybe that was too many patches. How about this?
 
#1: selftests/xsk: Add packet stream replacement function
#2: selftests/xsk: Add tail adjustment test functionality to AF_XDP.
#3: selftests/xsk: Add support check for bpf_xdp_adjust_tail() helper in
    xskxceiver
#4: selftests/xsk: Implement and test packet resizing with
    bpf_xdp_adjust_tail

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ