Files
linux/drivers/net
Benjamin Herrenschmidt 6ad3d7edcb ftgmac100: Cleanup tx queue handling
We have a private lock which isn't terribly useful, and we maintain
a "tx_pending" counter for information that's already available
via a trivial arithmetic operation. Then we unconditionaly wake
the queue even when not stopped. Finally our code in tx isn't
really safe vs. a concurrent reclaim. The aspeed chips aren't SMP
today but I prefer the code being right and future proof.

So rip that out and replace it with more "standard" queue handling,
currently with a threshold of 1 queue element, which will be
increased when we implement fragmented sends.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-10 16:03:57 -04:00
..
2017-02-27 18:43:47 -08:00
2017-04-09 18:14:25 -07:00
2017-02-11 20:59:41 -05:00
2017-03-08 22:19:17 -08:00
2017-03-13 21:53:48 -07:00
2017-03-01 09:58:31 -08:00
2017-03-25 20:11:19 -07:00