diff options
author | sephe <sephe@FreeBSD.org> | 2016-01-12 01:50:56 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-01-12 01:50:56 +0000 |
commit | b0c6076d095bb9c7e2d0d02477484605e62c01f4 (patch) | |
tree | e35a63ac0bbce4e40be5e5bbb2425ab1f490bf19 /sys/boot/efi/loader/autoload.c | |
parent | fa64dde96e6db540e75874fd06f000187af0924d (diff) | |
download | FreeBSD-src-b0c6076d095bb9c7e2d0d02477484605e62c01f4.zip FreeBSD-src-b0c6076d095bb9c7e2d0d02477484605e62c01f4.tar.gz |
hyperv/hn: Avoid mbuf cluster allocation, if the packet is small.
This one mainly avoids mbuf cluster allocation for TCP ACKs during
TCP sending tests. And it gives me ~200Mbps improvement (4.7Gbps
-> 4.9Gbps), when running iperf3 TCP sending test w/ 16 connections.
While I'm here, nuke the unnecessary zeroing out pkthdr.csum_flags.
Reviewed by: adrain
Approved by: adrian (mentor)
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4853
Diffstat (limited to 'sys/boot/efi/loader/autoload.c')
0 files changed, 0 insertions, 0 deletions