[PATCH v3 3/7] net/iavf: drain in-flight Tx before reset

Bruce Richardson bruce.richardson at intel.com
Mon Aug 17 12:46:12 CEST 2026


On Mon, Aug 17, 2026 at 06:48:42AM +0000, Anurag Mandal wrote:
> 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.
> 

I agree that this is a good idea on reset, but what about on link down? In
most of our drivers, if the link goes down, the Tx packets are left in the
descriptor ring to be sent when the link comes back up again. Can we manage
without the cleanup on link down? If the link is down to reconfigure,
the cleanup should be done as part of the reconfigure, I would think.
Am I missing something?

Also, if this prevents MDD events should it have a fixes tag and be
backported?

/Bruce



More information about the dev mailing list