opnsense-src/sys/dev/hyperv
Sepherosa Ziehau 719d2f1ad5 hyperv/hn: Improve sending performance
- Avoid main lock contention by trylock for if_start, if that fails,
  schedule TX taskqueue for if_start
- Don't do direct sending if the packet to be sent is large, e.g.
  TSO packet.

This change gives me stable 9.1Gbps TCP sending performance w/ TSO
over a 10Gbe directly connected network (the performance fluctuated
between 4Gbps and 9Gbps before this commit). It also improves non-
TSO TCP sending performance a lot.

Reviewed by:		adrian, royger
Approved by:		adrian (mentor)
Sponsored by:		Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5074
2016-01-26 09:42:13 +00:00
..
include hyperv: remove unused vmbus definitions 2016-01-14 02:55:28 +00:00
netvsc hyperv/hn: Improve sending performance 2016-01-26 09:42:13 +00:00
stordisengage Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree 2014-10-24 06:27:45 +00:00
storvsc hyperv/stor: Verify returned inquiry data before further dispatching 2016-01-22 09:06:40 +00:00
utilities hyperv/kvp: wake up the daemon if it's sleeping due to poll() 2015-12-15 11:20:20 +00:00
vmbus hyperv/vmbus: Avoid extra copy of page information. 2016-01-25 05:33:18 +00:00