From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Yu Subject: Re: multiple VLAN IDs for SR-IOV ports Date: Sun, 2 Feb 2014 22:53:14 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Jose Gavine Cueto Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Patel, I can use the following command to add one VLAN with VID of 3 to VF 0 of eth6 ip link set eth6 vf 0 vlan 3 Could you show me an example of adding 2 VLAN IDs such as VID of 3 and 13 to the same VF 0 ? I want VF 0 to pass traffic from VLAN 3 and 13. How do I do that ? >>From the man page of ip, I do not see it describes about adding more than one VLAN IDs to the same VF port. Can I use this ? ip link set eth6 vf0 vlan 3,13 Thanks James On Sat, Feb 1, 2014 at 9:13 AM, Jose Gavine Cueto wrote: > hi, > > > On Thu, Jan 30, 2014 at 2:45 PM, James Yu wrote: > >> Any one know what commands to use on the KVM host to add multiple VLAN IDs >> to a SR-IOV port ? >> >> I could only add one VLAN ID using >> >> ip link set ethN vf NUM vlan VLANID >> > > What do you mean by "multiple VLAN IDs" ? ethN and vf NUM here let's you > add more than one vlan id. > > >> >> Also do I have to call any routine on the DPDK side to add those VIDs ? >> >> James >> > > > > -- > To stop learning is like to stop loving. >