Hi,

Is VLAN supported in SRIOV mode for mlx5?


Can anyone please help me to:

Enable VLAN guest tagging in mlx5 PF driver?

Do I need to add any E-switch rules to do the same?


My requirement is something like this:


mlx5 VF driver<--------------->mlx5 PF
driver<------------------------->Network<-----------> mlx5 dedicated
driver(non-sriov)



I would like to be able to send ICMP traffic between mlx5 VF driver
and mlx5 dedicated driver.

My understanding is I should be able to do without adding any rules in
the E-switch on the PF driver as by default all traffic is allowed.

Is this correct?


I tried but as this didn't work. I added ingress rules to allow VLAN
traffic and also egress rules to the E-switch ACL tables.

But still i cannot see any traffic between mlx5 VF driver and mlx5
dedicated driver.

I can see that the packets reach the CX4 adapter (mlx5 VF/mlx5 PF) but
they don't go out on the network.

i tried configuring vlan using ip link add dev enp1s0f0 name
enp1s0f0.100 type vlan id 100 on both the mlx5 vf driver and mlx5
dedicated driver.


Can anyone please help!!



Thanks

Best Regards,
Domingo

Reply via email to