Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_net_vsc.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | typedef struct netvsc_dev_ { | ||||
uint32_t rx_buf_size; | uint32_t rx_buf_size; | ||||
uint32_t rx_buf_gpadl_handle; | uint32_t rx_buf_gpadl_handle; | ||||
uint32_t rx_section_count; | uint32_t rx_section_count; | ||||
/* Holds rndis device info */ | /* Holds rndis device info */ | ||||
void *extension; | void *extension; | ||||
uint8_t destroy; | uint8_t destroy; | ||||
/* Negotiated NVSP version */ | |||||
uint32_t nvsp_version; | |||||
uint32_t num_channel; | uint32_t num_channel; | ||||
struct hyperv_dma rxbuf_dma; | struct hyperv_dma rxbuf_dma; | ||||
struct hyperv_dma txbuf_dma; | struct hyperv_dma txbuf_dma; | ||||
} netvsc_dev; | } netvsc_dev; | ||||
struct vmbus_channel; | struct vmbus_channel; | ||||
▲ Show 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | typedef struct hn_softc { | ||||
struct hn_tx_ring *hn_tx_ring; | struct hn_tx_ring *hn_tx_ring; | ||||
int hn_cpu; | int hn_cpu; | ||||
int hn_tx_chimney_max; | int hn_tx_chimney_max; | ||||
struct taskqueue *hn_tx_taskq; | struct taskqueue *hn_tx_taskq; | ||||
struct sysctl_oid *hn_tx_sysctl_tree; | struct sysctl_oid *hn_tx_sysctl_tree; | ||||
struct sysctl_oid *hn_rx_sysctl_tree; | struct sysctl_oid *hn_rx_sysctl_tree; | ||||
struct vmbus_xact_ctx *hn_xact; | struct vmbus_xact_ctx *hn_xact; | ||||
uint32_t hn_nvs_ver; | |||||
} hn_softc_t; | } hn_softc_t; | ||||
/* | /* | ||||
* Externs | * Externs | ||||
*/ | */ | ||||
extern int hv_promisc_mode; | extern int hv_promisc_mode; | ||||
struct hn_send_ctx; | struct hn_send_ctx; | ||||
Show All 13 Lines |