summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/exitfail.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2012-04-11 16:11:08 +0000
committerluigi <luigi@FreeBSD.org>2012-04-11 16:11:08 +0000
commit8c1a6fb8e51814e83ee22f068d3700fbb2af951d (patch)
treeff9f7ba9cdb449cc9313620a0ba223f9f2c9cecc /contrib/diff/lib/exitfail.c
parentcfeeeaffc798c6ab2912039bb5dc45a8191c628e (diff)
downloadFreeBSD-src-8c1a6fb8e51814e83ee22f068d3700fbb2af951d.zip
FreeBSD-src-8c1a6fb8e51814e83ee22f068d3700fbb2af951d.tar.gz
A couple of changes related to ixgbe operation in netmap mode:
- add a sysctl, dev.netmap.ix_crcstrip, to control whether ixgbe should strip the CRC on received frames. Defaults to 0, which keeps the CRC. and improves performance when receiving min-sized (64-byte) frames. This matters because min-sized frames is one of the standard benchmarks for switches and routers, some chipsets seem to issue read-modify-write cycles for PCIe transactions that are not a full cache line, and a min-sized frame triggers the bug, resulting in reduced throughput -- 9.7 instead of 14.88 Mpps -- and heavy bus load. - for the time being, always look for incoming packets on a select/poll even if there has not been an interrupt in the meantime. This is only a temporary workaround for a probable race condition in keeping track of rx interrupts. Add a couple of diagnostic vars to help studying the problem.
Diffstat (limited to 'contrib/diff/lib/exitfail.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud