lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHS8izOYj-_KKgpPm7Tn3SkcqAjkU1b4h9nkRpPj+wMyQ23JqA@mail.gmail.com>
Date: Mon, 6 May 2024 11:47:05 -0700
From: Mina Almasry <almasrymina@...gle.com>
To: David Wei <dw@...idwei.uk>
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 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

https://patchwork.kernel.org/project/netdevbpf/list/?series=840819&state=*


-- 
Thanks,
Mina

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ