iw_cxgb4/cxgb4/cxgb4vf/cxgb4i/csiostor: Cleanup register defines/macros related to all other cpl messages
This patch cleanups all other macros/register define related to CPL messages that are defined in t4_msg.h and the affected files Signed-off-by: Anish Bhatt <anish@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
6c53e938a8
commit
bdc590b99f
@@ -1758,7 +1758,7 @@ csio_ln_mgmt_submit_wr(struct csio_mgmtm *mgmtm, struct csio_ioreq *io_req,
|
||||
else {
|
||||
/* Program DSGL to dma payload */
|
||||
dsgl.cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) |
|
||||
ULPTX_MORE | ULPTX_NSGE(1));
|
||||
ULPTX_MORE_F | ULPTX_NSGE_V(1));
|
||||
dsgl.len0 = cpu_to_be32(pld_len);
|
||||
dsgl.addr0 = cpu_to_be64(pld->paddr);
|
||||
csio_wr_copy_to_wrp(&dsgl, &wrp, ALIGN(wr_off, 8),
|
||||
|
@@ -298,8 +298,8 @@ csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req,
|
||||
struct csio_dma_buf *dma_buf;
|
||||
struct scsi_cmnd *scmnd = csio_scsi_cmnd(req);
|
||||
|
||||
sgl->cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) | ULPTX_MORE |
|
||||
ULPTX_NSGE(req->nsge));
|
||||
sgl->cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) | ULPTX_MORE_F |
|
||||
ULPTX_NSGE_V(req->nsge));
|
||||
/* Now add the data SGLs */
|
||||
if (likely(!req->dcopy)) {
|
||||
scsi_for_each_sg(scmnd, sgel, req->nsge, i) {
|
||||
|
Reference in New Issue
Block a user