Re: [RFC PATCH v1 1/3] liburing: add api to set napi busy poll timeout

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

 



Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> writes:

> On 11/4/22 3:40 AM, Stefan Roesch wrote:
>> This adds the two functions to register and unregister the napi busy
>> poll timeout:
>> - io_uring_register_busy_poll_timeout
>> - io_uring_unregister_busy_poll_timeout
>> Signed-off-by: Stefan Roesch <shr@xxxxxxxxxxxx>
>> ---
>>   src/include/liburing.h          |  3 +++
>>   src/include/liburing/io_uring.h |  4 ++++
>>   src/register.c                  | 12 ++++++++++++
>>   3 files changed, 19 insertions(+)
>> diff --git a/src/include/liburing.h b/src/include/liburing.h
>> index 12a703f..ef2510e 100644
>> --- a/src/include/liburing.h
>> +++ b/src/include/liburing.h
>> @@ -235,6 +235,9 @@ int io_uring_register_sync_cancel(struct io_uring *ring,
>>   int io_uring_register_file_alloc_range(struct io_uring *ring,
>>   					unsigned off, unsigned len);
>>   +int io_uring_register_busy_poll_timeout(struct io_uring *ring, unsigned int
>> to);
>> +int io_uring_unregister_busy_poll_timeout(struct io_uring *ring);
>> +
>
> If you export a non inline function, you should also update the liburing.map
> file.

In version 2 of the patch, the file liburing.map is updated.



[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