diff options
author | np <np@FreeBSD.org> | 2010-06-12 22:33:04 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2010-06-12 22:33:04 +0000 |
commit | a3db6f34d740490067775fb13808463a2ccbf11b (patch) | |
tree | 0dcd353640aab63c563d231346a6253b4253cdf7 /lib/libc/stdlib/atexit.c | |
parent | 6a6e0cff3dd9253165191bb783eed2d3a264b9a3 (diff) | |
download | FreeBSD-src-a3db6f34d740490067775fb13808463a2ccbf11b.zip FreeBSD-src-a3db6f34d740490067775fb13808463a2ccbf11b.tar.gz |
cxgb(4): add knob to get packet timestamps from the hardware.
The T3 ASIC can provide an incoming packet's timestamp instead of its RSS hash.
The timestamp is just a counter running off the card's clock. With a 175MHz
clock an increment represents ~5.7ns and the 32 bit value wraps around in ~25s.
# sysctl -d dev.cxgbc.0.pkt_timestamp
dev.cxgbc.0.pkt_timestamp: provide packet timestamp instead of connection hash
# sysctl -d dev.cxgbc.0.core_clock
dev.cxgbc.0.core_clock: core clock frequency (in KHz)
# sysctl dev.cxgbc.0.core_clock
dev.cxgbc.0.core_clock: 175000
Diffstat (limited to 'lib/libc/stdlib/atexit.c')
0 files changed, 0 insertions, 0 deletions