From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gross Subject: Re: set vlan CFI and TPID Date: Sun, 12 Dec 2010 16:20:58 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: netdev@vger.kernel.org To: hong zhiyi Return-path: Received: from mail-fx0-f43.google.com ([209.85.161.43]:64108 "EHLO mail-fx0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753272Ab0LMAU7 (ORCPT ); Sun, 12 Dec 2010 19:20:59 -0500 Received: by fxm18 with SMTP id 18so5708401fxm.2 for ; Sun, 12 Dec 2010 16:20:58 -0800 (PST) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 7, 2010 at 8:04 PM, hong zhiyi 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.