Home
last modified time | relevance | path

Searched refs:sqsize (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Diwch_provider.c905 int wqsize, sqsize, rqsize; in iwch_create_qp() local
938 sqsize = roundup_pow_of_two(attrs->cap.max_send_wr); in iwch_create_qp()
939 wqsize = roundup_pow_of_two(rqsize + sqsize); in iwch_create_qp()
946 if (!ucontext && wqsize < (rqsize + (2 * sqsize))) in iwch_create_qp()
950 wqsize, sqsize, rqsize); in iwch_create_qp()
956 qhp->wq.sq_size_log2 = ilog2(sqsize); in iwch_create_qp()
964 attrs->cap.max_send_wr = sqsize; in iwch_create_qp()
/linux-2.6.39/drivers/infiniband/hw/cxgb4/
Dqp.c1367 int sqsize, rqsize; in c4iw_create_qp() local
1391 sqsize = roundup(attrs->cap.max_send_wr + 1, 16); in c4iw_create_qp()
1392 if (sqsize > T4_MAX_SQ_SIZE) in c4iw_create_qp()
1401 qhp->wq.sq.size = sqsize; in c4iw_create_qp()
1402 qhp->wq.sq.memsize = (sqsize + 1) * sizeof *qhp->wq.sq.queue; in c4iw_create_qp()
1412 __func__, sqsize, qhp->wq.sq.memsize, rqsize, qhp->wq.rq.memsize); in c4iw_create_qp()
1420 attrs->cap.max_send_wr = sqsize - 1; in c4iw_create_qp()