Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.h61 const struct ib_grh *in_grh, const struct ib_mad *in,
/kernel/linux/linux-5.10/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,
441 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.h382 struct ib_grh *grh;
1751 const struct ib_grh *old_grh);
1754 u8 sc5, const struct ib_grh *old_grh);
1757 u8 sc5, const struct ib_grh *old_grh);
2625 struct ib_grh *grh, u32 slid, in hfi1_make_ext_grh()
Ddriver.c301 struct ib_grh *grh = packet->grh; in rcv_hdrerr()
454 struct ib_grh *grh = pkt->grh; in hfi1_process_ecn_slowpath()
1601 u8 grh_len = sizeof(struct ib_grh); in hfi1_setup_bypass_packet()
/kernel/linux/linux-5.10/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_verbs.h246 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
322 u32 qib_make_grh(struct qib_ibport *ibp, struct ib_grh *hdr,
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h268 struct ib_grh grh;
811 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
814 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
861 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()
512 struct ib_grh *grh, struct ib_mad *mad) in mlx4_ib_send_to_slave()
682 struct ib_wc *wc, struct ib_grh *grh, in mlx4_ib_demux_mad()
822 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in ib_process_mad()
936 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in iboe_process_mad()
983 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx4_ib_process_mad()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.h96 const struct ib_grh *in_grh, const struct ib_mad *in_mad,
/kernel/linux/linux-5.10/include/rdma/
Dib_hdrs.h101 struct ib_grh grh;
Dib_mad.h605 struct ib_grh *grh;
Dib_verbs.h765 struct ib_grh { struct
775 struct ib_grh ibgrh; argument
2134 struct ib_grh;
2307 const struct ib_grh *in_grh,
3520 const struct ib_wc *wc, const struct ib_grh *grh,
3536 const struct ib_grh *grh, u8 port_num);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c56 const struct ib_grh *in_grh, const void *in_mad, in mlx5_MAD_IFC()
220 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_cmd.h315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmthca_mad.c200 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_process_mad()
/kernel/linux/linux-5.10/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