From: Wei Hu <weh@microsoft.com>
To: "netdev-bot+sashiko@kernel.org" <netdev-bot+sashiko@kernel.org>,
"weh@linux.microsoft.com" <weh@linux.microsoft.com>
Cc: "longli@kernel.org" <longli@kernel.org>,
Konstantin Taranov <kotaranov@microsoft.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"edumazet@google.com" <edumazet@google.com>,
"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
"jgg@ziepe.ca" <jgg@ziepe.ca>,
"leon@kernel.org" <leon@kernel.org>,
Haiyang Zhang <haiyangz@microsoft.com>,
"wei.liu@kernel.org" <wei.liu@kernel.org>,
Dexuan Cui <DECUI@microsoft.com>,
"shradhagupta@linux.microsoft.com"
<shradhagupta@linux.microsoft.com>,
"horms@kernel.org" <horms@kernel.org>,
"ernis@linux.microsoft.com" <ernis@linux.microsoft.com>,
"stephen@networkplumber.org" <stephen@networkplumber.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"gargaditya@linux.microsoft.com" <gargaditya@linux.microsoft.com>,
"kees+treewide@kernel.org" <kees+treewide@kernel.org>,
"kees@kernel.org" <kees@kernel.org>,
"mawasthi@linux.microsoft.com" <mawasthi@linux.microsoft.com>,
"edumazet@kernel.org" <edumazet@kernel.org>,
"shacharr@microsoft.com" <shacharr@microsoft.com>
Subject: RE: [EXTERNAL] Re: [PATCH net-next v12 4/5] net: mana: support concurrent HWC requests
Date: Sun, 29 Nov 2026 10:41:42 +0000 [thread overview]
Message-ID: <SE3P153MB1848D599C3CD236EEBA52DC3BB4F2@SE3P153MB1848.APCP153.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <179588399135.3135.15300357859014042755@kernel.org>
On Sat, Nov 28, 2026, netdev-bot+sashiko@kernel.org wrote:
> Can this throw away a reply the PF has already sent?
Yes. V12 can overwrite a reply the VF already stored if another request
times out before the sender runs. I'll fix that in v13 so the sender
gets the original reply, including any error from the PF.
> Should mana_hwc_check_deadlines() run before the reply in hand has been
> accepted?
Yes. The deadline is the full PF response timeout as seen by the VF.
If it expires before the VF accepts a posted command's reply, the PF
guarantees that old client DMA has stopped, even if the PF wrote the
reply on time and the VF serviced the interrupt late.
> Can this report a DESTROY_MR, DESTROY_DM or DESTROY_PD as successful
> when the PF never received it?
Yes. Once that timeout covers all posts on the channel, zero means
the teardown helper can finish local cleanup, not that the PF acked
the destroy. Ordinary requests get -ETIMEDOUT. A failed post or a wait
for a free slot gives no such guarantee. The HWC buffers still need a
DESTROY_HWC ack before they can be freed.
Thanks,
Wei
pw-bot: cr
next prev parent reply other threads:[~2026-11-29 10:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 15:40 [PATCH net-next v12 0/5] net: mana: " Wei Hu
2026-11-24 15:40 ` [PATCH net-next v12 1/5] net: mana: validate the HWC doorbell before ringing it Wei Hu
2026-11-24 15:40 ` [PATCH net-next v12 2/5] net: mana: keep HWC queues until the PF acknowledges teardown Wei Hu
2026-11-28 16:39 ` netdev-bot+sashiko
2026-11-24 15:40 ` [PATCH net-next v12 3/5] net: mana: protect the HWC response buffer until the sender returns Wei Hu
2026-11-24 15:40 ` [PATCH net-next v12 4/5] net: mana: support concurrent HWC requests Wei Hu
2026-11-28 16:39 ` netdev-bot+sashiko
2026-11-29 10:41 ` Wei Hu [this message]
2026-11-24 15:40 ` [PATCH net-next v12 5/5] net: mana: use the reported HWC queue depth Wei Hu
2026-11-28 16:39 ` netdev-bot+sashiko
2026-11-24 15:44 ` [PATCH net-next v12 0/5] net: mana: concurrent HWC requests netdev-bot+sinfo
2026-11-25 3:13 ` [EXTERNAL] " Wei Hu
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=SE3P153MB1848D599C3CD236EEBA52DC3BB4F2@SE3P153MB1848.APCP153.PROD.OUTLOOK.COM \
--to=weh@microsoft.com \
--cc=DECUI@microsoft.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=edumazet@kernel.org \
--cc=ernis@linux.microsoft.com \
--cc=gargaditya@linux.microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=horms@kernel.org \
--cc=jgg@ziepe.ca \
--cc=kees+treewide@kernel.org \
--cc=kees@kernel.org \
--cc=kotaranov@microsoft.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=longli@kernel.org \
--cc=mawasthi@linux.microsoft.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shacharr@microsoft.com \
--cc=shradhagupta@linux.microsoft.com \
--cc=stephen@networkplumber.org \
--cc=weh@linux.microsoft.com \
--cc=wei.liu@kernel.org \
/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
all inboxes | Powered by JetHome®