ppp: improve receive path performance
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ppp: convert rlock to rwlock to improve RX concurrencydrivers/ | +8 | 5 replies | |
| 2/3 | pppoe: bypass sk_receive_skb for PPPOX_BOUND socketsdrivers/ | +9 | 0 replies | |
| 3/3 | ppp: synchronize netstats updatesdrivers/ | +9 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] ppp: improve receive path performance
This patch series improves the performance of the PPPoE receive paths.
Patch 1 converts the ppp->rlock from a spinlock to a read-write lock, allowing concurrent receive-side processing when no state is being modified.
Patch 2 optimizes PPPoE receive performance by bypassing sk_receive_skb() when the socket is in the PPPOX_BOUND state, avoiding unnecessary socket locking and overhead.
Patch 3 synchronizes all updates to net_device->stats using DEV_STATS_INC() to prevent data races now that the receive path may run on multiple CPUs.
Qingfang Deng (3):
ppp: convert rlock to rwlock to improve RX concurrency
pppoe: call ppp_input directly when PPPOX_BOUND
ppp: synchronize netstats updates
drivers/net/ppp/ppp_generic.c | 32 +++++++++++++++++--------------- drivers/net/ppp/pppoe.c | 10 +++++++++- 2 files changed, 26 insertions(+), 16 deletions(-)
Signature · 1 line
2.43.0