diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-02-09 21:53:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-09 21:53:39 +0300 |
commit | adaad27980a370179c0eef96b4afe6a459f856a7 (patch) | |
tree | 33ca8d3b38f5dd6e4d4ff03d21285414c50fe086 /include/net/busy_poll.h | |
parent | b4bb1900c12e6a0fe11ff51e1aa6eea19a4ad635 (diff) | |
parent | b4e8ae5c8c41355791a99fdf2fcac16deace1e79 (diff) | |
download | linux-adaad27980a370179c0eef96b4afe6a459f856a7.tar.xz |
Merge branch 'for-io_uring-add-napi-busy-polling-support' of git://git.kernel.org/pub/scm/linux/kernel/git/kuba/linux into for-6.9/io_uring
Pull netdev side of the io_uring napi support.
* 'for-io_uring-add-napi-busy-polling-support' of git://git.kernel.org/pub/scm/linux/kernel/git/kuba/linux:
net: add napi_busy_loop_rcu()
net: split off __napi_busy_poll from napi_busy_poll
Diffstat (limited to 'include/net/busy_poll.h')
-rw-r--r-- | include/net/busy_poll.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h index 4dabeb6c76d3..9b09acac538e 100644 --- a/include/net/busy_poll.h +++ b/include/net/busy_poll.h @@ -48,6 +48,10 @@ void napi_busy_loop(unsigned int napi_id, bool (*loop_end)(void *, unsigned long), void *loop_end_arg, bool prefer_busy_poll, u16 budget); +void napi_busy_loop_rcu(unsigned int napi_id, + bool (*loop_end)(void *, unsigned long), + void *loop_end_arg, bool prefer_busy_poll, u16 budget); + #else /* CONFIG_NET_RX_BUSY_POLL */ static inline unsigned long net_busy_loop_on(void) { |