> 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 <[email protected]>
Acked-by: Ciara Loftus<[email protected]>

