diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2007-06-18 17:24:38 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 23:12:26 -0400 |
commit | 1dd6a1be1416be48cafda9e63a614f26f0428d10 (patch) | |
tree | a20e33515a80c2da5153d66754cb194503b9974d /drivers/infiniband/hw/ipath/ipath_uc.c | |
parent | 6d2fad0472ca0d6caba7c36d2823a527e2a0e4f5 (diff) |
IB/ipath: Set M bit in BTH according to IB spec
According to chapter 17.2.8.1.1, QPs start in the migrated state and
should send packets with the M bit set in the BTH.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_uc.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_uc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_uc.c b/drivers/infiniband/hw/ipath/ipath_uc.c index 49d650cabccf..243d7c61e18d 100644 --- a/drivers/infiniband/hw/ipath/ipath_uc.c +++ b/drivers/infiniband/hw/ipath/ipath_uc.c | |||
@@ -86,7 +86,7 @@ int ipath_make_uc_req(struct ipath_qp *qp, | |||
86 | 86 | ||
87 | /* header size in 32-bit words LRH+BTH = (8+12)/4. */ | 87 | /* header size in 32-bit words LRH+BTH = (8+12)/4. */ |
88 | hwords = 5; | 88 | hwords = 5; |
89 | bth0 = 0; | 89 | bth0 = 1 << 22; /* Set M bit */ |
90 | 90 | ||
91 | /* Get the next send request. */ | 91 | /* Get the next send request. */ |
92 | wqe = get_swqe_ptr(qp, qp->s_last); | 92 | wqe = get_swqe_ptr(qp, qp->s_last); |