search for: pvscsicmddescsetupmsgring

Displaying 6 results from an estimated 6 matches for "pvscsicmddescsetupmsgring".

2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...mmediately after read the 'command status' register: > + * * a value of -1 means that the cmd is NOT supported, > + * * a value != -1 means that the cmd IS supported. > + * If it's supported the 'command status' register should return: > + * sizeof(PVSCSICmdDescSetupMsgRing) / sizeof(u32). > + * - this command should be issued _after_ the usual SETUP_RINGS so that the > + * RingsState page is already setup. If not, the command is a nop. > + * - numPages needs to be a power of two, > + * - numPages needs to be different from 0, > + * - _pad should be z...
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...mmediately after read the 'command status' register: > + * * a value of -1 means that the cmd is NOT supported, > + * * a value != -1 means that the cmd IS supported. > + * If it's supported the 'command status' register should return: > + * sizeof(PVSCSICmdDescSetupMsgRing) / sizeof(u32). > + * - this command should be issued _after_ the usual SETUP_RINGS so that the > + * RingsState page is already setup. If not, the command is a nop. > + * - numPages needs to be a power of two, > + * - numPages needs to be different from 0, > + * - _pad should be z...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); > + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, > + &cmd, sizeof(cmd)); > + > + if (adapter->use_msg) { > + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; > + > + cmd_msg.numPages = adapter->msg_pages; > + > + base = adapter->msgRingPA; > + for (i = 0; i < adapter->msg_pages; i++) { > + cmd_msg.ringPPNs[i] = base >> PAGE_SHIFT; > + base += PAGE_SIZE; > + } > + memset(adapter->m...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); > + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); > + > + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, > + &cmd, sizeof(cmd)); > + > + if (adapter->use_msg) { > + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; > + > + cmd_msg.numPages = adapter->msg_pages; > + > + base = adapter->msgRingPA; > + for (i = 0; i < adapter->msg_pages; i++) { > + cmd_msg.ringPPNs[i] = base >> PAGE_SHIFT; > + base += PAGE_SIZE; > + } > + memset(adapter->m...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...ngs_state, 0, PAGE_SIZE); + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, + &cmd, sizeof(cmd)); + + if (adapter->use_msg) { + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; + + cmd_msg.numPages = adapter->msg_pages; + + base = adapter->msgRingPA; + for (i = 0; i < adapter->msg_pages; i++) { + cmd_msg.ringPPNs[i] = base >> PAGE_SHIFT; + base += PAGE_SIZE; + } + memset(adapter->msg_ring, 0, adapter->msg_pages * PAGE_SIZE...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...ngs_state, 0, PAGE_SIZE); + memset(adapter->req_ring, 0, adapter->req_pages * PAGE_SIZE); + memset(adapter->cmp_ring, 0, adapter->cmp_pages * PAGE_SIZE); + + pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_SETUP_RINGS, + &cmd, sizeof(cmd)); + + if (adapter->use_msg) { + struct PVSCSICmdDescSetupMsgRing cmd_msg = { 0 }; + + cmd_msg.numPages = adapter->msg_pages; + + base = adapter->msgRingPA; + for (i = 0; i < adapter->msg_pages; i++) { + cmd_msg.ringPPNs[i] = base >> PAGE_SHIFT; + base += PAGE_SIZE; + } + memset(adapter->msg_ring, 0, adapter->msg_pages * PAGE_SIZE...