[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a33c3cb6-a58c-440a-b296-7e062fa8f967@intel.com>
Date: Fri, 16 Feb 2024 12:41:36 +0100
From: Alexander Lobakin <aleksander.lobakin@...el.com>
To: Toke Høiland-Jørgensen <toke@...hat.com>
CC: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann
<daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>, Martin KaFai Lau
<martin.lau@...ux.dev>, Eduard Zingerman <eddyz87@...il.com>, 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@...gle.com>, Hao Luo <haoluo@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
Jesper Dangaard Brouer <hawk@...nel.org>, <netdev@...r.kernel.org>,
<bpf@...r.kernel.org>
Subject: Re: [PATCH net-next 0/3] Change BPF_TEST_RUN use the system page pool
for live XDP frames
From: Toke Høiland-Jørgensen <toke@...hat.com>
Date: Thu, 15 Feb 2024 18:06:42 +0100
> Alexander Lobakin <aleksander.lobakin@...el.com> writes:
>
>> From: Toke Høiland-Jørgensen <toke@...hat.com>
>> Date: Thu, 15 Feb 2024 14:26:29 +0100
>>
>>> Now that we have a system-wide page pool, we can use that for the live
>>> frame mode of BPF_TEST_RUN (used by the XDP traffic generator), and
>>> avoid the cost of creating a separate page pool instance for each
>>> syscall invocation. See the individual patches for more details.
>>
>> Tested xdp-trafficgen on my development tree[0], no regressions from the
>> net-next with my patch which increases live frames PP size.
>>
>> Reviewed-by: Alexander Lobakin <aleksander.lobakin@...el.com>
>> Tested-by: Alexander Lobakin <aleksander.lobakin@...el.com>
>
> Great, thanks for taking it for a spin! :)
BTW, you remove the usage of page_pool->slow.init_callback, maybe we
could remove it completely?
>
> -Toke
Thanks,
Olek
Powered by blists - more mailing lists