diff options
author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-08-16 07:26:53 +0000 |
---|---|---|
committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2016-08-16 07:26:53 +0000 |
commit | 5ac4acb202a3e94473f69cd52e172e868eb1a7ce (patch) | |
tree | 384c9575ecdbed6bd02309077766fc353211b3ab /sys/dev/hyperv/include/vmbus.h | |
parent | 8452c1b345ae98bf2fbd249a81917d64d3ce8531 (diff) | |
download | src-5ac4acb202a3e94473f69cd52e172e868eb1a7ce.tar.gz src-5ac4acb202a3e94473f69cd52e172e868eb1a7ce.zip |
hyperv/hn: Factor out hn_nvs_send/hn_nvs_send_sglist
Avoid unnecessary message type setting and centralize the send context
to transaction id cast.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7500
Notes
Notes:
svn path=/head/; revision=304204
Diffstat (limited to 'sys/dev/hyperv/include/vmbus.h')
-rw-r--r-- | sys/dev/hyperv/include/vmbus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h index 0a16e6e8957d..5843f0345e0a 100644 --- a/sys/dev/hyperv/include/vmbus.h +++ b/sys/dev/hyperv/include/vmbus.h @@ -83,6 +83,7 @@ struct vmbus_chanpkt_hdr { #define VMBUS_CHANPKT_TYPE_GPA 0x0009 #define VMBUS_CHANPKT_TYPE_COMP 0x000b +#define VMBUS_CHANPKT_FLAG_NONE 0 #define VMBUS_CHANPKT_FLAG_RC 0x0001 /* report completion */ #define VMBUS_CHANPKT_CONST_DATA(pkt) \ |