mlxcx_sendq_ent_t
mlxcx_sendq_ent_t *mlwq_send_ent;
CTASSERT(sizeof (mlxcx_sendq_ent_t) == (1 << MLXCX_SENDQ_STRIDE_SHIFT));
mlxcx_sendq_ent_t *ent0;
bzero(ent0, sizeof (mlxcx_sendq_ent_t));
sizeof (mlxcx_sendq_ent_t), DDI_DMA_SYNC_FORDEV));
mlxcx_sendq_ent_t *ent0;
bzero(ent0, sizeof (mlxcx_sendq_ent_t));
ent0->mlsqe_control.mlcs_ds = offsetof(mlxcx_sendq_ent_t, mlsqe_data) /
sync_cnt * sizeof (mlxcx_sendq_ent_t),
ents * sizeof (mlxcx_sendq_ent_t), DDI_DMA_SYNC_FORDEV));
sz = mlwq->mlwq_nents * sizeof (mlxcx_sendq_ent_t);
mlwq->mlwq_send_ent = (mlxcx_sendq_ent_t *)mlwq->mlwq_dma.mxdb_va;