• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/

Lines Matching defs:ohdr

77  * @ohdr: a pointer to the IB header being constructed
85 struct ipath_other_headers *ohdr,
130 ohdr->u.aeth = ipath_compute_aeth(qp);
139 ohdr->u.at.aeth = ipath_compute_aeth(qp);
140 ohdr->u.at.atomic_ack_eth[0] =
142 ohdr->u.at.atomic_ack_eth[1] =
144 hwords += sizeof(ohdr->u.at) / sizeof(u32);
158 ohdr->u.aeth = ipath_compute_aeth(qp);
178 ohdr->u.aeth =
183 ohdr->u.aeth = ipath_compute_aeth(qp);
202 * @ohdr: a pointer to the IB header being constructed
211 struct ipath_other_headers *ohdr,
227 ipath_make_rc_ack(qp, ohdr, pmtu, bth0p, bth2p))
300 ohdr->u.imm_data = wqe->wr.imm_data;
319 ohdr->u.rc.reth.vaddr =
321 ohdr->u.rc.reth.rkey =
323 ohdr->u.rc.reth.length = cpu_to_be32(len);
338 ohdr->u.rc.imm_data = wqe->wr.imm_data;
370 ohdr->u.rc.reth.vaddr =
372 ohdr->u.rc.reth.rkey =
374 ohdr->u.rc.reth.length = cpu_to_be32(len);
376 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32);
402 ohdr->u.atomic_eth.swap_data = cpu_to_be64(
404 ohdr->u.atomic_eth.compare_data = cpu_to_be64(
408 ohdr->u.atomic_eth.swap_data = cpu_to_be64(
410 ohdr->u.atomic_eth.compare_data = 0;
412 ohdr->u.atomic_eth.vaddr[0] = cpu_to_be32(
414 ohdr->u.atomic_eth.vaddr[1] = cpu_to_be32(
416 ohdr->u.atomic_eth.rkey = cpu_to_be32(
482 ohdr->u.imm_data = wqe->wr.imm_data;
518 ohdr->u.imm_data = wqe->wr.imm_data;
536 ohdr->u.rc.reth.vaddr =
538 ohdr->u.rc.reth.rkey =
540 ohdr->u.rc.reth.length = cpu_to_be32(qp->s_len);
542 hwords += sizeof(ohdr->u.rc.reth) / sizeof(u32);
584 struct ipath_other_headers *ohdr;
594 ohdr = &hdr.u.oth;
602 ohdr = &hdr.u.l.oth;
609 ohdr->u.aeth = cpu_to_be32((qp->r_msn & IPATH_MSN_MASK) |
613 ohdr->u.aeth = ipath_compute_aeth(qp);
619 ohdr->bth[0] = cpu_to_be32(bth0);
620 ohdr->bth[1] = cpu_to_be32(qp->remote_qpn);
621 ohdr->bth[2] = cpu_to_be32(qp->r_ack_psn & IPATH_PSN_MASK);
1054 * @ohdr: the other headers for this packet
1069 struct ipath_other_headers *ohdr,
1095 aeth = be32_to_cpu(ohdr->u.aeth);
1115 aeth = be32_to_cpu(ohdr->u.aeth);
1124 __be32 *p = ohdr->u.at.atomic_ack_eth;
1187 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
1214 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
1227 aeth = be32_to_cpu(ohdr->u.aeth);
1270 * @ohdr: the other headers for this packet
1285 struct ipath_other_headers *ohdr,
1365 reth = &ohdr->u.rc.reth;
1479 struct ipath_other_headers *ohdr;
1496 ohdr = &hdr->u.oth;
1498 psn = be32_to_cpu(ohdr->bth[2]);
1501 ohdr = &hdr->u.l.oth;
1513 psn = be32_to_cpu(ohdr->bth[2]);
1522 opcode = be32_to_cpu(ohdr->bth[0]) >> 24;
1525 ipath_rc_rcv_resp(dev, ohdr, data, tlen, qp, opcode, psn,
1533 if (ipath_rc_rcv_error(dev, ohdr, data, qp, opcode,
1631 wc.imm_data = ohdr->u.imm_data;
1640 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
1667 (ohdr->bth[0] &
1677 reth = &ohdr->u.rc.reth;
1729 reth = &ohdr->u.rc.reth;
1798 ateth = &ohdr->u.atomic_eth;