Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/vmware/vmxnet3/if_vmx.c
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | static struct if_shared_ctx vmxnet3_sctx_init = { | ||||
.isc_rx_maxsize = VMXNET3_RX_MAXSEGSIZE, /* One buf per descriptor */ | .isc_rx_maxsize = VMXNET3_RX_MAXSEGSIZE, /* One buf per descriptor */ | ||||
.isc_rx_nsegments = 1, /* One mapping per descriptor */ | .isc_rx_nsegments = 1, /* One mapping per descriptor */ | ||||
.isc_rx_maxsegsize = VMXNET3_RX_MAXSEGSIZE, | .isc_rx_maxsegsize = VMXNET3_RX_MAXSEGSIZE, | ||||
.isc_admin_intrcnt = 1, | .isc_admin_intrcnt = 1, | ||||
.isc_vendor_info = vmxnet3_vendor_info_array, | .isc_vendor_info = vmxnet3_vendor_info_array, | ||||
.isc_driver_version = "2", | .isc_driver_version = "2", | ||||
.isc_driver = &vmxnet3_iflib_driver, | .isc_driver = &vmxnet3_iflib_driver, | ||||
.isc_flags = IFLIB_HAS_RXCQ | IFLIB_HAS_TXCQ, | .isc_flags = IFLIB_HAS_RXCQ | IFLIB_HAS_TXCQ | IFLIB_SINGLE_IRQ_RX_ONLY, | ||||
/* | /* | ||||
* Number of receive queues per receive queue set, with associated | * Number of receive queues per receive queue set, with associated | ||||
* descriptor settings for each. | * descriptor settings for each. | ||||
*/ | */ | ||||
.isc_nrxqs = 3, | .isc_nrxqs = 3, | ||||
.isc_nfl = 2, /* one free list for each receive command queue */ | .isc_nfl = 2, /* one free list for each receive command queue */ | ||||
.isc_nrxd_min = {VMXNET3_MIN_RX_NDESC, VMXNET3_MIN_RX_NDESC, VMXNET3_MIN_RX_NDESC}, | .isc_nrxd_min = {VMXNET3_MIN_RX_NDESC, VMXNET3_MIN_RX_NDESC, VMXNET3_MIN_RX_NDESC}, | ||||
▲ Show 20 Lines • Show All 2,121 Lines • Show Last 20 Lines |