diff options
author | Steve Wise <swise@opengridcomputing.com> | 2009-09-05 20:22:37 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-05 20:22:37 -0700 |
commit | b496fe82d4075847a1c42efba2e81d28f6467b3a (patch) | |
tree | 1e473df9ef60cfbedc219302c213d5d5487316bc /drivers/infiniband/hw/cxgb3/iwch_qp.c | |
parent | 3793d2fc3eac7da11ca44df125cbcedd0b5315d0 (diff) | |
download | blackbird-op-linux-b496fe82d4075847a1c42efba2e81d28f6467b3a.tar.gz blackbird-op-linux-b496fe82d4075847a1c42efba2e81d28f6467b3a.zip |
RDMA/cxgb3: Set the appropriate IO channel in rdma_init work requests
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_qp.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_qp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw/cxgb3/iwch_qp.c index 27bbdc8e773a..6e8653471941 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_qp.c +++ b/drivers/infiniband/hw/cxgb3/iwch_qp.c @@ -889,6 +889,7 @@ static int rdma_init(struct iwch_dev *rhp, struct iwch_qp *qhp, init_attr.qp_dma_size = (1UL << qhp->wq.size_log2); init_attr.rqe_count = iwch_rqes_posted(qhp); init_attr.flags = qhp->attr.mpa_attr.initiator ? MPA_INITIATOR : 0; + init_attr.chan = qhp->ep->l2t->smt_idx; if (peer2peer) { init_attr.rtr_type = RTR_READ; if (init_attr.ord == 0 && qhp->attr.mpa_attr.initiator) |