Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_net_vsc.h
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | #endif | ||||
int hn_tx_flags; | int hn_tx_flags; | ||||
} __aligned(CACHE_LINE_SIZE); | } __aligned(CACHE_LINE_SIZE); | ||||
#define HN_TX_FLAG_ATTACHED 0x1 | #define HN_TX_FLAG_ATTACHED 0x1 | ||||
/* | /* | ||||
* Device-specific softc structure | * Device-specific softc structure | ||||
*/ | */ | ||||
typedef struct hn_softc { | struct hn_softc { | ||||
struct ifnet *hn_ifp; | struct ifnet *hn_ifp; | ||||
struct ifmedia hn_media; | struct ifmedia hn_media; | ||||
device_t hn_dev; | device_t hn_dev; | ||||
int hn_carrier; | int hn_carrier; | ||||
int hn_if_flags; | int hn_if_flags; | ||||
struct mtx hn_lock; | struct mtx hn_lock; | ||||
int hn_initdone; | int hn_initdone; | ||||
/* See hv_netvsc_drv_freebsd.c for rules on how to use */ | /* See hv_netvsc_drv_freebsd.c for rules on how to use */ | ||||
Show All 28 Lines | struct hn_softc { | ||||
uint32_t hn_chim_gpadl; | uint32_t hn_chim_gpadl; | ||||
struct hyperv_dma hn_chim_dma; | struct hyperv_dma hn_chim_dma; | ||||
uint32_t hn_rndis_rid; | uint32_t hn_rndis_rid; | ||||
uint32_t hn_ndis_ver; | uint32_t hn_ndis_ver; | ||||
struct ndis_rssprm_toeplitz hn_rss; | struct ndis_rssprm_toeplitz hn_rss; | ||||
} hn_softc_t; | }; | ||||
#define HN_FLAG_RXBUF_CONNECTED 0x0001 | #define HN_FLAG_RXBUF_CONNECTED 0x0001 | ||||
#define HN_FLAG_CHIM_CONNECTED 0x0002 | #define HN_FLAG_CHIM_CONNECTED 0x0002 | ||||
/* | /* | ||||
* Externs | * Externs | ||||
*/ | */ | ||||
extern int hv_promisc_mode; | extern int hv_promisc_mode; | ||||
Show All 10 Lines |