Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dverbs.h234 struct hfi1_ibport *ibp;
268 struct hfi1_ibport { struct
326 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl,
329 void hfi1_sys_guid_chg(struct hfi1_ibport *ibp);
330 void hfi1_node_desc_chg(struct hfi1_ibport *ibp);
423 int hfi1_lookup_pkey_idx(struct hfi1_ibport *ibp, u16 pkey);
439 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet);
441 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
Dmad.c101 static u16 hfi1_lookup_pkey_value(struct hfi1_ibport *ibp, int pkey_idx) in hfi1_lookup_pkey_value()
125 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps()
156 static struct trap_node *check_and_add_trap(struct hfi1_ibport *ibp, in check_and_add_trap()
228 static void subn_handle_opa_trap_repress(struct hfi1_ibport *ibp, in subn_handle_opa_trap_repress()
258 static void hfi1_update_sm_ah_attr(struct hfi1_ibport *ibp, in hfi1_update_sm_ah_attr()
275 static int hfi1_modify_qp0_ah(struct hfi1_ibport *ibp, in hfi1_modify_qp0_ah()
293 static struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u32 dlid) in hfi1_create_qp0_ah()
313 static void send_trap(struct hfi1_ibport *ibp, struct trap_node *trap) in send_trap()
414 struct hfi1_ibport *ibp = from_timer(ibp, t, rvp.trap_timer); in hfi1_handle_trap_timer()
451 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl, in hfi1_bad_pkey()
[all …]
Dud.c75 struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in ud_loopback()
271 struct hfi1_ibport *ibp; in hfi1_make_bth_deth()
314 struct hfi1_ibport *ibp; in hfi1_make_ud_req_9B()
381 struct hfi1_ibport *ibp; in hfi1_make_ud_req_16B()
481 struct hfi1_ibport *ibp; in hfi1_make_ud_req()
596 int hfi1_lookup_pkey_idx(struct hfi1_ibport *ibp, u16 pkey) in hfi1_lookup_pkey_idx()
632 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, in return_cnp_16B()
694 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, in return_cnp()
767 static int opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, in opa_smp_check()
861 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_ud_rcv()
Dipoib_main.c57 struct hfi1_ibport *ibp = to_iport(priv->device, in hfi1_ipoib_dev_open()
130 struct hfi1_ibport *ibp = to_iport(priv->device, priv->port_num); in hfi1_ipoib_mcast_attach()
160 struct hfi1_ibport *ibp = to_iport(priv->device, priv->port_num); in hfi1_ipoib_mcast_detach()
Dqp.c247 struct hfi1_ibport *ibp; in qp_set_16b()
307 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_setup_wqe()
367 struct hfi1_ibport *ibp = in _hfi1_schedule_send()
506 struct hfi1_ibport *ibp = in iowait_sleep()
760 struct hfi1_ibport *ibp = &dd->pport[n].ibport_data; in free_all_qps()
849 struct hfi1_ibport *ibp; in mtu_from_qp()
924 struct hfi1_ibport *ibp = in hfi1_qp_iter_cb()
960 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl) in hfi1_error_port_qps()
Dverbs.c375 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_kdeth_eager_rcv()
429 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_kdeth_expected_rcv()
501 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_handle_packet()
1465 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device()
1475 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device()
1503 struct hfi1_ibport *ibp = container_of(rvp, struct hfi1_ibport, rvp); in hfi1_get_guid_be()
1517 struct hfi1_ibport *ibp = to_iport(ibdev, rdma_ah_get_port_num(ah)); in ah_to_sc()
1524 struct hfi1_ibport *ibp; in hfi1_check_ah()
1554 struct hfi1_ibport *ibp; in hfi1_notify_new_ah()
1587 struct hfi1_ibport *ibp = &ppd->ibport_data; in init_ibport()
[all …]
Druc.c69 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet) in hfi1_ruc_check_hdr()
168 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr, in hfi1_make_grh()
279 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_16B()
367 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_9B()
Dhfi.h779 struct hfi1_ibport ibport_data;
1749 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn,
1752 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp,
1755 typedef void (*hfi1_handle_cnp)(struct hfi1_ibport *ibp, struct rvt_qp *qp,
1969 static inline struct hfi1_pportdata *ppd_from_ibp(struct hfi1_ibport *ibp) in ppd_from_ibp()
1979 static inline struct hfi1_ibport *to_iport(struct ib_device *ibdev, u8 port) in to_iport()
1988 static inline struct hfi1_ibport *rcd_to_iport(struct hfi1_ctxtdata *rcd) in rcd_to_iport()
2033 static inline u16 hfi1_get_pkey(struct hfi1_ibport *ibp, unsigned index) in hfi1_get_pkey()
2049 static inline __be64 get_sguid(struct hfi1_ibport *ibp, unsigned int index) in get_sguid()
2487 struct hfi1_ibport *ibp; in hfi1_update_ah_attr()
[all …]
Drc.h57 struct hfi1_ibport *ibp);
Dqp.h147 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl);
Drc.c1240 struct hfi1_ibport *ibp; in hfi1_queue_rc_ack()
1267 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_9B()
1320 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_16B()
1390 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_send_rc_ack()
1610 struct hfi1_ibport *ibp; in hfi1_restart_rc()
1625 struct hfi1_ibport *ibp = in hfi1_restart_rc()
1868 struct hfi1_ibport *ibp) in do_rc_completion()
2009 struct hfi1_ibport *ibp; in do_rc_ack()
2305 static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, in rdma_seq_err()
2350 struct hfi1_ibport *ibp; in rc_rcv_resp()
[all …]
Ddriver.c260 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rcv_hdrerr()
451 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_process_ecn_slowpath()
625 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in __prescan_rxq()
1522 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_setup_9B_packet()
1583 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_setup_bypass_packet()
1681 struct hfi1_ibport *ibp; in hfi1_ipoib_ib_rcv()
Duc.c307 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_uc_rcv()
Dtid_rdma.c609 struct hfi1_ibport *ibp; in tid_rdma_schedule_tid_wakeup()
1982 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in tid_rdma_rcv_error()
2225 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_rc_rcv_tid_rdma_read_req()
2655 struct hfi1_ibport *ibp; in handle_read_kdeth_eflags()
2841 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_handle_kdeth_eflags()
3649 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_rc_rcv_tid_rdma_write_req()
5407 struct hfi1_ibport *ibp = in _hfi1_schedule_tid_send()
Dsysfs.c402 struct hfi1_ibport *ibp = &ppd->ibport_data; in sl2sc_attr_show()
Dipoib_tx.c45 struct hfi1_ibport *ibp;