Hi Jakub, Thanks for your response. Below are the OS and Kernel version I'm using.
OS: Ubuntu 20.04.1 LTS Kernel Version: 5.4.0-42-generic Thanks Satish On Wed, Aug 5, 2020 at 10:15 PM Jakub Kicinski <k...@kernel.org> wrote: > > On Wed, 5 Aug 2020 11:08:08 +0530 satish dhote wrote: > > Hi Team, > > > > I have a question regarding tc filter behavior. I tried to look > > for the answer over the web and netdev FAQ but didn't get the > > answer. Hence I'm looking for your help. > > > > I added ingress qdisc for interface enp0s25 and then configured the > > tc filter as shown below, but after adding filters I realize that > > rule is reflected as a result of both ingress and egress filter > > command? Is this the expected behaviour? or a bug? Why should the > > same filter be reflected in both ingress and egress path? > > > > I understand that policy is always configured for ingress traffic, > > so I believe that filters should not be reflected with egress. > > Behaviour is same when I offloaded ovs flow to the tc software > > datapath. > > I feel like this was discussed and perhaps fixed by: > > a7df4870d79b ("net_sched: fix tcm_parent in tc filter dump") > > What's your kernel version?