Re: [net-next v8 2/2] net: sched: support hash/classid/cpuid selecting tx queue
From: Tonghao Zhang <hidden>
Date: 2022-01-27 01:24:34
On Thu, Jan 27, 2022 at 3:52 AM Cong Wang [off-list ref] wrote:
On Wed, Jan 26, 2022 at 6:32 AM [off-list ref] wrote:quoted
From: Tonghao Zhang <redacted> This patch allows user to select queue_mapping, range from A to B. And user can use skbhash, cgroup classid and cpuid to select Tx queues. Then we can load balance packets from A to B queue. The range is an unsigned 16bit value in decimal format. $ tc filter ... action skbedit queue_mapping skbhash A B "skbedit queue_mapping QUEUE_MAPPING" (from "man 8 tc-skbedit") is enhanced with flags: * SKBEDIT_F_TXQ_SKBHASH * SKBEDIT_F_TXQ_CLASSID * SKBEDIT_F_TXQ_CPUIDNAK. Keeping resending the same non-sense can't help anything at all. You really should just use eBPF, with eBPF code you don't even need to send anything to upstream, you can do whatever you want without
I know ebpf can do more things. but we can let everyone to use ebpf in tc. For them, the tc command is more easy to use in data center. we have talked this in another thread.
arguing with anyone. It is a win-win. I have no idea why you don't even get this after wasting so much time. Thanks.
-- Best regards, Tonghao