/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_ah.c | 84 const struct ib_global_route *ib_grh; in set_av_attr() local 123 ib_grh = rdma_ah_read_grh(attr); in set_av_attr() 124 ah->sgid_index = ib_grh->sgid_index; in set_av_attr() 129 ib_grh->traffic_class); in set_av_attr() 133 ipv4.ttl = ib_grh->hop_limit; in set_av_attr() 137 rdma_gid2ip((struct sockaddr*)&dgid_addr, &ib_grh->dgid); in set_av_attr() 143 (ib_grh->traffic_class << 24) | in set_av_attr() 144 ib_grh->flow_label); in set_av_attr() 145 memcpy(&grh.dgid[0], ib_grh->dgid.raw, in set_av_attr() 146 sizeof(ib_grh->dgid.raw)); in set_av_attr() [all …]
|
H A D | ocrdma_ah.h | 61 const struct ib_grh *in_grh, const struct ib_mad *in,
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 108 wc.byte_len = length + sizeof(struct ib_grh); in ud_loopback() 144 struct ib_grh grh; in ud_loopback() 176 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in ud_loopback() 273 struct ib_grh *grh; in hfi1_make_ud_req_9B() 373 struct ib_grh *grh; in hfi1_make_ud_req_16B() 593 u8 sc5, const struct ib_grh *old_grh) in return_cnp_16B() 611 struct ib_grh *grh = &hdr.opah.u.l.grh; in return_cnp_16B() 621 hwords += sizeof(struct ib_grh) / sizeof(u32); in return_cnp_16B() 655 const struct ib_grh *old_grh) in return_cnp() 669 struct ib_grh *grh = &hdr.ibh.u.l.grh; in return_cnp() [all …]
|
H A D | verbs.h | 83 struct ib_grh grh; 290 const struct ib_wc *in_wc, const struct ib_grh *in_grh, 396 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
|
H A D | ruc.c | 126 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr, in hfi1_make_grh() 146 return sizeof(struct ib_grh) / sizeof(u32); in hfi1_make_grh() 252 struct ib_grh *grh; in hfi1_make_ruc_header_16B() 335 struct ib_grh *grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ruc_header_9B()
|
H A D | driver.c | 254 struct ib_grh *grh = packet->grh; in rcv_hdrerr() 407 struct ib_grh *grh = pkt->grh; in hfi1_process_ecn_slowpath() 1554 u8 grh_len = sizeof(struct ib_grh); in hfi1_setup_bypass_packet()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 126 wc.byte_len = length + sizeof(struct ib_grh); in qib_ud_loopback() 162 struct ib_grh grh; in qib_ud_loopback() 170 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_loopback() 523 wc.byte_len = tlen + sizeof(struct ib_grh); in qib_ud_rcv() 551 sizeof(struct ib_grh), true, false); in qib_ud_rcv() 554 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_rcv() 555 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
|
H A D | qib_verbs.h | 246 const struct ib_wc *in_wc, const struct ib_grh *in_grh, 318 u32 qib_make_grh(struct qib_ibport *ibp, struct ib_grh *hdr,
|
H A D | qib_ruc.c | 183 u32 qib_make_grh(struct qib_ibport *ibp, struct ib_grh *hdr, in qib_make_grh() 203 return sizeof(struct ib_grh) / sizeof(u32); in qib_make_grh()
|
/linux/drivers/infiniband/core/ |
H A D | agent.h | 47 extern void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh,
|
H A D | mad_priv.h | 81 struct ib_grh grh;
|
H A D | agent.c | 90 void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, in agent_send_response()
|
H A D | mad.c | 553 wc->byte_len = sizeof(struct ib_mad) + sizeof(struct ib_grh); in build_smp_wc() 585 return sizeof(struct ib_grh) + mp->mad_size; in mad_priv_dma_size() 696 + sizeof(struct ib_grh); in handle_outgoing_dr_smp() 2062 recv->header.recv_wc.mad_len = wc->byte_len - sizeof(struct ib_grh); in ib_mad_recv_done()
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | mad.h | 12 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
H A D | mad.c | 32 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 269 struct ib_grh grh; 812 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, 815 const struct ib_wc *in_wc, const struct ib_grh *in_grh, 862 struct ib_grh *grh, struct ib_mad *mad);
|
H A D | mad.c | 71 struct ib_grh grh; 80 struct ib_grh grh; 87 struct ib_grh grh; 110 const struct ib_grh *in_grh, in mlx4_MAD_IFC() 487 static int get_gids_from_l3_hdr(struct ib_grh *grh, union ib_gid *sgid, in get_gids_from_l3_hdr() 513 struct ib_grh *grh, struct ib_mad *mad) in mlx4_ib_send_to_slave() 683 struct ib_wc *wc, struct ib_grh *grh, in mlx4_ib_demux_mad() 823 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in ib_process_mad() 938 const struct ib_grh *in_grh, in iboe_process_mad() 985 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx4_ib_process_mad() [all …]
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | verbs.h | 96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
|
/linux/include/rdma/ |
H A D | ib_hdrs.h | 101 struct ib_grh grh;
|
H A D | ib_mad.h | 608 struct ib_grh *grh;
|
H A D | ib_verbs.h | 788 struct ib_grh { struct 798 struct ib_grh ibgrh; argument 2349 const struct ib_grh *in_grh, 3618 const struct ib_wc *wc, const struct ib_grh *grh, 3634 const struct ib_grh *grh, u32 port_num);
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.h | 315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
H A D | mthca_mad.c | 200 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_process_mad()
|
H A D | mthca_dev.h | 569 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 224 dgid = &((struct ib_grh *)skb->data)->dgid; in ipoib_ib_handle_rx_wc() 233 sgid = &((struct ib_grh *)skb->data)->sgid; in ipoib_ib_handle_rx_wc()
|