Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5619c12 authored by Vipul Pandya's avatar Vipul Pandya Committed by David S. Miller
Browse files

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: default avatarSantosh Rastapur <santosh@chelsio.com>
Signed-off-by: default avatarVipul Pandya <vipul@chelsio.com>
Reviewed-by: default avatarSivakumar Subramani <sivasu@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c6c13965
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1155,7 +1155,7 @@ static int ring_kernel_db(struct c4iw_qp *qhp, u32 qid, u16 inc)
		 */
		 */
		if (cxgb4_dbfifo_count(qhp->rhp->rdev.lldi.ports[0], 1) <
		if (cxgb4_dbfifo_count(qhp->rhp->rdev.lldi.ports[0], 1) <
		    (qhp->rhp->rdev.lldi.dbfifo_int_thresh << 5)) {
		    (qhp->rhp->rdev.lldi.dbfifo_int_thresh << 5)) {
			writel(V_QID(qid) | V_PIDX(inc), qhp->wq.db);
			writel(QID(qid) | PIDX(inc), qhp->wq.db);
			break;
			break;
		}
		}
		set_current_state(TASK_UNINTERRUPTIBLE);
		set_current_state(TASK_UNINTERRUPTIBLE);