mlx5 search flow table

2016-12-03 Thread domingo montoya
Hello, I was wondering if there was any way I could search what flow tables, flow groups, flow rules exist for mlx5_core driver. I am aware of the QUERY_* commands but I need to provide a valid tableId or groupId to retrieve the information. Let's say because of any bug, one of the flow table o

Re: mlx5 VST and VGT mode at the same time

2016-12-03 Thread domingo montoya
Thanks a lot Mohamad. This is really helpful. On Mon, Aug 22, 2016 at 6:39 PM, Mohamad Haj Yahia wrote: > On Thu, Aug 18, 2016 at 12:41 PM, domingo montoya > wrote: >> Hi All, >> >> Is there any way we can support both VST and VGT modes at the same time in >> m

mlx5 VST and VGT mode at the same time

2016-08-18 Thread domingo montoya
Hi All, Is there any way we can support both VST and VGT modes at the same time in mlx5? For e.g, If i send untagged packets from the VF, they should be tagged with the VST vlan and the vlan be stripped for received packets. If i send tagged packets from the VF, they should be send as it and no

Re: mlx5 SRIOV VLAN support

2016-07-25 Thread domingo montoya
rom FDB and ACL tables are there any other tables that the PF driver should create/configure? 2. Are the FDB rules enough to make sure the Vlan tagged traffic from the VF is going through? Thanks a lot for your help Best Regards, Domingo On Tue, Jul 5, 2016 at 6:13 PM, domingo montoya wro

Re: mlx5 PF and VF Vlan Restrictions

2016-07-15 Thread domingo montoya
On Thu, Jul 14, 2016 at 3:58 PM, Saeed Mahameed wrote: > On Thu, Jul 14, 2016 at 11:27 AM, domingo montoya > wrote: >> Hello, >> >> Can we have VLAN restrictions at both PF and VF level in mlx5 CX4 driver? >> >> For a particular VF, I would like to restrict VL

mlx5 PF and VF Vlan Restrictions

2016-07-14 Thread domingo montoya
Hello, Can we have VLAN restrictions at both PF and VF level in mlx5 CX4 driver? For a particular VF, I would like to restrict VLANs from the PF driver For e.g, Let's say there is VF0. I would like to restrict the allowed vlans from the VF0 to be one of 10,20,30. I would like to do this enforce

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread domingo montoya
properly. On Tue, Jul 5, 2016 at 3:23 PM, Saeed Mahameed wrote: > 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 qdis

Re: mlx5 SRIOV VLAN support

2016-07-05 Thread domingo montoya
-insert: off [fixed] rx-vlan-stag-hw-parse: off [fixed] rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] On Tue, Jul 5, 2016 at 1:41 PM, Saeed Mahameed wrote: > On Tue, Jul 5, 2016 at 10:37 AM, domingo montoya > wrote: >> Hi, >> >> Is VLAN supported in SRIOV mode

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 driver<->Networ