From: Dave Marquardt <davemarq@linux.ibm.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org,
Breno Leitao <leitao@debian.org>,
dw@davidwei.uk
Subject: Re: [PATCH net] net: drv: netdevsim: don't napi_complete() from netpoll
Date: Wed, 11 Jun 2025 17:23:33 -0500 [thread overview]
Message-ID: <87a56dj4t6.fsf@linux.ibm.com> (raw)
In-Reply-To: <20250611174643.2769263-1-kuba@kernel.org> (Jakub Kicinski's message of "Wed, 11 Jun 2025 10:46:43 -0700")
Jakub Kicinski <kuba@kernel.org> writes:
> netdevsim supports netpoll. Make sure we don't call napi_complete()
> from it, since it may not be scheduled. Breno reports hitting a
> warning in napi_complete_done():
I decided to go learn a bit more about netdevsim, and ran across a typo
in Documentation/networking/devlink/netdevsim.rst:
The ``netdevsim`` driver supports rate objects management, which includes:
- registerging/unregistering leaf rate objects per VF devlink port;
^^^^^^^^^^^^
-Dave
next prev parent reply other threads:[~2025-06-11 22:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 17:46 [PATCH net] net: drv: netdevsim: don't napi_complete() from netpoll Jakub Kicinski
2025-06-11 22:23 ` Dave Marquardt [this message]
2025-06-12 7:58 ` Breno Leitao
2025-06-12 13:11 ` Dave Marquardt
2025-06-12 8:53 ` Breno Leitao
2025-06-12 15:20 ` patchwork-bot+netdevbpf
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=87a56dj4t6.fsf@linux.ibm.com \
--to=davemarq@linux.ibm.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dw@davidwei.uk \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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).