search for: msgnumentrieslog2

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

2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...e; /* PVSCSI_MSG_DEV _ADDED / _REMOVED */ > + u32 bus; > + u32 target; > + u8 lun[8]; > + u32 pad[27]; > +} __packed PVSCSIMsgDescDevStatusChanged; > + > +/* > + * Rings state. > + * > + * - the fields: > + * . msgProdIdx, > + * . msgConsIdx, > + * . msgNumEntriesLog2, > + * .. are only used once the SETUP_MSG_RING cmd has been issued. > + * - '_pad' helps to ensure that the msg related fields are on their own > + * cache-line. > + */ > + > +typedef struct PVSCSIRingsState { > + u32 reqProdIdx; > + u32 reqConsIdx; > + u32 r...
2009 Sep 09
1
[PATCH] SCSI driver for VMware's virtual HBA - V4.
...e; /* PVSCSI_MSG_DEV _ADDED / _REMOVED */ > + u32 bus; > + u32 target; > + u8 lun[8]; > + u32 pad[27]; > +} __packed PVSCSIMsgDescDevStatusChanged; > + > +/* > + * Rings state. > + * > + * - the fields: > + * . msgProdIdx, > + * . msgConsIdx, > + * . msgNumEntriesLog2, > + * .. are only used once the SETUP_MSG_RING cmd has been issued. > + * - '_pad' helps to ensure that the msg related fields are on their own > + * cache-line. > + */ > + > +typedef struct PVSCSIRingsState { > + u32 reqProdIdx; > + u32 reqConsIdx; > + u32 r...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...+ struct PVSCSIRingsState *s = adapter->rings_state; > + struct Scsi_Host *host = adapter->host; > + struct scsi_device *sdev; > + > + printk(KERN_INFO "pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", > + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); > + > + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); > + > + if (e->type == PVSCSI_MSG_DEV_ADDED) { > + struct PVSCSIMsgDescDevStatusChanged *desc; > + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; > + > + printk(KERN_INFO "pvscsi: msg: device added at scsi%u:%u:%u\n...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...+ struct PVSCSIRingsState *s = adapter->rings_state; > + struct Scsi_Host *host = adapter->host; > + struct scsi_device *sdev; > + > + printk(KERN_INFO "pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", > + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); > + > + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); > + > + if (e->type == PVSCSI_MSG_DEV_ADDED) { > + struct PVSCSIMsgDescDevStatusChanged *desc; > + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; > + > + printk(KERN_INFO "pvscsi: msg: device added at scsi%u:%u:%u\n...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...SIRingMsgDesc *e) +{ + struct PVSCSIRingsState *s = adapter->rings_state; + struct Scsi_Host *host = adapter->host; + struct scsi_device *sdev; + + printk(KERN_INFO "vmw_pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); + + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); + + if (e->type == PVSCSI_MSG_DEV_ADDED) { + struct PVSCSIMsgDescDevStatusChanged *desc; + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; + + printk(KERN_INFO + "vmw_pvscsi: msg: device added at scsi%u:%u:%u\n", + desc-&gt...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...SIRingMsgDesc *e) +{ + struct PVSCSIRingsState *s = adapter->rings_state; + struct Scsi_Host *host = adapter->host; + struct scsi_device *sdev; + + printk(KERN_INFO "vmw_pvscsi: msg type: 0x%x - MSG RING: %u/%u (%u) \n", + e->type, s->msgProdIdx, s->msgConsIdx, s->msgNumEntriesLog2); + + BUILD_BUG_ON(PVSCSI_MSG_LAST != 2); + + if (e->type == PVSCSI_MSG_DEV_ADDED) { + struct PVSCSIMsgDescDevStatusChanged *desc; + desc = (struct PVSCSIMsgDescDevStatusChanged *)e; + + printk(KERN_INFO + "vmw_pvscsi: msg: device added at scsi%u:%u:%u\n", + desc-&gt...