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

- From: Cong Wang \<hidden\>
- Date: 2021-12-13 22:58:35 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/12/11218744
- Thread: https://ratatoskr.run/netdev/2021/12/11218528/t.md

```text
On Thu, Dec 9, 2021 at 6:36 PM [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.
```
