[PATCH v2 3/7] net/iavf: drain in-flight Tx before reset
Loftus, Ciara
ciara.loftus at intel.com
Thu Aug 13 15:24:50 CEST 2026
> Subject: [PATCH v2 3/7] net/iavf: drain in-flight Tx before reset
>
> On a link-down or impending PF reset, in-flight Tx descriptors
> were left pending when the queues were torn down, which could
> trigger Malicious Driver Detection (MDD) events and
> leak descriptors.
>
> Added iavf_dev_tx_drain() to let already-posted Tx bursts
> complete and flush the rings within a bounded budget,
> and call it on link-down and reset-impending events
> before teardown, preventing MDD events and descriptor leaks.
> The drain selects the cleanup routine that matches the
> active Tx path.
>
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Acked-by: Ciara Loftus<ciara.loftus at intel.com>
More information about the dev
mailing list