[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aYmRgUywMBnkGS2O@soc-5CG4396X81.clients.intel.com>
Date: Mon, 9 Feb 2026 08:49:21 +0100
From: Larysa Zaremba <larysa.zaremba@...el.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
CC: bpf <bpf@...r.kernel.org>, Andrii Nakryiko <andrii@...nel.org>, "Eduard
Zingerman" <eddyz87@...il.com>, Alexei Starovoitov <ast@...nel.org>, "Daniel
Borkmann" <daniel@...earbox.net>, Martin KaFai Lau <martin.lau@...ux.dev>,
Song Liu <song@...nel.org>, Yonghong Song <yonghong.song@...ux.dev>, "John
Fastabend" <john.fastabend@...il.com>, KP Singh <kpsingh@...nel.org>,
Stanislav Fomichev <sdf@...ichev.me>, Hao Luo <haoluo@...gle.com>, Jiri Olsa
<jolsa@...nel.org>, Shuah Khan <shuah@...nel.org>, "David S. Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, "Jesper Dangaard
Brouer" <hawk@...nel.org>, Maciej Fijalkowski <maciej.fijalkowski@...el.com>,
"Bastien Curutchet (eBPF Foundation)" <bastien.curutchet@...tlin.com>,
Aleksandr Loktionov <aleksandr.loktionov@...el.com>, Tushar Vyavahare
<tushar.vyavahare@...el.com>, Ricardo B. Marlière
<rbm@...e.com>, Jason Xing <kernelxing@...cent.com>, Magnus Karlsson
<magnus.karlsson@...el.com>, "open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>, Alexander Lobakin
<aleksander.lobakin@...el.com>
Subject: Re: [PATCH bpf 0/2] Fix some corner cases in xskxceiver
On Fri, Feb 06, 2026 at 09:39:16AM -0800, Alexei Starovoitov wrote:
> On Tue, Feb 3, 2026 at 8:18 AM Larysa Zaremba <larysa.zaremba@...el.com> wrote:
> >
> > While working on XDP and AF_XDP support for ixgbevf driver,
> > I came across two distinct problems that caused tests to fail
> > when they shouldn't have.
>
> Applied.
>
> What is the status of kernel side fixes?
>
> Running test_xsk.sh I see plenty of
>
> [ 93.609026] BUG: Bad page state in process xskxceiver pfn:115920
> ...
> [ 93.633927] bad_page.cold+0xd0/0x140
> [ 93.633929] __free_frozen_pages+0x85a/0x1150
> [ 93.633935] bpf_xdp_adjust_tail+0x808/0x1120
I believe the call trace that you see when running test_xsk.sh is due to test
24: XDP_ADJUST_TAIL_SHRINK_MULTI_BUFF. I have this call trace too, when running
automated veth test and when running xskxceiver in skb mode on a page-pool-using
driver (WiP ixgbevf). The problem is specifically in the skb mode.
The patchset I have recently submitted fixes tail-growing in multi-buffer
packets, veth is not affected. Those issues are weirdly not related in any way.
Maciej has submitted a patchset that fixes the skb mode some time ago [0], I can
confirm it gets rid of the call traces.
[0]
https://lore.kernel.org/bpf/20251029221315.2694841-1-maciej.fijalkowski@intel.com/#t
Powered by blists - more mailing lists