Re: cvs commit: src/sys/net if_ethersubr.c

From: Ruslan Ermilov (ru_at_FreeBSD.org)
Date: 02/16/05

  • Next message: Charlie Schluting: "Re: puzzled network scheme"
    Date: Wed, 16 Feb 2005 01:38:42 +0200
    To: Sam Leffler <sam@errno.com>
    
    
    
    

    [ Redirected to -net ]

    On Tue, Feb 15, 2005 at 08:37:44PM +0200, Ruslan Ermilov wrote:
    > On Tue, Feb 15, 2005 at 09:48:52AM -0800, Sam Leffler wrote:
    [...]
    > > As to your other suggestion of allocating an mbuf flag bit that'd be
    > > fine with me. I didn't offer that because I thought we were out of free
    > > bits but I see m_flags got changed to an int a while back and only
    > > 16-bits are assigned.
    > >
    > OK, I'll post the patches soon then.
    >
    The patch is attached. It's rather small, and it has been
    tested on the IFCAP_VLAN_HWTAGGING hardware. It should now
    be faster than ever.

    The first argument to VLAN_OUTPUT_TAG() is now unused, but
    I don't think it would be a good idea (though I'm not opposed
    to it either) to trim it.

    I also embellished a fix in rev. 1.174 of if_ethersubr.c -- it
    now properly checks for mbufs with VLAN tags, making it possible
    to bridge(4) on vlan(4)'s whose parent interfaces support VLAN
    decapsulation in hardware.

    Cheers,

    -- 
    Ruslan Ermilov
    ru@FreeBSD.org
    FreeBSD committer
    
    

    
    




  • Next message: Charlie Schluting: "Re: puzzled network scheme"