Date: Tue, 12 Oct 2004 17:48:46 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Jung-uk Kim <jkim@niksun.com> Cc: Gleb Smirnoff <glebius@FreeBSD.org> Subject: Re: Broadcom bge and 802.1Q vlan tags Message-ID: <20041012144846.GA85237@ip.net.ua> In-Reply-To: <200410121035.59905.jkim@niksun.com> References: <9256D57F598E6C41B288AA7DB94F29C902DFB963@pgnmail1.pgnaplikace.cz> <20041012140205.GD29433@cell.sick.ru> <200410121035.59905.jkim@niksun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 12, 2004 at 10:35:59AM -0400, Jung-uk Kim wrote: > On Tuesday 12 October 2004 10:02 am, Gleb Smirnoff wrote: > > On Tue, Oct 12, 2004 at 10:36:27AM +0200, Roub?cek Zdenek > > (T-Systems PragoNet) wrote: R> I have run into a problem with my > > Broadcom NIC (Dell LATITUDE D600). I am not able to detect 802.1Q > > tags on incoming interface with ethereal or tcpdump. All incoming > > packets seems like they are not coming through trunk but as native > > ETH frames, ie. the vlan tag is missing, probably removed before > > being passed to tcpdump? R> > > R> No I have not tested NIC's behaviour on 4.X, but I is working > > with linux (2.6.something kernel probably?) R> > > R> Any ideas what to modify or set so I can detect vlan_tag would > > be very apreciated. > > > > As Ruslan already mentioned, it is impossible to turn off hardware > > VLAN stripping in bge driver. >=20 > It's not true. You can: >=20 > BGE_SETBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG)); >=20 > to turn off VLAN tag stripping. >=20 I meant that the driver should check for IFCAP_VLAN_HWTAGGING bit in its if_capenable to allow user-configurable hardware VLAN tagging, as well as allowing to set/reset it in its SIOCSIFCAP handler, and this driver doesn't currently do it. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBa+7OqRfpzJluFF4RAlRKAJ4wsuObsvZybtFfLlJNqsrc2cBiPwCcCTMw vwbzQ5zhvjJZhqJBLvKK6Is= =YInm -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041012144846.GA85237>