Thread (15 messages) 15 messages, 4 authors, 2021-12-16

Re: [net-next v3 1/2] net: sched: use queue_mapping to pick tx queue

flat view

From: Cong Wang <hidden>
Date: 2021-12-13 22:58:35

On Thu, Dec 9, 2021 at 6:36 PM [off-list ref] wrote:
From: Tonghao Zhang <redacted>

This patch fix issue:
* If we install tc filters with act_skbedit in clsact hook.
  It doesn't work, because netdev_core_pick_tx() overwrites
  queue_mapping.

  $ tc filter ... action skbedit queue_mapping 1
Interesting, but bpf offers a helper (bpf_set_hash()) to overwrite
skb->hash which could _indirectly_ be used to change queue_mapping.
Does it not work?

BTW, for this skbedit action, I guess it is probably because skbedit was
introduced much earlier than clsact.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help