Sorry for responding late. I got engaged with other work. I didn't replace ingress with ffff
To do more experiments, I will have to recompile everything from fresh as I lost that setup where I was experimenting with tc utility. But if we can get inputs from Daniel's about this change, it will help us to figure out whether this was really a bug or expected behavior. Thanks. On Fri, Aug 7, 2020 at 12:05 AM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > On Thu, Aug 6, 2020 at 10:21 AM satish dhote <sdhote...@gmail.com> wrote: > > > > Hi Cong, > > > > I tried adding below patch i.e. "return cl == 0 ? q->block : NULL;" > > but after this I'm not able to see any output using "tc filter show... " > > command. Looks like the filter is not getting configured. > > What exact command did you use? If you specify "ingress" rather > than "ffff:", it is exactly _my_ goal, because prior to clsact, only > "ffff:" could match ingress qdisc, the keyword "ingress" did not > even exist. > > Of course, it may not be Daniel's intention, he might expect > "ingress" to match ingress qdisc too for convenience. > > Thanks.