Netdev List
 help / color / mirror / Atom feed
From: Jesse Gross <jesse@nicira.com>
To: hong zhiyi <zhiyi.hong@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: set vlan CFI and TPID
Date: Sun, 12 Dec 2010 16:20:58 -0800	[thread overview]
Message-ID: <AANLkTim3Rm91O2n6dCqTJYja8fy_sb0dKthCA1rf=FPV@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimW35xF4dcr_UO6XX1tBb3VBcp2PWPq8SkMk60=@mail.gmail.com>

On Tue, Dec 7, 2010 at 8:04 PM, hong zhiyi <zhiyi.hong@gmail.com> wrote:
> Hi All,
>
> May I ask how to set the 1 bit CFI and 2 bytesTPID in the VLAN header
> by vconfig?

You can't change them using vconfig.  For 802.1q/Ethernet, the TPID is
0x8100 and the CFI is 0.

> and what is the meaning of the egress map and ingress map?

These convert between the PCP bits found in the vlan header and the
priority field that is used internally for QoS, which you access
through tc.

  reply	other threads:[~2010-12-13  0:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08  4:04 set vlan CFI and TPID hong zhiyi
2010-12-13  0:20 ` Jesse Gross [this message]
2010-12-13  2:20   ` hong zhiyi
2010-12-13  9:16     ` Jesse Gross

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='AANLkTim3Rm91O2n6dCqTJYja8fy_sb0dKthCA1rf=FPV@mail.gmail.com' \
    --to=jesse@nicira.com \
    --cc=netdev@vger.kernel.org \
    --cc=zhiyi.hong@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