Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | |||||
#define STORVSC_MAX_LUNS_PER_TARGET (64) | #define STORVSC_MAX_LUNS_PER_TARGET (64) | ||||
#define STORVSC_MAX_IO_REQUESTS (STORVSC_MAX_LUNS_PER_TARGET * 2) | #define STORVSC_MAX_IO_REQUESTS (STORVSC_MAX_LUNS_PER_TARGET * 2) | ||||
#define BLKVSC_MAX_IDE_DISKS_PER_TARGET (1) | #define BLKVSC_MAX_IDE_DISKS_PER_TARGET (1) | ||||
#define BLKVSC_MAX_IO_REQUESTS STORVSC_MAX_IO_REQUESTS | #define BLKVSC_MAX_IO_REQUESTS STORVSC_MAX_IO_REQUESTS | ||||
#define STORVSC_MAX_TARGETS (2) | #define STORVSC_MAX_TARGETS (2) | ||||
#define VSTOR_PKT_SIZE (sizeof(struct vstor_packet) - vmscsi_size_delta) | #define VSTOR_PKT_SIZE (sizeof(struct vstor_packet) - vmscsi_size_delta) | ||||
#define STORVSC_DATA_SEGCNT_MAX VMBUS_CHAN_PRPLIST_MAX | #define STORVSC_DATA_SEGCNT_MAX 32 | ||||
#define STORVSC_DATA_SEGSZ_MAX PAGE_SIZE | #define STORVSC_DATA_SEGSZ_MAX PAGE_SIZE | ||||
#define STORVSC_DATA_SIZE_MAX \ | #define STORVSC_DATA_SIZE_MAX \ | ||||
(STORVSC_DATA_SEGCNT_MAX * STORVSC_DATA_SEGSZ_MAX) | (STORVSC_DATA_SEGCNT_MAX * STORVSC_DATA_SEGSZ_MAX) | ||||
struct storvsc_softc; | struct storvsc_softc; | ||||
struct hv_sgl_node { | struct hv_sgl_node { | ||||
LIST_ENTRY(hv_sgl_node) link; | LIST_ENTRY(hv_sgl_node) link; | ||||
▲ Show 20 Lines • Show All 2,104 Lines • Show Last 20 Lines |