diff options
author | Steve Wise <swise@opengridcomputing.com> | 2009-09-06 05:22:37 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 05:22:37 +0200 |
commit | b496fe82d4075847a1c42efba2e81d28f6467b3a (patch) | |
tree | 1e473df9ef60cfbedc219302c213d5d5487316bc /drivers/infiniband/hw/cxgb3/cxio_hal.c | |
parent | RDMA/cxgb3: iwch_unregister_device leaks memory (diff) | |
download | linux-b496fe82d4075847a1c42efba2e81d28f6467b3a.tar.xz 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/cxio_hal.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/cxio_hal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb3/cxio_hal.c b/drivers/infiniband/hw/cxgb3/cxio_hal.c index 62f9cf2f94ec..4dec515c676c 100644 --- a/drivers/infiniband/hw/cxgb3/cxio_hal.c +++ b/drivers/infiniband/hw/cxgb3/cxio_hal.c @@ -852,7 +852,9 @@ int cxio_rdma_init(struct cxio_rdev *rdev_p, struct t3_rdma_init_attr *attr) wqe->qpcaps = attr->qpcaps; wqe->ulpdu_size = cpu_to_be16(attr->tcp_emss); wqe->rqe_count = cpu_to_be16(attr->rqe_count); - wqe->flags_rtr_type = cpu_to_be16(attr->flags|V_RTR_TYPE(attr->rtr_type)); + wqe->flags_rtr_type = cpu_to_be16(attr->flags | + V_RTR_TYPE(attr->rtr_type) | + V_CHAN(attr->chan)); wqe->ord = cpu_to_be32(attr->ord); wqe->ird = cpu_to_be32(attr->ird); wqe->qp_dma_addr = cpu_to_be64(attr->qp_dma_addr); |