Date: Fri, 16 Sep 2005 15:53:12 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Yar Tikhiy <yar@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_vlan.c Message-ID: <20050916115312.GT53891@cell.sick.ru> In-Reply-To: <200509161144.j8GBihiM082730@repoman.freebsd.org> References: <200509161144.j8GBihiM082730@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 16, 2005 at 11:44:43AM +0000, Yar Tikhiy wrote: Y> yar 2005-09-16 11:44:43 UTC Y> Y> FreeBSD src repository Y> Y> Modified files: Y> sys/net if_vlan.c Y> Log: Y> Test the new M_VLANTAG packet flag before calling Y> m_tag_locate(). This adds little overhead of a simple Y> bitwise operation in case hardware VLAN acceleration Y> is on, yet saves the more expensive function call if Y> the acceleration is off. Y> Y> Reviewed by: ru, glebius Y> X-MFC-after: 6.0 ^^^^^^^^^^^^^^^^^^^ Why? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916115312.GT53891>