| To: | "Feldman, Scott" <scott.feldman@xxxxxxxxx> |
|---|---|
| Subject: | Re: Flush Tx skbs after link down |
| From: | Stefan Rompf <srompf@xxxxxx> |
| Date: | Wed, 15 Jan 2003 10:50:33 +0100 |
| Cc: | netdev@xxxxxxxxxxx, "Cramer, Jeb J" <jeb.j.cramer@xxxxxxxxx> |
| References: | <C6F5CF431189FA4CBAEC9E7DD5441E01087ADF@xxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi,
> Someone most know the answer to this: What's the proper way to dispose
> of Tx skbs that are owned by the h/w ("in-flight") when link was lost?
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
method similiar to the qdiscs. If available, this method is called on
link down event by the linkwatch stuff included in recent 2.5 kernels.
Stefan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.4.20-pre11: PCI Wavelan card loses connection, Denis Vlasenko |
|---|---|
| Next by Date: | Re: Flush Tx skbs after link down, Stefan Rompf |
| Previous by Thread: | Flush Tx skbs after link down, Feldman, Scott |
| Next by Thread: | Re: Flush Tx skbs after link down, Stefan Rompf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |