[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <320a7d5f-f932-467b-a874-dbd2d8319b9f@davidwei.uk>
Date: Tue, 7 May 2024 14:06:17 -0700
From: David Wei <dw@...idwei.uk>
To: Mina Almasry <almasrymina@...gle.com>
Cc: Shailend Chand <shailend@...gle.com>, netdev@...r.kernel.org,
davem@...emloft.net, edumazet@...gle.com, hramamurthy@...gle.com,
jeroendb@...gle.com, kuba@...nel.org, pabeni@...hat.com,
pkaligineedi@...gle.com, rushilg@...gle.com, willemb@...gle.com,
ziweixiao@...gle.com
Subject: Re: [PATCH net-next v2 10/10] gve: Implement queue api
On 2024-05-06 11:47, Mina Almasry wrote:
> On Mon, May 6, 2024 at 11:09 AM David Wei <dw@...idwei.uk> wrote:
>>
>> On 2024-05-01 16:25, Shailend Chand wrote:
>>> The new netdev queue api is implemented for gve.
>>>
>>> Tested-by: Mina Almasry <almasrymina@...gle.com>
>>> Reviewed-by: Mina Almasry <almasrymina@...gle.com>
>>> Reviewed-by: Praveen Kaligineedi <pkaligineedi@...gle.com>
>>> Reviewed-by: Harshitha Ramamurthy <hramamurthy@...gle.com>
>>> Signed-off-by: Shailend Chand <shailend@...gle.com>
>>> ---
>>> drivers/net/ethernet/google/gve/gve.h | 6 +
>>> drivers/net/ethernet/google/gve/gve_dqo.h | 6 +
>>> drivers/net/ethernet/google/gve/gve_main.c | 177 +++++++++++++++++--
>>> drivers/net/ethernet/google/gve/gve_rx.c | 12 +-
>>> drivers/net/ethernet/google/gve/gve_rx_dqo.c | 12 +-
>>> 5 files changed, 189 insertions(+), 24 deletions(-)
>>>
>>
>> [...]
>>
>>> +static const struct netdev_queue_mgmt_ops gve_queue_mgmt_ops = {
>>> + .ndo_queue_mem_size = sizeof(struct gve_rx_ring),
>>> + .ndo_queue_mem_alloc = gve_rx_queue_mem_alloc,
>>> + .ndo_queue_mem_free = gve_rx_queue_mem_free,
>>> + .ndo_queue_start = gve_rx_queue_start,
>>> + .ndo_queue_stop = gve_rx_queue_stop,
>>> +};
>>
>> Shailend, Mina, do you have code that calls the ndos somewhere?
>
> I plan to rebase the devmem TCP series on top of these ndos and submit
> that, likely sometime this week. The ndos should be used from an
> updated version of [RFC,net-next,v8,04/14] netdev: support binding
> dma-buf to netdevice
Now that queue API ndos have merged, could you please send this as a
separate series and put it somewhere where it can be re-used e.g.
netdev_rx_queue.c?
Happy to do that as well if you don't want to/mind.
>
> https://patchwork.kernel.org/project/netdevbpf/list/?series=840819&state=*
>
>
Powered by blists - more mailing lists