[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87zg0i9z0o.fsf@>
Date: Mon, 16 Oct 2023 14:56:55 -0400
From: Gabriel Krisman Bertazi <krisman@...e.de>
To: Breno Leitao <leitao@...ian.org>
Cc: sdf@...gle.com, axboe@...nel.dk, asml.silence@...il.com,
willemdebruijn.kernel@...il.com, kuba@...nel.org, pabeni@...hat.com,
martin.lau@...ux.dev, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
io-uring@...r.kernel.org, "Peter Zijlstra (Intel)"
<peterz@...radead.org>, Stefan Metzmacher <metze@...ba.org>, Josh
Triplett <josh@...htriplett.org>
Subject: Re: [PATCH v7 06/11] tools headers: Grab copy of io_uring.h
Breno Leitao <leitao@...ian.org> writes:
> This file will be used by mini_uring.h and allow tests to run without
> the need of installing liburing to run the tests.
>
> This is needed to run io_uring tests in BPF, such as
> (tools/testing/selftests/bpf/prog_tests/sockopt.c).
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Can't mini_uring rely on the kernel header like
selftests/net/io_uring_zerocopy_tx.c does? That test doesn't depend on
liburing either. I ask because this will be the third copy of these
definitions that we're gonna need to keep in sync (kernel, liburing and
here). Given this is only used for selftests, we better avoid the
duplication.
--
Gabriel Krisman Bertazi
Powered by blists - more mailing lists