netdev
[Top] [All Lists]

Re: Flush Tx skbs after link down

To: "Feldman, Scott" <scott.feldman@xxxxxxxxx>, netdev@xxxxxxxxxxx, "Cramer, Jeb J" <jeb.j.cramer@xxxxxxxxx>
Subject: Re: Flush Tx skbs after link down
From: Stefan Rompf <srompf@xxxxxx>
Date: Wed, 15 Jan 2003 10:57:42 +0100
References: <C6F5CF431189FA4CBAEC9E7DD5441E01087ADF@xxxxxxxxxxxxxxxxxxxxxx> <3E252EE9.D8CA8EDC@xxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
> I think this can't be achieved without driver support, simply because
> pending DMA transfers must be removed before freeing the skbs, and this
> is specific. So the driver model needs to be extended to have a reset

PS: We also need to avoid that new skbs are enqueued while the link is
down without making the critical code path in dev_queue_xmit() much
longer. Right now, I don't have any ideas beyond a proof of concept for
this part.

Stefan


<Prev in Thread] Current Thread [Next in Thread>