net: sched: allow user to select txqueue
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest posting 2/22 patches 0 repliesApplied 2/2
- v11 posting 1/22 patches 1 replySuperseded
- v102 patches 7 repliesSuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v9 | 2 patches | 3 replies | Superseded | |
| v8 | 2 patches | 21 replies | Superseded | |
| v7 posting 2/2 | 2 patches | 2 replies | Superseded | |
| v7 posting 1/2 | 2 patches | 4 replies | Superseded | |
| v6 | 2 patches | 0 replies | Superseded | |
| v5 | 2 patches | 15 replies | Superseded | |
| v4 | 2 patches | 1 reply | Superseded | |
| v3 | 2 patches | 12 replies | Superseded | |
| v2 | 2 patches | 1 reply | Superseded | |
| v1 | 2 patches | 6 replies | Superseded |
Patches in v11 posting 2/2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: sched: use queue_mapping to pick tx queueinclude/ include/ net/ +1 more | +38 | 0 replies | Applied |
| 2/2 | net: sched: support hash selecting tx queueinclude/ include/ net/ | +50 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jamal Hadi Salim |
|---|---|
| 1/2 | A-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [net-next RESEND v11 0/2] net: sched: allow user to select txqueue
From: Tonghao Zhang <[email protected]>
Patch 1 allow user to select txqueue in clsact hook. Patch 2 support skbhash to select txqueue.
Tonghao Zhang (2):
net: sched: use queue_mapping to pick tx queue
net: sched: support hash selecting tx queue
include/linux/netdevice.h | 3 ++ include/linux/rtnetlink.h | 1 + include/net/tc_act/tc_skbedit.h | 1 + include/uapi/linux/tc_act/tc_skbedit.h | 2 + net/core/dev.c | 31 ++++++++++++++- net/sched/act_skbedit.c | 55 ++++++++++++++++++++++++-- 6 files changed, 88 insertions(+), 5 deletions(-)
Signature · 52 lines
v11: * 1/2 remove likely v10: * 2/2 remove cpuid/classid hash v9: * 2/2 add more commit message. v8: * 1/2 remove the inline keyword. v7: * 1/2 fix build warn, move pick tx queue into egress_needed_key for simplifing codes. v6: * 1/2 use static key and compiled when CONFIG_NET_EGRESS configured. v5: * 1/2 merge netdev_xmit_reset_txqueue(void), netdev_xmit_skip_txqueue(void), to netdev_xmit_skip_txqueue(bool skip). v4: * 1/2 introduce netdev_xmit_reset_txqueue() and invoked in __dev_queue_xmit(), so ximt.skip_txqueue will not affect selecting tx queue in next netdev, or next packets. more details, see commit log. * 2/2 fix the coding style, rename: SKBEDIT_F_QUEUE_MAPPING_HASH -> SKBEDIT_F_TXQ_SKBHASH SKBEDIT_F_QUEUE_MAPPING_CLASSID -> SKBEDIT_F_TXQ_CLASSID SKBEDIT_F_QUEUE_MAPPING_CPUID -> SKBEDIT_F_TXQ_CPUID * 2/2 refactor tcf_skbedit_hash, if type of hash is not specified, use the queue_mapping, because hash % mapping_mod == 0 in "case 0:" * 2/2 merge the check and add extack v3: * 2/2 fix the warning, add cpuid hash type. v2: * 1/2 change skb->tc_skip_txqueue to per-cpu var, add more commit message. * 2/2 optmize the codes. Cc: Jamal Hadi Salim <[email protected]> Cc: Cong Wang <[email protected]> Cc: Jiri Pirko <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Jonathan Lemon <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Alexander Lobakin <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: Talal Ahmad <[email protected]> Cc: Kevin Hao <[email protected]> Cc: Ilias Apalodimas <[email protected]> Cc: Kees Cook <[email protected]> Cc: Kumar Kartikeya Dwivedi <[email protected]> Cc: Antoine Tenart <[email protected]> Cc: Wei Wang <[email protected]> -- 2.27.0