From: sashiko-bot@kernel.org
To: "Wei Hu" <weh@linux.microsoft.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: [PATCH net-next v9 1/4] net: mana: prepare HWC ownership for safe reinitialization
Date: Thu, 22 Oct 2026 15:15:54 +0000 [thread overview]
Message-ID: <sashiko-outbox-181680@kernel.org> (raw)
In-Reply-To: <d4ea1c76b5cd1d22103788a7ea656087ccfdff58.1792679388.git.weh@linux.microsoft.com>
> From: Long Li <longli@microsoft.com>
>
> Dynamic HWC queue sizing tears down the bootstrap queues and establishes a
> second channel before publishing it. Prepare the existing HWC ownership and
> teardown paths so that sequence cannot free or reuse state still reachable
> by either the PF or an EQ handler.
>
> The shared-memory aperture carries one request at a time. Serialize the
> complete ESTABLISH_HWC and DESTROY_HWC transactions, including possession
> polling and response validation. Record setup_active immediately before the
> MMIO submission and clear it only after DESTROY_HWC is acknowledged.
>
> Treat an unacknowledged destroy as retained PF ownership. Fence the HWC EQ
> and withdraw its CQ from dispatch, but keep all queue memory and wrappers
> for a later teardown retry. A new channel creation retries that retained
> [ ... ]
> Link: https://lore.kernel.org/r/178910960115.219967.13830871915506436112@kernel.org
> Link: https://lore.kernel.org/r/179196575238.434549.10775387794024020898@kernel.org
> Link: https://lore.kernel.org/r/sashiko-outbox-170992@kernel.org
> Signed-off-by: Long Li <longli@microsoft.com>
> Signed-off-by: Wei Hu <weh@microsoft.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1792679388.git.weh@linux.microsoft.com?part=1
next prev parent reply other threads:[~2026-10-22 15:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 15:02 [PATCH net-next v9 0/4] net: mana: concurrent HWC requests and dynamic queue depth Wei Hu
2026-10-22 15:02 ` [PATCH net-next v9 1/4] net: mana: prepare HWC ownership for safe reinitialization Wei Hu
2026-10-22 15:15 ` sashiko-bot [this message]
2026-10-22 15:03 ` [PATCH net-next v9 2/4] net: mana: give each HWC message slot its own completion state Wei Hu
2026-10-22 15:15 ` sashiko-bot
2026-10-22 15:03 ` [PATCH net-next v9 3/4] net: mana: support concurrent HWC requests Wei Hu
2026-10-22 15:15 ` sashiko-bot
2026-10-22 15:03 ` [PATCH net-next v9 4/4] net: mana: add dynamic HWC queue depth with reinit path Wei Hu
2026-10-22 15:15 ` sashiko-bot
2026-10-22 15:23 ` [PATCH net-next v9 0/4] net: mana: concurrent HWC requests and dynamic queue depth Jakub Kicinski
2026-10-25 8:06 ` [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=sashiko-outbox-181680@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=weh@linux.microsoft.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.