From: Jakub Kicinski <kuba@kernel.org>
To: David Wei <dw@davidwei.uk>
Cc: netdev@vger.kernel.org,
Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>
Subject: Re: [PATCH net-next v3 1/2] netdevsim: add NAPI support
Date: Thu, 25 Apr 2024 18:56:56 -0700 [thread overview]
Message-ID: <20240425185656.452b31b4@kernel.org> (raw)
In-Reply-To: <20240424023624.2320033-2-dw@davidwei.uk>
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
next prev parent reply other threads:[~2024-04-26 1:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-24 2:36 [PATCH net-next v3 0/2] netdevsim: add NAPI support David Wei
2024-04-24 2:36 ` [PATCH net-next v3 1/2] " David Wei
2024-04-26 1:56 ` Jakub Kicinski [this message]
2024-04-24 2:36 ` [PATCH net-next v3 2/2] net: selftest: add test for netdev netlink queue-get API David Wei
2024-04-26 1:51 ` Jakub Kicinski
2024-05-02 5:04 ` David Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240425185656.452b31b4@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=dw@davidwei.uk \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=willemdebruijn.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).