Re: [PATCH] bpf: Fix mix-up of 4096 and page size.

2025-02-04 Thread Alexander Lobakin
From: Saket Kumar Bhaskar Date: Tue, 4 Feb 2025 12:27:52 +0530 > On Tue, Jan 28, 2025 at 04:03:11PM +0100, Alexander Lobakin wrote: >> From: Alexei Starovoitov >> Date: Thu, 23 Jan 2025 21:14:04 -0800 >> >>> On Wed, Jan 22, 2025 at 10:38 AM Saket Kumar Bhaskar >>> wrote: For platforms

Re: [PATCH] bpf: Fix mix-up of 4096 and page size.

2025-02-03 Thread Saket Kumar Bhaskar
On Tue, Jan 28, 2025 at 04:03:11PM +0100, Alexander Lobakin wrote: > From: Alexei Starovoitov > Date: Thu, 23 Jan 2025 21:14:04 -0800 > > > On Wed, Jan 22, 2025 at 10:38 AM Saket Kumar Bhaskar > > wrote: > >> > >> For platforms on powerpc architecture with a default page size greater > >> than 4

Re: [PATCH] bpf: Fix mix-up of 4096 and page size.

2025-01-28 Thread Alexander Lobakin
From: Alexei Starovoitov Date: Thu, 23 Jan 2025 21:14:04 -0800 > On Wed, Jan 22, 2025 at 10:38 AM Saket Kumar Bhaskar > wrote: >> >> For platforms on powerpc architecture with a default page size greater >> than 4096, there was an inconsistency in fragment size calculation. >> This caused the BP

Re: [PATCH] bpf: Fix mix-up of 4096 and page size.

2025-01-23 Thread Alexei Starovoitov
On Wed, Jan 22, 2025 at 10:38 AM Saket Kumar Bhaskar wrote: > > For platforms on powerpc architecture with a default page size greater > than 4096, there was an inconsistency in fragment size calculation. > This caused the BPF selftest xdp_adjust_tail/xdp_adjust_frags_tail_grow > to fail on powerp

[PATCH] bpf: Fix mix-up of 4096 and page size.

2025-01-22 Thread Saket Kumar Bhaskar
For platforms on powerpc architecture with a default page size greater than 4096, there was an inconsistency in fragment size calculation. This caused the BPF selftest xdp_adjust_tail/xdp_adjust_frags_tail_grow to fail on powerpc. The issue occurred because the fragment buffer size in bpf_prog_tes