[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMDZJNU_3G83tHs+khV9wwpXdoFrOngDTq6kS0TMWXdj9hRkeA@mail.gmail.com>
Date: Mon, 20 Apr 2020 08:11:54 +0800
From: Tonghao Zhang <xiangxia.m.yue@...il.com>
To: Saeed Mahameed <saeedm@...lanox.com>
Cc: Roi Dayan <roid@...lanox.com>,
"gerlitz.or@...il.com" <gerlitz.or@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: discussion mlx5e vlan forwarding
On Sat, Apr 18, 2020 at 6:48 AM Saeed Mahameed <saeedm@...lanox.com> wrote:
>
> On Fri, 2020-04-17 at 18:57 +0800, Tonghao Zhang wrote:
> > Hi Saeed and maintainers
> >
> > In one case, I want to push vlan and forward the packets to one VF.
> > Tc
> > command shown as below
> > $ tc filter add dev $PF0_REP0 parent ffff: protocol ip prio 1 chain 0
> > \
> > flower src_mac 0a:47:da:d6:40:04 dst_mac 00:11:22:33:44:66 \
> > action vlan push id 200 pipe action mirred egress redirect dev
> > $PF_REP1
> >
> > dmesg:
> > mlx5_core 0000:82:00.0: mlx5_cmd_check:756:(pid 10735):
> > SET_FLOW_TABLE_ENTRY(0x936) op_mod(0x0) failed, status bad
> > parameter(0x3), syndrome (0xa9c090)
> >
> > So do we support that forwarding ?
> >
>
> Hi Tonghao,
>
> CC'ing more experts, Or and Roi, they might have more useful info for
> you.
>
> but as far as i recall, this can only work on uplink port and not a VF.
Do we have plan to support that function? I guess that this feature is
important for us.
Because I use vlan id as metadata, and that will be matched in future.
> > kernel version: 5.6.0-rc7+ [OFED 5.0 has that issue too]
> > firmware-version: 16.27.1016
> > NIC: Mellanox Technologies MT27800 Family [ConnectX-5]
--
Best regards, Tonghao
Powered by blists - more mailing lists