Re: [PATCH v9 1/4] liburing: add api to set napi busy poll settings

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

 



On 2/2/24 9:41 AM, Olivier Langlois wrote:
> On Tue, 2023-04-25 at 11:20 -0700, Stefan Roesch wrote:
>> +
>> +int io_uring_register_napi(struct io_uring *ring, struct
>> io_uring_napi *napi)
>> +{
>> +	return __sys_io_uring_register(ring->ring_fd,
>> +				IORING_REGISTER_NAPI, napi, 0);
>> +}
>> +
>> +int io_uring_unregister_napi(struct io_uring *ring, struct
>> io_uring_napi *napi)
>> +{
>> +	return __sys_io_uring_register(ring->ring_fd,
>> +				IORING_UNREGISTER_NAPI, napi, 0);
>> +}
> 
> my apologies if this is not the latest version of the patch but I think
> that it is...
> 
> nr_args should be 1 to match what __io_uring_register() in the current
> corresponding kernel patch expects:
> 
> https://git.kernel.dk/cgit/linux/commit/?h=io_uring-napi&id=787d81d3132aaf4eb4a4a5f24ff949e350e537d0

Can you send a patch I can fold in?

-- 
Jens Axboe






[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