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] [day] [month] [year] [list]
Message-ID: <87v86hzxj4.fsf@toke.dk>
Date: Wed, 21 Feb 2024 15:45:19 +0100
From: Toke Høiland-Jørgensen <toke@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: bpf@...r.kernel.org
Subject: Re: [PATCH net-next v2 0/4] Change BPF_TEST_RUN use the system page
 pool for live XDP frames

Toke Høiland-Jørgensen <toke@...hat.com> writes:

> 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.
>
> This series targets net-next because it depends on this series of
> Lorenzo's, that adds a global system page pool:
>
> https://lore.kernel.org/r/cover.1707729884.git.lorenzo@kernel.org
>
> Changelog:
> v2:
>  - Change the cookie that marks the page for recycling to be a 128-bit
>    value (Paolo)

Alright>  - Add a patch that removes the init_callback parameter from page
>    pool (Olek)
>  - Carry forward review tags from v1
>
> Toke Høiland-Jørgensen (4):
>   net: Register system page pool as an XDP memory model
>   bpf: test_run: Use system page pool for XDP live frame mode
>   bpf: test_run: Fix cacheline alignment of live XDP frame data
>     structures
>   page pool: Remove init_callback parameter
>
>  include/linux/netdevice.h     |   1 +
>  include/net/page_pool/types.h |   4 -
>  net/bpf/test_run.c            | 143 +++++++++++++++++-----------------
>  net/core/dev.c                |  13 +++-
>  net/core/page_pool.c          |   4 -
>  5 files changed, 86 insertions(+), 79 deletions(-)
>
> -- 
> 2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ