netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Improvements to the DSA deferred xmit
@ 2019-12-27  1:42 Vladimir Oltean
  2019-12-27  1:42 ` [PATCH net-next 1/2] net: dsa: Remove deferred_xmit from dsa_skb_cb Vladimir Oltean
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vladimir Oltean @ 2019-12-27  1:42 UTC (permalink / raw)
  To: f.fainelli, vivien.didelot, andrew, davem
  Cc: netdev, linux-kernel, Vladimir Oltean

The DSA deferred xmit mechanism is currently used by a single driver
(sja1105) because the transmission of some operations requires SPI
access in the fastpath.

This 2-patch series makes this mechanism better for everybody:

- For those who don't use it, thanks to one less assignment in the
  hotpath
- For those who do, by making its scheduling more amenable and moving it
  outside the generic workqueue (since it still deals with packet
  hotpath, after all)

Vladimir Oltean (2):
  net: dsa: Remove deferred_xmit from dsa_skb_cb
  net: dsa: Create a kernel thread for each port's deferred xmit work

 include/net/dsa.h |  4 ++--
 net/dsa/slave.c   | 53 ++++++++++++++++++++++++++++++++++-------------
 2 files changed, 41 insertions(+), 16 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-04  2:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-27  1:42 [PATCH net-next 0/2] Improvements to the DSA deferred xmit Vladimir Oltean
2019-12-27  1:42 ` [PATCH net-next 1/2] net: dsa: Remove deferred_xmit from dsa_skb_cb Vladimir Oltean
2019-12-27  1:42 ` [PATCH net-next 2/2] net: dsa: Create a kernel thread for each port's deferred xmit work Vladimir Oltean
2020-01-02 21:49 ` [PATCH net-next 0/2] Improvements to the DSA deferred xmit David Miller
2020-01-02 22:47   ` Vladimir Oltean
2020-01-03 20:10     ` Florian Fainelli
2020-01-04  2:44       ` Richard Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).