diff options
author | sephe <sephe@FreeBSD.org> | 2016-06-13 08:38:04 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-06-13 08:38:04 +0000 |
commit | 93d05cf6a6f115d144df573508a69376a94c974b (patch) | |
tree | dc3977057682dd274fef886df00558389559bb93 /sys/dev/hyperv/utilities/hv_util.h | |
parent | 8499850323b494258e184bbbe2545bca55172d42 (diff) | |
download | FreeBSD-src-93d05cf6a6f115d144df573508a69376a94c974b.zip FreeBSD-src-93d05cf6a6f115d144df573508a69376a94c974b.tar.gz |
MFC 295875,295876,295877,295916,295918
295875
hyperv/hn: Rename TX related function and struct fields a bit
Preamble to implement the ifnet.if_transmit method.
Reviewed by: adrian
Approved by: adrian (mentor)
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5344
295876
hyperv/hn: Staticize and rename packet TX done function
It is only used in hv_netvsc_drv_freebsd.c; and rename it to hn_tx_done()
mainly to reserve "xmit" for ifnet.if_transmit implement.
While I'm here, remove unapplied comment.
Reviewed by: adrian
Approved by: adrian (mentor)
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5345
295877
hyperv/hn: Add TX method for txeof processing.
Preamble to implement ifnet.if_transmit method.
Reviewed by: adrian
Approved by: adrian (mentor)
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5346
295916
hyperv/hn: Factor out hn_send_pkt() from hn_start_locked()
It will be shared w/ the upcoming ifnet.if_transmit method
implementation.
No functional change.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5385
295918
hyperv/hn: Use IFQ_DRV_PREPEND instead of IF_PREPEND
IF_PREPEND promises out-of-order packet sending when the TX desc list
is depleted. It was overlooked and copied blindly when the transmission
path was partially rewritten.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5386
Diffstat (limited to 'sys/dev/hyperv/utilities/hv_util.h')
0 files changed, 0 insertions, 0 deletions