lkml.org 
[lkml]   [2019]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/2] Improvements to the DSA deferred xmit
Date
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

\
 
 \ /
  Last update: 2019-12-27 02:43    [W:0.077 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site