mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Introduce io_uring BPF struct ops implementing the loop_step callback, which will allow BPF to overwrite the default io_uring event loop logic. The callback takes an io_uring context, the main role of which is to be passed to io_uring kfuncs. The other argument is a struct iou_loop_params, which BPF can use to request CQ waiting and communicate other parameters. See the event loop description in the previous patch for more details. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://patch.msgid.link/98db437651ce64e9cbeb611c60bf5887259db09f.1772109579.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
22 lines
368 B
Plaintext
22 lines
368 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# io_uring configuration
|
|
#
|
|
|
|
config IO_URING_ZCRX
|
|
def_bool y
|
|
depends on IO_URING
|
|
depends on PAGE_POOL
|
|
depends on INET
|
|
depends on NET_RX_BUSY_POLL
|
|
|
|
config IO_URING_BPF
|
|
def_bool y
|
|
depends on BPF
|
|
depends on NET
|
|
|
|
config IO_URING_BPF_OPS
|
|
def_bool y
|
|
depends on IO_URING
|
|
depends on BPF_SYSCALL && BPF_JIT && DEBUG_INFO_BTF
|