[net-next v3 0/2] net: sched: allow user to select txqueue
flat view
From: <hidden>
Date: 2021-12-10 02:36:48
From: Tonghao Zhang <redacted> Patch 1 allow user to select txqueue in clsact hook. Patch 2 support skb-hash and classid to select txqueue. Tonghao Zhang (2): net: sched: use queue_mapping to pick tx queue net: sched: support hash/classid/cpuid selecting tx queue include/linux/netdevice.h | 21 +++++++ include/net/tc_act/tc_skbedit.h | 1 + include/uapi/linux/tc_act/tc_skbedit.h | 8 +++ net/core/dev.c | 6 +- net/sched/act_skbedit.c | 76 ++++++++++++++++++++++++-- 5 files changed, 107 insertions(+), 5 deletions(-) -- v2: * 1/2 change skb->tc_skip_txqueue to per-cpu var, add more commit * message. * 2/2 optmize the codes. v3: * 2/2 fix the warning, add cpuid hash type. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Cong Wang <redacted> Cc: Jiri Pirko <jiri@resnulli.us> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Jonathan Lemon <redacted> Cc: Eric Dumazet <redacted> Cc: Alexander Lobakin <redacted> Cc: Paolo Abeni <pabeni@redhat.com> Cc: Talal Ahmad <redacted> Cc: Kevin Hao <redacted> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org> Cc: Kees Cook <redacted> Cc: Kumar Kartikeya Dwivedi <memxor@gmail.com> Cc: Antoine Tenart <atenart@kernel.org> Cc: Wei Wang <redacted> Cc: Arnd Bergmann <arnd@arndb.de> -- 2.27.0