]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set the BGE_RX_MTU register correctly so that we can receive slightly
authorBill Paul <wpaul@FreeBSD.org>
Mon, 4 Aug 2003 05:50:53 +0000 (05:50 +0000)
committerBill Paul <wpaul@FreeBSD.org>
Mon, 4 Aug 2003 05:50:53 +0000 (05:50 +0000)
commit859c6c7d0372a2b5374c394d928fb8bc9c31547e
tree5b2dc1aeacf8ebf1b7eba9e04e3a7b870b82c80a
parent183498934bdc4eedcb346ef8fdb32415e2f30d27
Set the BGE_RX_MTU register correctly so that we can receive slightly
larger than normal frames, to account for the case where a bge(4) NIC
is used with VLANs. Since we set the IFCAP_VLAN_MTU flag, we must allow
reception of frames up to 1522 bytes in size rather than 1518.

Note that it is possible to work around this bug by doing:

# ifconfig bge0 mtu 1504

prior to configuring any VLAN interfaces.
sys/dev/bge/if_bge.c