[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43d7196e-e2f5-4568-b88b-c66e51218b2b@davidwei.uk>
Date: Mon, 6 May 2024 11:09:26 -0700
From: David Wei <dw@...idwei.uk>
To: Shailend Chand <shailend@...gle.com>, netdev@...r.kernel.org
Cc: almasrymina@...gle.com, 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-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?
Powered by blists - more mailing lists