summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2017-05-02 01:30:46 +0000
committersephe <sephe@FreeBSD.org>2017-05-02 01:30:46 +0000
commitc82017022a9a77ea70a531eebebb6abcbafe2eb0 (patch)
tree3a29d287225f1f7bc94f017c32be9eb8b0376a1f /sys/dev/hyperv
parente0680394bd4ebc0944e958c3995b0450182be833 (diff)
downloadFreeBSD-src-c82017022a9a77ea70a531eebebb6abcbafe2eb0.zip
FreeBSD-src-c82017022a9a77ea70a531eebebb6abcbafe2eb0.tar.gz
hyperv/hn: Enable sorted LRO (direct commit).
This is a direct commit. Sorted LRO is much better than plain (linked list LRO), which hash LRO is not available on this branch. Sponsored by: Microsoft
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/netvsc/if_hn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c
index 5fbb5d3..3e47c8b 100644
--- a/sys/dev/hyperv/netvsc/if_hn.c
+++ b/sys/dev/hyperv/netvsc/if_hn.c
@@ -487,7 +487,7 @@ SYSCTL_INT(_hw_hn, OID_AUTO, tx_swq_depth, CTLFLAG_RDTUN,
/* Enable sorted LRO, and the depth of the per-channel mbuf queue */
#if __FreeBSD_version >= 1100095
-static u_int hn_lro_mbufq_depth = 0;
+static u_int hn_lro_mbufq_depth = 512;
SYSCTL_UINT(_hw_hn, OID_AUTO, lro_mbufq_depth, CTLFLAG_RDTUN,
&hn_lro_mbufq_depth, 0, "Depth of LRO mbuf queue");
#endif
OpenPOWER on IntegriCloud