Home
last modified time | relevance | path

Searched refs:hfi1_ibport (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dverbs.h192 struct hfi1_ibport *ibp;
226 struct hfi1_ibport { struct
284 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl,
287 void hfi1_sys_guid_chg(struct hfi1_ibport *ibp);
288 void hfi1_node_desc_chg(struct hfi1_ibport *ibp);
381 int hfi1_lookup_pkey_idx(struct hfi1_ibport *ibp, u16 pkey);
394 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet);
396 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
Dmad.c59 static u16 hfi1_lookup_pkey_value(struct hfi1_ibport *ibp, int pkey_idx) in hfi1_lookup_pkey_value()
83 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps()
114 static struct trap_node *check_and_add_trap(struct hfi1_ibport *ibp, in check_and_add_trap()
186 static void subn_handle_opa_trap_repress(struct hfi1_ibport *ibp, in subn_handle_opa_trap_repress()
216 static void hfi1_update_sm_ah_attr(struct hfi1_ibport *ibp, in hfi1_update_sm_ah_attr()
233 static int hfi1_modify_qp0_ah(struct hfi1_ibport *ibp, in hfi1_modify_qp0_ah()
251 static struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u32 dlid) in hfi1_create_qp0_ah()
271 static void send_trap(struct hfi1_ibport *ibp, struct trap_node *trap) in send_trap()
372 struct hfi1_ibport *ibp = from_timer(ibp, t, rvp.trap_timer); in hfi1_handle_trap_timer()
409 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl, in hfi1_bad_pkey()
[all …]
Dud.c33 struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in ud_loopback()
229 struct hfi1_ibport *ibp; in hfi1_make_bth_deth()
272 struct hfi1_ibport *ibp; in hfi1_make_ud_req_9B()
339 struct hfi1_ibport *ibp; in hfi1_make_ud_req_16B()
440 struct hfi1_ibport *ibp; in hfi1_make_ud_req()
555 int hfi1_lookup_pkey_idx(struct hfi1_ibport *ibp, u16 pkey) in hfi1_lookup_pkey_idx()
591 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, in return_cnp_16B()
653 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, in return_cnp()
726 static int opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, in opa_smp_check()
815 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_ud_rcv()
Dipoib_main.c66 struct hfi1_ibport *ibp = to_iport(priv->device, in hfi1_ipoib_dev_open()
122 struct hfi1_ibport *ibp = to_iport(priv->device, priv->port_num); in hfi1_ipoib_mcast_attach()
152 struct hfi1_ibport *ibp = to_iport(priv->device, priv->port_num); in hfi1_ipoib_mcast_detach()
Dqp.c205 struct hfi1_ibport *ibp; in qp_set_16b()
265 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_setup_wqe()
326 struct hfi1_ibport *ibp = in _hfi1_schedule_send()
465 struct hfi1_ibport *ibp = in iowait_sleep()
719 struct hfi1_ibport *ibp = &dd->pport[n].ibport_data; in free_all_qps()
808 struct hfi1_ibport *ibp; in mtu_from_qp()
883 struct hfi1_ibport *ibp = in hfi1_qp_iter_cb()
919 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl) in hfi1_error_port_qps()
Dverbs.c333 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_kdeth_eager_rcv()
387 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_kdeth_expected_rcv()
459 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_handle_packet()
1423 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device()
1433 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device()
1459 struct hfi1_ibport *ibp = container_of(rvp, struct hfi1_ibport, rvp); in hfi1_get_guid_be()
1473 struct hfi1_ibport *ibp = to_iport(ibdev, rdma_ah_get_port_num(ah)); in ah_to_sc()
1480 struct hfi1_ibport *ibp; in hfi1_check_ah()
1510 struct hfi1_ibport *ibp; in hfi1_notify_new_ah()
1543 struct hfi1_ibport *ibp = &ppd->ibport_data; in init_ibport()
[all …]
Dhfi.h732 struct hfi1_ibport ibport_data;
1697 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn,
1700 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp,
1703 typedef void (*hfi1_handle_cnp)(struct hfi1_ibport *ibp, struct rvt_qp *qp,
1917 static inline struct hfi1_pportdata *ppd_from_ibp(struct hfi1_ibport *ibp) in ppd_from_ibp()
1927 static inline struct hfi1_ibport *to_iport(struct ib_device *ibdev, u32 port) in to_iport()
1936 static inline struct hfi1_ibport *rcd_to_iport(struct hfi1_ctxtdata *rcd) in rcd_to_iport()
1981 static inline u16 hfi1_get_pkey(struct hfi1_ibport *ibp, unsigned index) in hfi1_get_pkey()
1997 static inline __be64 get_sguid(struct hfi1_ibport *ibp, unsigned int index) in get_sguid()
2434 struct hfi1_ibport *ibp; in hfi1_update_ah_attr()
[all …]
Druc.c27 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet) in hfi1_ruc_check_hdr()
126 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr, in hfi1_make_grh()
238 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_16B()
327 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_9B()
Drc.h57 struct hfi1_ibport *ibp);
Dqp.h105 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl);
Drc.c1199 struct hfi1_ibport *ibp; in hfi1_queue_rc_ack()
1226 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_9B()
1279 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_16B()
1348 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_send_rc_ack()
1568 struct hfi1_ibport *ibp; in hfi1_restart_rc()
1583 struct hfi1_ibport *ibp = in hfi1_restart_rc()
1826 struct hfi1_ibport *ibp) in do_rc_completion()
1967 struct hfi1_ibport *ibp; in do_rc_ack()
2263 static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, in rdma_seq_err()
2308 struct hfi1_ibport *ibp; in rc_rcv_resp()
[all …]
Ddriver.c213 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rcv_hdrerr()
404 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_process_ecn_slowpath()
578 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in __prescan_rxq()
1475 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_setup_9B_packet()
1536 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_setup_bypass_packet()
1634 struct hfi1_ibport *ibp; in hfi1_ipoib_ib_rcv()
Dipoib_tx.c28 struct hfi1_ibport *ibp;
634 struct hfi1_ibport *ibp = &sde->ppd->ibport_data; in hfi1_ipoib_sdma_sleep()
Duc.c261 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_uc_rcv()
Dsysfs.c249 struct hfi1_ibport *ibp = &dd->pport[port_num - 1].ibport_data; in sl2sc_attr_show()
Dtid_rdma.c614 struct hfi1_ibport *ibp; in tid_rdma_schedule_tid_wakeup()
1989 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in tid_rdma_rcv_error()
2232 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_rc_rcv_tid_rdma_read_req()
2662 struct hfi1_ibport *ibp; in handle_read_kdeth_eflags()
2849 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_handle_kdeth_eflags()
3661 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_rc_rcv_tid_rdma_write_req()
5419 struct hfi1_ibport *ibp = in _hfi1_schedule_tid_send()