* discussion mlx5e vlan forwarding
@ 2020-04-17 10:57 Tonghao Zhang
2020-04-17 22:48 ` Saeed Mahameed
0 siblings, 1 reply; 3+ messages in thread
From: Tonghao Zhang @ 2020-04-17 10:57 UTC (permalink / raw)
To: Saeed Mahameed; +Cc: Linux Kernel Network Developers
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 ?
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: discussion mlx5e vlan forwarding
2020-04-17 10:57 discussion mlx5e vlan forwarding Tonghao Zhang
@ 2020-04-17 22:48 ` Saeed Mahameed
2020-04-20 0:11 ` Tonghao Zhang
0 siblings, 1 reply; 3+ messages in thread
From: Saeed Mahameed @ 2020-04-17 22:48 UTC (permalink / raw)
To: Roi Dayan, xiangxia.m.yue, gerlitz.or; +Cc: netdev
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.
> 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]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: discussion mlx5e vlan forwarding
2020-04-17 22:48 ` Saeed Mahameed
@ 2020-04-20 0:11 ` Tonghao Zhang
0 siblings, 0 replies; 3+ messages in thread
From: Tonghao Zhang @ 2020-04-20 0:11 UTC (permalink / raw)
To: Saeed Mahameed; +Cc: Roi Dayan, gerlitz.or, netdev
On Sat, Apr 18, 2020 at 6:48 AM Saeed Mahameed <saeedm@mellanox.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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-20 0:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 10:57 discussion mlx5e vlan forwarding Tonghao Zhang
2020-04-17 22:48 ` Saeed Mahameed
2020-04-20 0:11 ` Tonghao Zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.