[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimRZezo4WYZiXfsra83AojMubrZap1d1r5KUst1@mail.gmail.com>
Date: Mon, 13 Dec 2010 10:20:58 +0800
From: hong zhiyi <zhiyi.hong@...il.com>
To: Jesse Gross <jesse@...ira.com>
Cc: netdev@...r.kernel.org
Subject: Re: set vlan CFI and TPID
On Mon, Dec 13, 2010 at 8:20 AM, Jesse Gross <jesse@...ira.com> wrote:
> On Tue, Dec 7, 2010 at 8:04 PM, hong zhiyi <zhiyi.hong@...il.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.
>
Hi Jesse,
Thank you for your reply.
Then how can it set the value of the TPID and the CFI? Also, I do not
understand you mentioned the *tc* means, what is the tc?
Best Regards
Hong Zhiyi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists