em(4) + bridging

Ruslan Ermilov ru at FreeBSD.org
Wed Mar 30 09:01:03 PST 2005


Hi again,

On Wed, Mar 30, 2005 at 05:27:14PM +0200, Philip Olsson wrote:
> >On Wed, Mar 30, 2005 at 04:10:08PM +0200, Philip Olsson wrote:
> > 
> >
> >>Iam woundering if there exists any patchset that will fix the broken 
> >>em-driver or if anyone can bring my up to date with the development of 
> >>the driver.
> >
> 5-stable
> 
> >>Right now I want to do dummynet on em with dot1q, works fine with other 
> >>nics but I want to do it with a em(4) card.
> >>
> >>   
> >>
> >You decide, do you need bridge(4) or dummynet(4) (subject and body
> >disagree)?  I fixed a broken "bridging on VLANs whose parent
> >interfaces support h/w VLAN tag encapsulation" in HEAD a while ago,
> >on February 18, in this commit:
> >
> >http://lists.freebsd.org/pipermail/cvs-src/2005-February/040840.html
> >
> > 
> >
> I need both briding and dummynet, right now briding does not work.
> Your change is only in -current, i run stable.
> I will try to try them later tonight.
> 
As a work-around, em(4) driver supports turning off VLAN tagging
in hardware, so you can switch it off without code modifications
and expect with a reasonable chance of success it will now work.
For example,

ifconfig em0 -vlanhwtag

Then try bridging on VLAN interfaces again.  If it works now,
then merging my patch to RELENG_5 will definitely help you.
Unfortunately, I'm not in a mood (nor I think re@ would) to
merge (commit) this change now, so close to a release.


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-net/attachments/20050330/ca26fb13/attachment.bin


More information about the freebsd-net mailing list