Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354982
b: refs/heads/master
c: 2416603
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent d89688b commit e124128
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 610071c38463998d5a66388ff9956aaeb24b49a8
refs/heads/master: 2416603ef1e12955850ade0d0cdecbef1fc59fa3
28 changes: 21 additions & 7 deletions trunk/include/linux/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,28 @@ struct hv_ring_buffer {

u32 interrupt_mask;

/* Pad it to PAGE_SIZE so that data starts on page boundary */
u8 reserved[4084];

/* NOTE:
* The interrupt_mask field is used only for channels but since our
* vmbus connection also uses this data structure and its data starts
* here, we commented out this field.
/*
* Win8 uses some of the reserved bits to implement
* interrupt driven flow management. On the send side
* we can request that the receiver interrupt the sender
* when the ring transitions from being full to being able
* to handle a message of size "pending_send_sz".
*
* Add necessary state for this enhancement.
*/
u32 pending_send_sz;

u32 reserved1[12];

union {
struct {
u32 feat_pending_send_sz:1;
};
u32 value;
} feature_bits;

/* Pad it to PAGE_SIZE so that data starts on page boundary */
u8 reserved2[4028];

/*
* Ring data starts here + RingDataStartOffset
Expand Down

0 comments on commit e124128

Please sign in to comment.