[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOYAsNm+t5rWGm+Xe_cq_2=D0H-Ue4uUNzR4LaVJXFueawd4xg@mail.gmail.com>
Date: Thu, 18 Aug 2016 15:11:27 +0530
From: domingo montoya <reach.domingomontoya@...il.com>
To: Linux Netdev List <netdev@...r.kernel.org>
Subject: mlx5 VST and VGT mode at the same time
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
tag inserted for these and also the vlan tag not stripped for received
packets.
Any way we can achieve this?
I understand that in the latest code these features are mutually exclusive.
But if we have a requirement like this, any ideas on how to go about
implementing the same.
Few observations:
After going through the code, I figured out that for VST mode, we run
MODIFY_ESW_VPORT_CONTEXT and as part of this set the flag to strip the
vlan from the received packets. In case of VGT mode, because of this
command, the tags set by the VF driver also get stripped.
Thanks a lot!
Best Regards,
Domingo
Powered by blists - more mailing lists