cxgb4i/cxgb4 : Refactor macros to conform to uniform standards
Refactored all macros used in cxgb4i as part of previously started cxgb4 macro names cleanup. Makes them more uniform and avoids namespace collision. Minor changes in other drivers where required as some of these macros are used by multiple drivers, affected drivers are iw_cxgb4, cxgb4(vf) & csiostor Signed-off-by: Anish Bhatt <anish@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8c847d2541
commit
d7990b0c34
@@ -322,7 +322,7 @@ 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(ULP_TX_SC_DSGL) | ULPTX_MORE |
|
||||
sgl->cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) | ULPTX_MORE |
|
||||
ULPTX_NSGE(req->nsge));
|
||||
/* Now add the data SGLs */
|
||||
if (likely(!req->dcopy)) {
|
||||
|
Reference in New Issue
Block a user