Broadcom bge and 802.1Q vlan tags

Ruslan Ermilov ru at FreeBSD.org
Tue Oct 12 07:49:01 PDT 2004


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.
> 
> It's not true.  You can:
> 
> 	BGE_SETBIT(sc, BGE_RX_MODE, BGE_RXMODE_RX_KEEP_VLAN_DIAG));
> 
> to turn off VLAN tag stripping.
> 
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,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041012/5c1625b7/attachment.bin


More information about the freebsd-current mailing list