Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/netvsc/if_hnreg.h
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | |||||
struct hn_nvs_ndis_init { | struct hn_nvs_ndis_init { | ||||
uint32_t nvs_type; /* HN_NVS_TYPE_NDIS_INIT */ | uint32_t nvs_type; /* HN_NVS_TYPE_NDIS_INIT */ | ||||
uint32_t nvs_ndis_major; /* NDIS_VERSION_MAJOR_ */ | uint32_t nvs_ndis_major; /* NDIS_VERSION_MAJOR_ */ | ||||
uint32_t nvs_ndis_minor; /* NDIS_VERSION_MINOR_ */ | uint32_t nvs_ndis_minor; /* NDIS_VERSION_MINOR_ */ | ||||
uint8_t nvs_rsvd[20]; | uint8_t nvs_rsvd[20]; | ||||
} __packed; | } __packed; | ||||
CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN); | CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN); | ||||
#define HN_NVS_DATAPATH_SYNTHETIC 0 | |||||
#define HN_NVS_DATAPATH_VF 1 | |||||
/* No response */ | |||||
struct hn_nvs_set_datapath { | |||||
uint32_t nvs_type; /* HN_NVS_TYPE_SET_DATAPATH */ | |||||
uint32_t nvs_active_path;/* HN_NVS_DATAPATH_* */ | |||||
uint32_t nvs_rsvd[6]; | |||||
} __packed; | |||||
CTASSERT(sizeof(struct hn_nvs_set_datapath) >= HN_NVS_REQSIZE_MIN); | |||||
struct hn_nvs_rxbuf_conn { | struct hn_nvs_rxbuf_conn { | ||||
uint32_t nvs_type; /* HN_NVS_TYPE_RXBUF_CONN */ | uint32_t nvs_type; /* HN_NVS_TYPE_RXBUF_CONN */ | ||||
uint32_t nvs_gpadl; /* RXBUF vmbus GPADL */ | uint32_t nvs_gpadl; /* RXBUF vmbus GPADL */ | ||||
uint16_t nvs_sig; /* HN_NVS_RXBUF_SIG */ | uint16_t nvs_sig; /* HN_NVS_RXBUF_SIG */ | ||||
uint8_t nvs_rsvd[22]; | uint8_t nvs_rsvd[22]; | ||||
} __packed; | } __packed; | ||||
CTASSERT(sizeof(struct hn_nvs_rxbuf_conn) >= HN_NVS_REQSIZE_MIN); | CTASSERT(sizeof(struct hn_nvs_rxbuf_conn) >= HN_NVS_REQSIZE_MIN); | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |