[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32b82a8f-2c81-41ee-804d-83ee847a27f0@davidwei.uk>
Date: Tue, 23 Sep 2025 08:58:03 -0700
From: David Wei <dw@...idwei.uk>
To: Stanislav Fomichev <stfomichev@...il.com>,
Daniel Borkmann <daniel@...earbox.net>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, kuba@...nel.org,
davem@...emloft.net, razor@...ckwall.org, pabeni@...hat.com,
willemb@...gle.com, sdf@...ichev.me, john.fastabend@...il.com,
martin.lau@...nel.org, jordan@...fe.io, maciej.fijalkowski@...el.com,
magnus.karlsson@...el.com
Subject: Re: [PATCH net-next 03/20] net: Add ndo_queue_create callback
On 2025-09-22 09:04, Stanislav Fomichev wrote:
> On 09/19, Daniel Borkmann wrote:
>> From: David Wei <dw@...idwei.uk>
>>
>> Add ndo_queue_create() to netdev_queue_mgmt_ops that will create a new
>> rxq specifically for mapping to a real rxq. The intent is for only
>> virtual netdevs i.e. netkit and veth to implement this ndo. This will
>> be called from ynl netdev fam bind-queue op to atomically create a
>> mapped rxq and bind it to a real rxq.
>>
>> Signed-off-by: David Wei <dw@...idwei.uk>
>> Co-developed-by: Daniel Borkmann <daniel@...earbox.net>
>> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
>> ---
>> include/net/netdev_queues.h | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/include/net/netdev_queues.h b/include/net/netdev_queues.h
>> index cd00e0406cf4..6b0d2416728d 100644
>> --- a/include/net/netdev_queues.h
>> +++ b/include/net/netdev_queues.h
>> @@ -149,6 +149,7 @@ struct netdev_queue_mgmt_ops {
>> int idx);
>> struct device * (*ndo_queue_get_dma_dev)(struct net_device *dev,
>> int idx);
>> + int (*ndo_queue_create)(struct net_device *dev);
>
> kdoc is missing
Will add. This was meant to be an RFC so I didn't write one - then it
became a proper patchset.
Powered by blists - more mailing lists