Skip to content

Commit e5619c1

Browse files
Vipul Pandyadavem330
authored andcommitted
RDMA/cxgb4: Update RDMA/cxgb4 due to macro definition removal in cxgb4 driver
cxgb4 driver has duplicate definitions of registers which will be removed. This patch updates the RDMA/cxgb4 driver accordingly. Signed-off-by: Santosh Rastapur <[email protected]> Signed-off-by: Vipul Pandya <[email protected]> Reviewed-by: Sivakumar Subramani <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c6c1396 commit e5619c1

File tree

1 file changed

+1
-1
lines changed
  • drivers/infiniband/hw/cxgb4

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/cxgb4/qp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ static int ring_kernel_db(struct c4iw_qp *qhp, u32 qid, u16 inc)
11551155
*/
11561156
if (cxgb4_dbfifo_count(qhp->rhp->rdev.lldi.ports[0], 1) <
11571157
(qhp->rhp->rdev.lldi.dbfifo_int_thresh << 5)) {
1158-
writel(V_QID(qid) | V_PIDX(inc), qhp->wq.db);
1158+
writel(QID(qid) | PIDX(inc), qhp->wq.db);
11591159
break;
11601160
}
11611161
set_current_state(TASK_UNINTERRUPTIBLE);

0 commit comments

Comments
 (0)