Re: [PATCH net-next v11 4/4] net: mana: add dynamic HWC queue depth with reinit path
From: Wei Hu
Date: Mon Nov 23 2026 - 10:22:48 EST
On Sat, Nov 21, 2026, netdev-bot+sashiko wrote:
> Could the doorbell validation go into its own patch with the Fixes: tag,
> and the dynamic depth work be sent without one?
Yes. Doorbell validation is patch 1 in v12 and carries the Fixes: tag.
The depth change is patch 5 and has no Fixes: tag.
> Can the PF meaning of MAX_REQUEST and MAX_RESPONSE be confirmed here?
Yes. MAX_RESPONSE limits what the VF sends; MAX_REQUEST limits what
the VF receives. With MAX_REQUEST=2048 and MAX_RESPONSE=4096, the VF
may send a 4096-byte request. I've kept that direction in v12.
> Does the PF know that the rebuilt rings are larger than the bootstrap
> rings?
They aren't larger in v12. The PF uses the same 4 KiB descriptor rings
after rebuild. The reported depth changes how many requests can be
outstanding, not where the rings wrap. If the reported depth would
require a larger ring, v12 keeps the bootstrap channel.
> Can this overwrite a timeout that the PF set during the rebuild?
Yes, restoring the saved timeout in v11 could overwrite a newer value.
V12 doesn't shorten the timeout for the private EQ test, so there's no
saved value to restore. If the candidate fails, v12 tears it down
before rebuilding and testing a depth-one channel. If teardown isn't
acknowledged, it keeps the HWC resources and returns the error without
trying the same destroy again on the way out.
Thanks,
Wei