> From: Long Li <[email protected]>
> 
> Rebuild queues through the swap path when USE_FULL_PAGE_RXBUF changes
> the RX layout. Carry priv_flags with the queue set so allocation failure
> leaves the live configuration unchanged and rollback restores the flags.
> 
> Retain shortcuts for an unchanged RX buffer flag, a down port, or a
> configuration whose MTU or XDP already requires full-page RX. A failed
> rollback closes the port.
> 
> This full rebuild temporarily keeps both sets of SQ/RQ/CQ objects,
> RX buffers and page pools live. The port-owned EQ pool is shared,
> not doubled. Device resource limits may reject this temporary peak;
> allocation failure preserves the live queues and configuration.
> 
> Signed-off-by: Long Li <[email protected]>
> Signed-off-by: Wei Hu <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=6


Reply via email to