]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: if_re.c 1.77, 1.86, 1.94
authormarius <marius@FreeBSD.org>
Sat, 15 Sep 2007 09:52:19 +0000 (09:52 +0000)
committermarius <marius@FreeBSD.org>
Sat, 15 Sep 2007 09:52:19 +0000 (09:52 +0000)
commit6c4ec39e74550700b42998590dd9bbaaed31d9d9
tree649baff4f5697f473ed26795119867c3d88f0cb8
parentfed58fe1d8f696ee3a8fedb84a5bff51e4cc343b
MFC: if_re.c 1.77, 1.86, 1.94

- Correctly set IFCAP_VLAN_HWCSUM as re(4) can do VLAN tagging/checksum
  offloading in hardware.
- Correctly set media header length for VLAN.
- Use taskqueue_drain() to wait for any pending tasks to complete rather
  than just pausing for a second.
- Initialize the rl_vlanctl field of the descriptors to zero (in order
  to clear RL_TDESC_VLANCTL_TAG).
sys/dev/re/if_re.c