Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171209610
D7455.id19172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
497 B
Referenced Files
None
Subscribers
None
D7455.id19172.diff
View Options
Index: sys/dev/hyperv/include/vmbus.h
===================================================================
--- sys/dev/hyperv/include/vmbus.h
+++ sys/dev/hyperv/include/vmbus.h
@@ -89,6 +89,11 @@
(const void *)((const uint8_t *)(pkt) + \
VMBUS_CHANPKT_GETLEN((pkt)->cph_hlen))
+/* Include padding */
+#define VMBUS_CHANPKT_DATALEN(pkt) \
+ (VMBUS_CHANPKT_GETLEN((pkt)->cph_tlen) -\
+ VMBUS_CHANPKT_GETLEN((pkt)->cph_hlen))
+
struct vmbus_rxbuf_desc {
uint32_t rb_len;
uint32_t rb_ofs;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 10, 1:20 PM (6 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38647728
Default Alt Text
D7455.id19172.diff (497 B)
Attached To
Mode
D7455: hyperv/vmbus: Add macro to get channel packet data length.
Attached
Detach File
Event Timeline
Log In to Comment