diff options
author | 2015-10-08 11:39:59 +0000 | |
---|---|---|
committer | 2015-10-08 11:39:59 +0000 | |
commit | 6081070972e396d68bcbec5014c0d14e154e43c0 (patch) | |
tree | c03c62787020d5c0dec5a537d0e7671071d60749 /usr.bin/diff/diff.c | |
parent | use the state id to set a flowid on an mbuf. (diff) | |
download | wireguard-openbsd-6081070972e396d68bcbec5014c0d14e154e43c0.tar.xz wireguard-openbsd-6081070972e396d68bcbec5014c0d14e154e43c0.zip |
if the mbuf has a valid flowid, use it instead of using siphash24
and a bunch of header fields we have to parse the mbuf for.
siphash24 is about 20% of the cost of sending a udp packet on a
trunk interface with tcpbench on my box. if there's a flowid set
we get all that back.
ok mpi@ mikeb@ sthen@
Diffstat (limited to 'usr.bin/diff/diff.c')
0 files changed, 0 insertions, 0 deletions