RFC net: veth: Optimizing page pool usage
Get series with b4
b4 am [email protected]Versions newest first
- v3 RFC Latest2 patches 5 repliesIn review
Changes in v3 from the cover letter
- refactor the code to make it more readable
- make use of the napi skb cache for further optimization
- take the Page pool creation error handling patch out for separate submission
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: veth: Improving page pool recyclingdrivers/ | +56 | 0 replies | |
| 2/2 | net: veth: Optimizing skb reuse in NAPI Contextdrivers/ net/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [RFC PATCH net-next v3 0/2] net: veth: Optimizing page pool usage
Page pool is supported for veth, but at the moment pages are not properly recyled for XDP_TX and XDP_REDIRECT. That prevents veth xdp from fully leveraging the advantages of the page pool. So this RFC patchset is mainly to make recycling work for those cases. With that in place, it can be further optimized by utilizing the napi skb cache. Detailed figures are presented in each commit message, and together they demonstrate a quite noticeable improvement.
Changes from v2:
- refactor the code to make it more readable
- make use of the napi skb cache for further optimization
- take the Page pool creation error handling patch out for separate submission
Liang Chen (2):
net: veth: Improving page pool recycling
net: veth: Optimizing skb reuse in NAPI Context
drivers/net/veth.c | 66 ++++++++++++++++++++++++++++++++++++++++------ net/core/skbuff.c | 1 + 2 files changed, 59 insertions(+), 8 deletions(-)
Signature · 1 line
2.40.1