On Fri, Feb 22, 2019 at 9:49 AM Tonghao Zhang <xiangxia.m....@gmail.com> wrote: > > On Fri, Feb 22, 2019 at 12:32 AM Or Gerlitz <gerlitz...@gmail.com> wrote: > > > > On Thu, Feb 21, 2019 at 3:42 PM <xiangxia.m....@gmail.com> wrote: > > > > > > From: Tonghao Zhang <xiangxia.m....@gmail.com> > > > > > > If we try to offload decapsulation actions to VFs hw, we get the log [1]. > > > > but the switching was on the tunnel type (if (tunnel_type == [...]) - > Yes, but we try to offload tc flow to VF device. For example > the p2p1_0 is VF, but not rep
so this should go to the nic and not esw tc offload code path in en_tc.c and the nic path (look for parse_tc_nic_actions or a like) doesn't have a case for the tunnel key action - you should not have got to this code at all, please look deeper to realize what is going on there, maybe p2p1_0 is a rep? what does ip -d link show gives on it?