diff options
author | sephe <sephe@FreeBSD.org> | 2016-02-24 01:30:50 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-02-24 01:30:50 +0000 |
commit | 63b2f3db69ed14038164268fb5c942d5f7a3d8b4 (patch) | |
tree | db6c17ce357be96a5512942c378ee8d278bc7990 /sys/dev/cardbus | |
parent | 257e82612c2ce6368f8fbbfa099f699c85f3a718 (diff) | |
download | FreeBSD-src-63b2f3db69ed14038164268fb5c942d5f7a3d8b4.zip FreeBSD-src-63b2f3db69ed14038164268fb5c942d5f7a3d8b4.tar.gz |
MFC [Hyper-V]: r294553, r294700
r294553
hyperv/vmbus: Lookup channel through id table
Vmbus event handler will need to find the channel by its relative
id, when software interrupt for event happens. The original lookup
searches the channel list, which is not very efficient. We now
create a table indexed by the channel relative id to speed up
the channel lookup.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reviewed by: delphij, adrain, sephe, Dexuan Cui <decui microsoft com>
Approved by: adrian (mentor)
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4802
-------------
r294700
hyperv/hn: Partly rework transmission path
- Avoid unnecessary malloc/free on transmission path.
- busdma(9)-fy transmission path.
- Properly handle IFF_DRV_OACTIVE. This should fix the network
stalls reported by many.
- Properly setup TSO parameters.
- Properly handle bpf(4) tapping. This 5 times the performance
during TCP sending test, when there is one bpf(4) attached.
- Allow size of chimney sending be tuned on a running system.
Default value still needs more test to determine.
Reviewed by: adrian, delphij
Approved by: adrian (mentor)
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4972
Approved by: re (marius)
Sponsored by: Microsoft OSTC
Diffstat (limited to 'sys/dev/cardbus')
0 files changed, 0 insertions, 0 deletions