[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240425185656.452b31b4@kernel.org>
Date: Thu, 25 Apr 2024 18:56:56 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: David Wei <dw@...idwei.uk>
Cc: netdev@...r.kernel.org, Willem de Bruijn
<willemdebruijn.kernel@...il.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next v3 1/2] netdevsim: add NAPI support
On Tue, 23 Apr 2024 19:36:23 -0700 David Wei wrote:
> Add NAPI support to netdevim, similar to veth.
>
> * Add a nsim_rq rx queue structure to hold a NAPI instance and a skb
> queue.
> * During xmit, store the skb in the peer skb queue and schedule NAPI.
> * During napi_poll(), drain the skb queue and pass up the stack.
> * Add assoc between rxq and NAPI instance using netif_queue_set_napi().
This one LG, FWIW.
--
pw-bot: cr
Powered by blists - more mailing lists