File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -192,11 +192,11 @@ int hv_ringbuffer_read(struct vmbus_channel *channel,
192
192
u64 * requestid , bool raw );
193
193
194
194
/*
195
- * Maximum channels is determined by the size of the interrupt page
196
- * which is PAGE_SIZE . 1/2 of PAGE_SIZE is for send endpoint interrupt
197
- * and the other is receive endpoint interrupt
195
+ * The Maximum number of channels (16348) is determined by the size of the
196
+ * interrupt page, which is HV_HYP_PAGE_SIZE . 1/2 of HV_HYP_PAGE_SIZE is to
197
+ * send endpoint interrupts, and the other is to receive endpoint interrupts.
198
198
*/
199
- #define MAX_NUM_CHANNELS ((PAGE_SIZE >> 1) << 3) /* 16348 channels */
199
+ #define MAX_NUM_CHANNELS ((HV_HYP_PAGE_SIZE >> 1) << 3)
200
200
201
201
/* The value here must be in multiple of 32 */
202
202
/* TODO: Need to make this configurable */
You can’t perform that action at this time.
0 commit comments