summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-12-04 06:54:46 +0000
committerarybchik <arybchik@FreeBSD.org>2015-12-04 06:54:46 +0000
commit141ce5ce2fc6f484963124bc86fa0317a7e58222 (patch)
tree82bd73fca1f975e5004dbc129c75441d0b67e509 /lib/libc/stdlib/realpath.c
parentdb96dd568583052b75ff2c7317004dffe3986444 (diff)
downloadFreeBSD-src-141ce5ce2fc6f484963124bc86fa0317a7e58222.zip
FreeBSD-src-141ce5ce2fc6f484963124bc86fa0317a7e58222.tar.gz
sfxge: [EF10] support RxQ scattering control
If, for example, a VF is configured to use a 1500 byte MTU, but the port it is attached to is set to 9000 bytes, overlength frames can be received by the VF. As Huntington scatters by default, these overlength packets would be scattered across several descriptors, with all except the last having the CONT bit set. To avoid this, disable scatter when creating RXQs if the firmware supports doing so, which all recent versions do. Then we only get a single descriptor from an overlength frame. This will have the CONT bit set to indicate it was truncated, so we can discard it. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4354
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud