Date: Tue, 20 Sep 2005 13:44:36 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_vlan.c Message-ID: <200509201344.j8KDia4e062714@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-09-20 13:44:36 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/net if_vlan.c
Log:
MFC 1.84 by yar:
Test the new M_VLANTAG packet flag before calling
m_tag_locate(). This adds little overhead of a simple
bitwise operation in case hardware VLAN acceleration
is on, yet saves the more expensive function call if
the acceleration is off.
Reviewed by: ru, glebius
Approved by: re (kensmith)
Revision Changes Path
1.79.2.4 +5 -2 src/sys/net/if_vlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509201344.j8KDia4e062714>
