summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/funopen.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-06-16 03:38:44 +0000
committerwpaul <wpaul@FreeBSD.org>2001-06-16 03:38:44 +0000
commit67401af855dc25f469be2dac62ad5e3f15a7b805 (patch)
tree9ef4687c4004b26775e3069d54437389899e3428 /lib/libc/stdio/funopen.c
parentc4b28e836b3ad3dc7cf537973ce73a09925830ce (diff)
downloadFreeBSD-src-67401af855dc25f469be2dac62ad5e3f15a7b805.zip
FreeBSD-src-67401af855dc25f469be2dac62ad5e3f15a7b805.tar.gz
Fix the last serious bug I've been chasing:
The DP83820/83821 has an undocumented limitation concerning jumbo frames and TX checksum offload. In order for TX checksum offload to work, the outgoing frame must fit entirely within the TX FIFO, which is 8192 bytes in size. This isn't a problem, until you try to send a 9000-byte frame, at which point the TX DMA engine goes to sleep. It turns out that if you want to send a jumbo frame larger than 8170 bytes (8192 - 64), you have to turn off the TX checksum support. As a workaround, I changed nge_ioctl() so that if the user selects an MTU larger than 8152 bytes, we clear the if_hwassist flags. The flags will be set again once the MTU is reduced to a smaller value.
Diffstat (limited to 'lib/libc/stdio/funopen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud