]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum
authorPyun YongHyeon <yongari@FreeBSD.org>
Tue, 2 Dec 2008 02:30:12 +0000 (02:30 +0000)
committerPyun YongHyeon <yongari@FreeBSD.org>
Tue, 2 Dec 2008 02:30:12 +0000 (02:30 +0000)
commitbd4fa9d9e75af3a77f80827e8571f145d0b1c95b
tree480b047fdad42b1d176ec9e80f402d8be589e5d4
parent38ddd08dd62fbe5b020a503b58d4c79c3776072d
Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum
offload for VLAN frames are also supported. The VLAN hardware
assistance is available only on 82550/82551 based controllers.
While I'm here change the confusing name of bit1 in byte 22 of
configuration block to vlan_drop_en. The bit controls whether
hardware strips VLAN tagged frame or not. Special thanks to wpaul
who sent valuable VLAN related information to me.

Tested on: i386, sparc64
sys/dev/fxp/if_fxp.c
sys/dev/fxp/if_fxpreg.h