Re: [patch net-next v3 2/2] net: core: introduce mini_Qdisc and eliminate usage of tp->q for clsact fastpath
From: Jiri Pirko <jiri@resnulli.us>
Date: 2017-11-01 10:30:54
From: Jiri Pirko <jiri@resnulli.us>
Date: 2017-11-01 10:30:54
Wed, Nov 01, 2017 at 11:25:02AM CET, daniel@iogearbox.net wrote:
On 11/01/2017 03:12 AM, Alexei Starovoitov wrote:quoted
On Tue, Oct 31, 2017 at 04:12:22PM +0100, Jiri Pirko wrote:quoted
From: Jiri Pirko <redacted>[...]quoted
I don't think it's great, but I don't have any suggestions on how to avoid it, so I'm not objecting. Just disappointed that you keep adding stuff to tc and messing with sw fast path only to make parity with some obscure hw feature.tc became a sink for that over time.
Block sharing is not only useful for offloads. But I understand.
quoted
If it keeps going like this we'd need to come up with some new fast hook for clsbpf in ingress/egress paths. We use it for every packet, so extra loads are not great. I guess they should be cache hits, but will take extra cache line. All of the bugs in tc logic recently are not comforting either.+1
I don't see any effect of tc changes on clsbpf ingress/egress since clsact was introduced. Could you point it out?