Home
last modified time | relevance | path

Searched refs:ib_grh (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c84 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 Docrdma_ah.h61 const struct ib_grh *in_grh, const struct ib_mad *in,
/linux/drivers/infiniband/hw/hfi1/
H A Dud.c108 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 Dverbs.h83 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 Druc.c126 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 Ddriver.c254 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 Dqib_ud.c126 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 Dqib_verbs.h246 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 Dqib_ruc.c183 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 Dagent.h47 extern void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh,
H A Dmad_priv.h81 struct ib_grh grh;
H A Dagent.c90 void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, in agent_send_response()
H A Dmad.c553 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 Dmad.h12 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
H A Dmad.c32 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad()
/linux/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h269 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 Dmad.c71 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 Dverbs.h96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
/linux/include/rdma/
H A Dib_hdrs.h101 struct ib_grh grh;
H A Dib_mad.h608 struct ib_grh *grh;
H A Dib_verbs.h788 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 Dmthca_cmd.h315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
H A Dmthca_mad.c200 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_process_mad()
H A Dmthca_dev.h569 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c224 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()

12