Re: [PATCH v6 8/8] selftests/bpf/sockopt: Add io_uring support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 9/13/23 8:27 AM, Breno Leitao wrote:
Expand the BPF sockopt test to use also check for io_uring
{g,s}etsockopt commands operations.

Create infrastructure to run io_uring tests using the mini_liburing
helpers, so, the {g,s}etsockopt operation could either be called from
system calls, or, via io_uring.

Add a 'use_io_uring' parameter to run_test(), to specify if the test
should be run using io_uring if the parameter is set, or via the regular
system calls if false.

Call *all* tests twice, using the regular io_uring path, and the new
io_uring path.

The bpf CI failed to compile because of missing some newer enum:

An option is to copy the io_uring.h to tools/include/uapi/linux/.

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux