/drivers/infiniband/hw/hfi1/ |
D | verbs.h | 159 struct hfi1_ibport *ibp; 192 struct hfi1_ibport { struct 262 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl, 265 void hfi1_sys_guid_chg(struct hfi1_ibport *ibp); 266 void hfi1_node_desc_chg(struct hfi1_ibport *ibp); 337 int hfi1_lookup_pkey_idx(struct hfi1_ibport *ibp, u16 pkey); 354 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet); 356 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
|
D | mad.c | 115 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps() 146 static struct trap_node *check_and_add_trap(struct hfi1_ibport *ibp, in check_and_add_trap() 218 static void subn_handle_opa_trap_repress(struct hfi1_ibport *ibp, in subn_handle_opa_trap_repress() 248 static void hfi1_update_sm_ah_attr(struct hfi1_ibport *ibp, in hfi1_update_sm_ah_attr() 265 static int hfi1_modify_qp0_ah(struct hfi1_ibport *ibp, in hfi1_modify_qp0_ah() 283 static struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u32 dlid) in hfi1_create_qp0_ah() 303 static void send_trap(struct hfi1_ibport *ibp, struct trap_node *trap) in send_trap() 404 struct hfi1_ibport *ibp = (struct hfi1_ibport *)data; in hfi1_handle_trap_timer() 441 void hfi1_bad_pkey(struct hfi1_ibport *ibp, u32 key, u32 sl, in hfi1_bad_pkey() 470 static void bad_mkey(struct hfi1_ibport *ibp, struct ib_mad_hdr *mad, in bad_mkey() [all …]
|
D | qp.c | 243 struct hfi1_ibport *ibp; in qp_set_16b() 300 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_check_send_wqe() 339 struct hfi1_ibport *ibp = in _hfi1_schedule_send() 429 struct hfi1_ibport *ibp = in iowait_sleep() 662 struct hfi1_ibport *ibp = &dd->pport[n].ibport_data; in free_all_qps() 741 struct hfi1_ibport *ibp; in mtu_from_qp() 813 struct hfi1_ibport *ibp = in hfi1_qp_iter_cb() 849 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl) in hfi1_error_port_qps()
|
D | ud.c | 74 struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in ud_loopback() 291 struct hfi1_ibport *ibp; in hfi1_make_bth_deth() 333 struct hfi1_ibport *ibp; in hfi1_make_ud_req_9B() 399 struct hfi1_ibport *ibp; in hfi1_make_ud_req_16B() 476 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() 690 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, in return_cnp() 759 static int opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, in opa_smp_check() 855 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_ud_rcv()
|
D | hfi.h | 662 struct hfi1_ibport ibport_data; 1532 void return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, 1535 void return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, 1538 typedef void (*hfi1_handle_cnp)(struct hfi1_ibport *ibp, struct rvt_qp *qp, 1757 static inline struct hfi1_pportdata *ppd_from_ibp(struct hfi1_ibport *ibp) in ppd_from_ibp() 1767 static inline struct hfi1_ibport *to_iport(struct ib_device *ibdev, u8 port) in to_iport() 1776 static inline struct hfi1_ibport *rcd_to_iport(struct hfi1_ctxtdata *rcd) in rcd_to_iport() 1810 static inline u16 hfi1_get_pkey(struct hfi1_ibport *ibp, unsigned index) in hfi1_get_pkey() 1826 static inline __be64 get_sguid(struct hfi1_ibport *ibp, unsigned int index) in get_sguid() 2238 struct hfi1_ibport *ibp; in hfi1_update_ah_attr() [all …]
|
D | verbs.c | 578 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_handle_packet() 1516 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device() 1526 struct hfi1_ibport *ibp = &dd->pport[i].ibport_data; in modify_device() 1554 struct hfi1_ibport *ibp = container_of(rvp, struct hfi1_ibport, rvp); in hfi1_get_guid_be() 1568 struct hfi1_ibport *ibp = to_iport(ibdev, rdma_ah_get_port_num(ah)); in ah_to_sc() 1575 struct hfi1_ibport *ibp; in hfi1_check_ah() 1605 struct hfi1_ibport *ibp; in hfi1_notify_new_ah() 1638 struct hfi1_ibport *ibp = &ppd->ibport_data; in init_ibport() 1827 struct hfi1_ibport *ibp = to_iport(ibdev, port); in get_hw_stats() 1847 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_register_ib_device() [all …]
|
D | rc.c | 742 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_queue_rc_ack() 767 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_rc_ack_9B() 814 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_rc_ack_16B() 883 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_send_rc_ack() 1042 struct hfi1_ibport *ibp; in hfi1_restart_rc() 1205 struct hfi1_ibport *ibp) in do_rc_completion() 1291 struct hfi1_ibport *ibp; in do_rc_ack() 1506 static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, in rdma_seq_err() 1549 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in rc_rcv_resp() 1762 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rc_rcv_error() [all …]
|
D | qp.h | 119 void hfi1_error_port_qps(struct hfi1_ibport *ibp, u8 sl);
|
D | ruc.c | 219 int hfi1_ruc_check_hdr(struct hfi1_ibport *ibp, struct hfi1_packet *packet) in hfi1_ruc_check_hdr() 332 struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in ruc_loopback() 662 u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr, in hfi1_make_grh() 773 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_16B() 861 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_9B()
|
D | driver.c | 273 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rcv_hdrerr() 439 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_process_ecn_slowpath() 598 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in __prescan_rxq() 1427 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_setup_9B_packet() 1488 struct hfi1_ibport *ibp = &ppd->ibport_data; in hfi1_setup_bypass_packet()
|
D | uc.c | 313 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_uc_rcv()
|
D | sysfs.c | 402 struct hfi1_ibport *ibp = &ppd->ibport_data; in sl2sc_attr_show()
|