Lines Matching +full:software +full:- +full:initiated

4  * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or modify it
8 * Free Software Foundation; version 2 of the License and no later version.
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27 #define PVSCSI_DRIVER_VERSION_STRING "1.0.7.0-k"
31 #define MASK(n) ((1 << (n)) - 1) /* make an n-bit mask */
67 BTSTAT_HASOFTWARE = 0x27, /* host adapter software error */
123 * Command descriptor for PVSCSI_CMD_RESET_DEVICE --
132 * Command descriptor for PVSCSI_CMD_CONFIG --
143 * Command descriptor for PVSCSI_CMD_SETUP_REQCALLTHRESHOLD --
163 * Command descriptor for PVSCSI_CMD_ABORT_CMD --
165 * - currently does not support specifying the LUN.
166 * - _pad should be 0.
176 * Command descriptor for PVSCSI_CMD_SETUP_RINGS --
179 * - reqRingNumPages and cmpRingNumPages need to be power of two.
180 * - reqRingNumPages and cmpRingNumPages need to be different from 0,
181 * - reqRingNumPages and cmpRingNumPages need to be inferior to
195 * Command descriptor for PVSCSI_CMD_SETUP_MSG_RING --
198 * - this command was not supported in the initial revision of the h/w
202 * * a value of -1 means that the cmd is NOT supported,
203 * * a value != -1 means that the cmd IS supported.
206 * - this command should be issued _after_ the usual SETUP_RINGS so that the
208 * - numPages needs to be a power of two,
209 * - numPages needs to be different from 0,
210 * - _pad should be zero.
232 * - type is of type enum PVSCSIMsgType.
233 * - the content of args depend on the type of event being delivered.
252 * - the fields:
257 * - '_pad' helps to ensure that the msg related fields are on their own
258 * cache-line.
284 * - context: is a unique identifier of a command. It could normally be any
291 * - dataLen: contains the total number of bytes that need to be transferred.
292 * - dataAddr:
298 * - flags:
305 * - vcpuHint: vcpuId of the processor that will be most likely waiting for the
309 * the processor that initiated the i/o as a likely candidate for the vcpu
311 * - bus should be 0: we currently only support bus 0 for now.
312 * - unused should be zero'd.
339 * Scatter-gather list management.
345 * - each segment of the s/g table contain a succession of struct
347 * - each segment is entirely contained on a single physical page of memory.
348 * - a "chain" s/g element has the flag PVSCSI_SGE_FLAG_CHAIN_ELEMENT set in
365 * - context: identifier of the command. The same thing that was specified
367 * - dataLen: number of bytes transferred for the actual i/o operation,
368 * - senseLen: number of bytes written into the sense buffer,
369 * - hostStatus: adapter status,
370 * - scsiStatus: device status,
371 * - _pad should be zero.
419 * Number of MSI-X vectors supported.