From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) by dpdk.org (Postfix) with ESMTP id EF3B74B4B for ; Mon, 3 Feb 2014 07:51:53 +0100 (CET) Received: by mail-qc0-f178.google.com with SMTP id m20so10408295qcx.37 for ; Sun, 02 Feb 2014 22:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7qtMk8z1JAPuv1wLj4Odp45Fte0D+/m+cxI2DIV11hU=; b=q+sTRGidJmsRqRhpIhYNkti2B7na+orVR3o8pskTyQsjeqMMaiHfXGCprRQFIlpqGf zJ7UeBfrad+412h4nWTzhbWdxmWnkCZJ95oLJpcexicRRyb/GP6IMYQv+U2PVJYJJZ/W 3fB6VI+1EippydvxvO24uqQ6sqIRgeKx2WbTNSE8Ff6ciF/+5dlsDnM/s0NOYJ+/n/mX vsE49VVZqDVporsU6KwT30wNruWryfmsEdruHrIwiR/ZceFxxRrvkShQRTwbayM3wYdF 9v695i+nxiAPw3ztQvGMBPHQCOFzXhDs4uLfcUHdeNqHzmtxGijAnecvYFTu+XBxIrdk HA0Q== MIME-Version: 1.0 X-Received: by 10.140.25.142 with SMTP id 14mr50061087qgt.83.1391410394077; Sun, 02 Feb 2014 22:53:14 -0800 (PST) Received: by 10.96.63.166 with HTTP; Sun, 2 Feb 2014 22:53:14 -0800 (PST) In-Reply-To: References: Date: Sun, 2 Feb 2014 22:53:14 -0800 Message-ID: From: James Yu To: Jose Gavine Cueto Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] multiple VLAN IDs for SR-IOV ports X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 06:51:54 -0000 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. >