diff options
author | sephe <sephe@FreeBSD.org> | 2016-02-26 09:41:00 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-02-26 09:41:00 +0000 |
commit | 7f715ff4c3a5722b100666951b26064f160f641a (patch) | |
tree | e542cca5dd9f1b5eb72984eb69136f3e8588b8d1 /sys/dev/hyperv/include | |
parent | f2f0a7acdb3132dd87c9a03f4e21309a7b5d03b8 (diff) | |
download | FreeBSD-src-7f715ff4c3a5722b100666951b26064f160f641a.zip FreeBSD-src-7f715ff4c3a5722b100666951b26064f160f641a.tar.gz |
hyperv/hn: Associate TX/RX ring with channel
This fixes the TX/RX ring selection for TX/RX done.
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5454
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r-- | sys/dev/hyperv/include/hyperv.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h index 1f93664..376dd5f 100644 --- a/sys/dev/hyperv/include/hyperv.h +++ b/sys/dev/hyperv/include/hyperv.h @@ -822,10 +822,12 @@ typedef struct hv_vmbus_channel { * This will be NULL for the primary channel. */ struct hv_vmbus_channel *primary_channel; + /* - * Support per channel state for use by vmbus drivers. + * Driver private data */ - void *per_channel_state; + void *hv_chan_priv1; + void *hv_chan_priv2; } hv_vmbus_channel; #define HV_VMBUS_CHAN_ISPRIMARY(chan) ((chan)->primary_channel == NULL) |