Re: em(4) + bridging

From: Ruslan Ermilov (ru_at_FreeBSD.org)
Date: 03/30/05

  • Next message: Brooks Davis: "Re: TFTPD"
    Date: Wed, 30 Mar 2005 20:01:23 +0300
    To: Philip Olsson <olsson@puffy.nu>
    
    
    

    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@FreeBSD.org
    FreeBSD committer
    
    



  • Next message: Brooks Davis: "Re: TFTPD"