Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/infiniband/hw/ocrdma/
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 …]
Docrdma_ah.h63 const struct ib_grh *in_grh,
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dud.c150 wc.byte_len = length + sizeof(struct ib_grh); in ud_loopback()
186 struct ib_grh grh; in ud_loopback()
218 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in ud_loopback()
315 struct ib_grh *grh; in hfi1_make_ud_req_9B()
415 struct ib_grh *grh; in hfi1_make_ud_req_16B()
634 u8 sc5, const struct ib_grh *old_grh) in return_cnp_16B()
652 struct ib_grh *grh = &hdr.opah.u.l.grh; in return_cnp_16B()
662 hwords += sizeof(struct ib_grh) / sizeof(u32); in return_cnp_16B()
696 const struct ib_grh *old_grh) in return_cnp()
710 struct ib_grh *grh = &hdr.ibh.u.l.grh; in return_cnp()
[all …]
Dverbs.h125 struct ib_grh grh;
332 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
442 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
Druc.c168 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr, in hfi1_make_grh()
188 return sizeof(struct ib_grh) / sizeof(u32); in hfi1_make_grh()
293 struct ib_grh *grh; in hfi1_make_ruc_header_16B()
375 struct ib_grh *grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ruc_header_9B()
Dhfi.h373 struct ib_grh *grh;
1614 const struct ib_grh *old_grh);
1617 u8 sc5, const struct ib_grh *old_grh);
1620 u8 sc5, const struct ib_grh *old_grh);
2448 struct ib_grh *grh, u32 slid, in hfi1_make_ext_grh()
Ddriver.c297 struct ib_grh *grh = packet->grh; in rcv_hdrerr()
450 struct ib_grh *grh = pkt->grh; in hfi1_process_ecn_slowpath()
1527 u8 grh_len = sizeof(struct ib_grh); in hfi1_setup_bypass_packet()
/Linux-v5.4/drivers/infiniband/hw/qib/
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()
522 wc.byte_len = tlen + sizeof(struct ib_grh); in qib_ud_rcv()
550 sizeof(struct ib_grh), true, false); in qib_ud_rcv()
553 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_rcv()
554 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
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()
Dqib_verbs.h247 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
324 u32 qib_make_grh(struct qib_ibport *ibp, struct ib_grh *hdr,
/Linux-v5.4/drivers/infiniband/core/
Dagent.h47 extern void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh,
Dmad_priv.h81 struct ib_grh grh;
Dagent.c81 void agent_send_response(const struct ib_mad_hdr *mad_hdr, const struct ib_grh *grh, in agent_send_response()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmad.h54 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmad.c71 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h272 struct ib_grh grh;
787 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
790 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
844 struct ib_grh *grh, struct ib_mad *mad);
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()
486 static int get_gids_from_l3_hdr(struct ib_grh *grh, union ib_gid *sgid, in get_gids_from_l3_hdr()
505 struct ib_grh *grh, struct ib_mad *mad) in mlx4_ib_send_to_slave()
665 struct ib_wc *wc, struct ib_grh *grh, in mlx4_ib_demux_mad()
803 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in ib_process_mad()
938 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in iboe_process_mad()
986 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx4_ib_process_mad()
[all …]
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmad.c57 const struct ib_grh *in_grh, const void *in_mad, in mlx5_MAD_IFC()
78 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in process_mad()
273 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad()
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.h96 const struct ib_grh *in_grh,
/Linux-v5.4/include/rdma/
Dib_hdrs.h143 struct ib_grh grh;
Dib_verbs.h752 struct ib_grh { struct
762 struct ib_grh ibgrh; argument
2124 struct ib_grh;
2280 const struct ib_grh *in_grh,
3432 const struct ib_wc *wc, const struct ib_grh *grh,
3448 const struct ib_grh *grh, u8 port_num);
Dib_mad.h649 struct ib_grh *grh;
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_cmd.h315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmthca_mad.c203 const struct ib_grh *in_grh, in mthca_process_mad()
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
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