From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 14:49:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7121716A4D1 for ; Tue, 12 Oct 2004 14:49:16 +0000 (GMT) Received: from kcp05h-gw.pragonet.cz (eth0.kcp05h-gw.pragonet.cz [212.67.74.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30FA243D54 for ; Tue, 12 Oct 2004 14:49:15 +0000 (GMT) (envelope-from Zdenek.Roubicek@pragonet.cz) Received: by kcp05h-gw.pragonet.cz (Postfix, from userid 1002) id EAEB877511; Tue, 12 Oct 2004 16:49:13 +0200 (CEST) Received: from pgnmail1.pgnaplikace.cz (isanat.pragonet.cz [212.67.66.42]) by kcp05h-gw.pragonet.cz (Postfix) with ESMTP id C4110774ED for ; Tue, 12 Oct 2004 16:49:13 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 12 Oct 2004 16:49:13 +0200 Message-ID: <9256D57F598E6C41B288AA7DB94F29C902DFB98A@pgnmail1.pgnaplikace.cz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Broadcom bge and 802.1Q vlan tags Thread-Index: AcSwYAYLjPFjDQs3QAOR5lOG//DNhAAB3eYw From: =?us-ascii?Q?Roubicek_Zdenek_=28T-Systems_PragoNet=29?= To: X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on kcp05h-gw.pragonet.cz X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=no version=2.64 X-Spam-Level: Subject: RE: Broadcom bge and 802.1Q vlan tags X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 14:49:16 -0000 > On Tue, Oct 12, 2004 at 09:24:15AM -0400, Don Bowman wrote: > > From: Ruslan Ermilov [mailto:ru@FreeBSD.org] > > > On Tue, Oct 12, 2004 at 08:32:38AM -0400, Don Bowman wrote: > > > > Roub?cek Zdenek: > > > > >=20 > > > > ... > > > There appears to be a bug with drivers that support VLAN tag > > > striping in hardware in case no VLAN interfaces are configured. > > > In this case, ether_demux() will just proceed like if it was > > > an untagged Ethernet frame. glebius@ promised to fix this bug. > > >=20 I do not quite understand this statement.=20 Does this mean that in case I do not have VLAN configured (ifconfig vlan100 create etc.) - ether_demux() will not work for bge interface properly on trunk ports (seeing 802.1Q frames but expecting Ethernet II frames), this is what I would expect - or it will work OK, it is able to see all frames as EthernetII, since tag has been stripped off by underlying HW and I cannot distinguish which packet comes from which vlan > > > Zdenek, unfortunately, the bge(4) driver doesn't allow the > > > user to disable hardware vlan tag striping (like, e.g., the > > > em(4) driver allows), so you cannot watch VLAN frames on this > > > box using tcpdump or ethereal. Any chance for a change? Having the option to disable hw vlan striping would be handy. At least for me :) Thanks for the info so far. At least now I know it is not because of my hands. Zdenek