mbox series

[net-next,v2,0/2] net: sched: allow user to select txqueue

Message ID 20211208143408.7047-1-xiangxia.m.yue@gmail.com (mailing list archive)
Headers show
Series net: sched: allow user to select txqueue | expand

Message

Tonghao Zhang Dec. 8, 2021, 2:34 p.m. UTC
From: Tonghao Zhang <xiangxia.m.yue@gmail.com>

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 selecting tx queue

 include/linux/netdevice.h              | 21 +++++++++
 include/net/tc_act/tc_skbedit.h        |  1 +
 include/uapi/linux/tc_act/tc_skbedit.h |  6 +++
 net/core/dev.c                         |  6 ++-
 net/sched/act_skbedit.c                | 60 ++++++++++++++++++++++++--
 5 files changed, 89 insertions(+), 5 deletions(-)