Re: mlx5 SRIOV VLAN support

2016-07-26 Thread domingo montoya
Hello, I was trying to understand which flow tables/groups/rules enable the successful transfer of VLAN tagged packets from the VF. My current understanding is the PF driver creates and configures only two flow tables: 1. FDB flow table (for regular forwarding of traffic) 2. ACL Ingress and

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread domingo montoya
Thanks so much Saeed for your help. I am thinking VLAN is not working for me probably because I might have disabled the code which calls esw_fdb_set_vport_promisc_rule thinking it is needed only for sniffing capabilities in the PF driver. I will try to re-enable this code and check if VLAN works

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread Saeed Mahameed
On Tue, Jul 5, 2016 at 12:23 PM, domingo montoya wrote: > Thanks so much for the reply. Please find the logs. > > [...] > # ip link show enp1s0f0 > 3: enp1s0f0: mtu 1500 qdisc mq state > UP mode DEFAULT qlen 1000 > link/ether

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread domingo montoya
Thanks so much for the reply. Please find the logs. Logs on the remote dedicated driver: -- # ip link add link enp1s0f0 name enp1s0f0.100 type vlan id 100 # ifconfig enp1s0f0.100 10.2.2.25 up # ip link show enp1s0f0.100 5:

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread Saeed Mahameed
On Tue, Jul 5, 2016 at 10:37 AM, domingo montoya wrote: > Hi, > > Is VLAN supported in SRIOV mode for mlx5? > For VGT mode vlan is supported by default same as bare-metal. For VST you need to use ip tool to configure VST vlan: ip link set eth vf 1 vlan 2 qos 2

mlx5 SRIOV VLAN support

2016-07-05 Thread domingo montoya
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