DPDK patches and discussions
 help / color / mirror / Atom feed
From: James Yu <ypyu2011@gmail.com>
To: Jose Gavine Cueto <pepedocs@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] multiple VLAN IDs for SR-IOV ports
Date: Sun, 2 Feb 2014 22:53:14 -0800	[thread overview]
Message-ID: <CAFMB=kCke5OFJrxcdh7NUHTqhDazb35y1sGgpe0nLOQYPWoBxg@mail.gmail.com> (raw)
In-Reply-To: <CAJ5bv6EMwFEQhqoE4gJXdZOUtBMVW-Z5xeWkhFqo9Oq-Dgun8A@mail.gmail.com>

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 <pepedocs@gmail.com>wrote:

> hi,
>
>
> On Thu, Jan 30, 2014 at 2:45 PM, James Yu <ypyu2011@gmail.com> 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.
>

  reply	other threads:[~2014-02-03  6:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30  6:45 James Yu
2014-02-01 17:13 ` Jose Gavine Cueto
2014-02-03  6:53   ` James Yu [this message]
2014-02-04  0:09     ` Patel, Rashmin N

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFMB=kCke5OFJrxcdh7NUHTqhDazb35y1sGgpe0nLOQYPWoBxg@mail.gmail.com' \
    --to=ypyu2011@gmail.com \
    --cc=dev@dpdk.org \
    --cc=pepedocs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).