id
stringlengths
4
63
text
stringlengths
153
8.81M
irdma_create_listen(9)
NAME irdma_create_listen - registered call creating listener SYNOPSIS int irdma_create_listen (struct iw_cm_id *cm_id , int backlog ); ARGUMENTS cm_id cm information for passive connection backlog to max accept pending count SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbu...
irdma_create_mg_ctx(9)
NAME irdma_create_mg_ctx - create a mcg context SYNOPSIS void irdma_create_mg_ctx (struct irdma_mcast_grp_info *info ); ARGUMENTS info multicast group context info SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/uda.c irdma_sc_access_ah(9), irdma_access_mcast_grp(9), irdma_compare_mgs(9), irdma_sc_add_mcas...
irdma_create_qp(9)
NAME irdma_create_qp - create qp SYNOPSIS int irdma_create_qp (struct ib_qp *ibqp , struct ib_qp_init_attr *init_attr , struct ib_udata *udata ); ARGUMENTS ibqp ptr of qp init_attr attributes for qp udata user data for create qp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verb...
irdma_create_srq(9)
NAME irdma_create_srq - create srq SYNOPSIS int irdma_create_srq (struct ib_srq *ibsrq , struct ib_srq_init_attr *initattrs , struct ib_udata *udata ); ARGUMENTS ibsrq ib's srq pointer initattrs attributes for srq udata user data for create srq SEE ALSO Kernel file ./drivers/infiniban...
irdma_create_stag(9)
NAME irdma_create_stag - create random stag SYNOPSIS u32 irdma_create_stag (struct irdma_device *iwdev ); ARGUMENTS iwdev irdma device SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9), irdma_mmap(9), irdma_alloc_push_page(9...
irdma_create_user_ah(9)
NAME irdma_create_user_ah - create user address handle SYNOPSIS int irdma_create_user_ah (struct ib_ah *ibah , struct rdma_ah_init_attr *attr , struct ib_udata *udata ); ARGUMENTS ibah address handle attr address handle attributes udata User data DESCRIPTION returns 0 on success, ...
irdma_ctrl_init_hw(9)
NAME irdma_ctrl_init_hw - Initializes control portion of HW SYNOPSIS int irdma_ctrl_init_hw (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Create admin queues, HMC obejcts and RF resource objects SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), i...
irdma_dealloc_mw(9)
NAME irdma_dealloc_mw - Dealloc memory window SYNOPSIS int irdma_dealloc_mw (struct ib_mw *ibmw ); ARGUMENTS ibmw memory window structure. SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9), irdma_mmap(9), irdma_alloc_push_p...
irdma_dealloc_pd(9)
NAME irdma_dealloc_pd - deallocate pd SYNOPSIS int irdma_dealloc_pd (struct ib_pd *ibpd , struct ib_udata *udata ); ARGUMENTS ibpd ptr of pd to be deallocated udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassoci...
irdma_dealloc_push_page(9)
NAME irdma_dealloc_push_page - free a push page for qp SYNOPSIS void irdma_dealloc_push_page (struct irdma_pci_f *rf , struct irdma_sc_qp *qp ); ARGUMENTS rf RDMA PCI function qp hardware control qp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add...
irdma_dealloc_ucontext(9)
NAME irdma_dealloc_ucontext - deallocate the user context data structure SYNOPSIS void irdma_dealloc_ucontext (struct ib_ucontext *context ); ARGUMENTS context user context created during alloc SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_dis...
irdma_dec_refcnt_listen(9)
NAME irdma_dec_refcnt_listen - delete listener and associated cm nodes SYNOPSIS int irdma_dec_refcnt_listen (struct irdma_cm_core *cm_core , struct irdma_cm_listener *listener , int free_hanging_nodes , bool apbvt_del ); ARGUMENTS cm_core cm's core listener pointer to listener node free_hanging...
irdma_del_apbvt(9)
NAME irdma_del_apbvt - delete tcp port from HW apbvt table SYNOPSIS void irdma_del_apbvt (struct irdma_device *iwdev , struct irdma_apbvt_entry *entry ); ARGUMENTS iwdev irdma device entry apbvt entry object SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), ir...
irdma_del_ceq_0(9)
NAME irdma_del_ceq_0 - destroy ceq 0 SYNOPSIS void irdma_del_ceq_0 (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Disable the ceq 0 interrupt and destroy the ceq 0 SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_puda_ce_handler(9), irdma_...
irdma_del_ceqs(9)
NAME irdma_del_ceqs - destroy all ceq's except CEQ 0 SYNOPSIS void irdma_del_ceqs (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Go through all of the device ceq's, except 0, and for each ceq disable the ceq interrupt and destroy the ceq SEE ALSO Kernel file ./drivers/infiniband/hw...
irdma_del_hmc_objects(9)
NAME irdma_del_hmc_objects - remove all device hmc objects SYNOPSIS void irdma_del_hmc_objects (struct irdma_sc_dev *dev , struct irdma_hmc_info *hmc_info , bool privileged , bool reset , enum irdma_vers vers ); ARGUMENTS dev iwarp device hmc_info hmc_info to free privileged permission to ...
irdma_del_init_mem(9)
NAME irdma_del_init_mem - deallocate memory resources SYNOPSIS void irdma_del_init_mem (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_puda_ce_handler(9), irdma_process_normal_ceqe(9), irdma_process_rese...
irdma_del_local_mac_entry(9)
NAME irdma_del_local_mac_entry - remove a mac entry from the hw table SYNOPSIS void irdma_del_local_mac_entry (struct irdma_pci_f *rf , u16 idx ); ARGUMENTS rf RDMA PCI function idx the index of the mac ip address to delete SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwa...
irdma_del_memlist(9)
NAME irdma_del_memlist - Deleting pbl list entries for CQ/QP SYNOPSIS void irdma_del_memlist (struct irdma_mr *iwmr , struct irdma_ucontext *ucontext ); ARGUMENTS iwmr iwmr for IB's user page addresses ucontext ptr to user context SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_...
irdma_del_multiple_qhash(9)
NAME irdma_del_multiple_qhash - Remove qhash and child listens SYNOPSIS int irdma_del_multiple_qhash (struct irdma_device *iwdev , struct irdma_cm_info *cm_info , struct irdma_cm_listener *cm_parent_listen_node ); ARGUMENTS iwdev iWarp device cm_info CM info for parent listen node cm_parent_...
irdma_dereg_mr(9)
NAME irdma_dereg_mr - deregister mr SYNOPSIS int irdma_dereg_mr (struct ib_mr *ib_mr , struct ib_udata *udata ); ARGUMENTS ib_mr mr ptr for dereg udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9...
irdma_destroy_aeq(9)
NAME irdma_destroy_aeq - destroy aeq SYNOPSIS void irdma_destroy_aeq (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Issue a destroy aeq request and free the resources associated with the aeq The function is called during driver unload SEE ALSO Kernel file ./drivers/infiniband/hw/ir...
irdma_destroy_ah(9)
NAME irdma_destroy_ah - Destroy address handle SYNOPSIS int irdma_destroy_ah (struct ib_ah *ibah , u32 ah_flags ); ARGUMENTS ibah pointer to address handle ah_flags flags for sleepable SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_di...
irdma_destroy_ccq(9)
NAME irdma_destroy_ccq - destroy control cq SYNOPSIS void irdma_destroy_ccq (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Issue destroy ccq request and free the resources associated with the ccq SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), i...
irdma_destroy_ceq(9)
NAME irdma_destroy_ceq - destroy ceq SYNOPSIS void irdma_destroy_ceq (struct irdma_pci_f *rf , struct irdma_ceq *iwceq ); ARGUMENTS rf RDMA PCI function iwceq ceq to be destroyed DESCRIPTION Issue a destroy ceq request and free the resources associated with the ceq SEE ALSO Kernel file ./dr...
irdma_destroy_cq(9)
NAME irdma_destroy_cq - destroy cq SYNOPSIS int irdma_destroy_cq (struct ib_cq *ib_cq , struct ib_udata *udata ); ARGUMENTS ib_cq cq pointer udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9), ir...
irdma_destroy_cqp(9)
NAME irdma_destroy_cqp - destroy control qp SYNOPSIS void irdma_destroy_cqp (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Issue destroy cqp request and free the resources associated with the cqp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), i...
irdma_destroy_irq(9)
NAME irdma_destroy_irq - destroy device interrupts SYNOPSIS void irdma_destroy_irq (struct irdma_pci_f *rf , struct irdma_msix_vector *msix_vec , void *dev_id ); ARGUMENTS rf RDMA PCI function msix_vec msix vector to disable irq dev_id parameter to pass to free_irq (used during irq se...
irdma_destroy_listen(9)
NAME irdma_destroy_listen - registered call to destroy listener SYNOPSIS int irdma_destroy_listen (struct iw_cm_id *cm_id ); ARGUMENTS cm_id cm information for passive connection SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), ...
irdma_destroy_pble_prm(9)
NAME irdma_destroy_pble_prm - destroy prm during module unload SYNOPSIS void irdma_destroy_pble_prm (struct irdma_hmc_pble_rsrc *pble_rsrc ); ARGUMENTS pble_rsrc pble resources SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/pble.c irdma_hmc_init_pble(9), get_sd_pd_idx(9), add_sd_direct(9), fpm_to_idx(9...
irdma_destroy_qp(9)
NAME irdma_destroy_qp - destroy qp SYNOPSIS int irdma_destroy_qp (struct ib_qp *ibqp , struct ib_udata *udata ); ARGUMENTS ibqp qp's ib pointer also to get to device's qp address udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port...
irdma_destroy_srq(9)
NAME irdma_destroy_srq - destroy srq SYNOPSIS int irdma_destroy_srq (struct ib_srq *ibsrq , struct ib_udata *udata ); ARGUMENTS ibsrq srq pointer udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9...
irdma_detach_mcast(9)
NAME irdma_detach_mcast - detach a qp from a multicast group SYNOPSIS int irdma_detach_mcast (struct ib_qp *ibqp , union ib_gid *ibgid , u16 lid ); ARGUMENTS ibqp ptr to qp ibgid pointer to global ID lid local ID DESCRIPTION returns error status SEE ALSO Kernel file ./drivers/...
irdma_disassociate_ucontext(9)
NAME irdma_disassociate_ucontext - Disassociate user context SYNOPSIS void irdma_disassociate_ucontext (struct ib_ucontext *context ); ARGUMENTS context ib user context SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_mmap(9), irdma_alloc_push_page(...
irdma_disconnect_worker(9)
NAME irdma_disconnect_worker - worker for connection close SYNOPSIS void irdma_disconnect_worker (struct work_struct *work ); ARGUMENTS work points or disconn structure SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdma_cop...
irdma_dpc(9)
NAME irdma_dpc - tasklet for aeq and ceq 0 SYNOPSIS void irdma_dpc (struct tasklet_struct *t ); ARGUMENTS t tasklet_struct ptr SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_puda_ce_handler(9), irdma_process_normal_ceqe(9), irdma_process_reserved_ceqe(9), ir...
irdma_ena_intr(9)
NAME irdma_ena_intr - set up device interrupts SYNOPSIS void irdma_ena_intr (struct irdma_sc_dev *dev , u32 msix_id ); ARGUMENTS dev hardware control device structure msix_id id of the interrupt to be enabled SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), i...
irdma_est_sd(9)
NAME irdma_est_sd - returns approximate number of SDs for HMC SYNOPSIS u32 irdma_est_sd (struct irdma_sc_dev *dev , struct irdma_hmc_info *hmc_info ); ARGUMENTS dev sc device struct hmc_info hmc structure, size and count for HMC objects SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctr...
irdma_event_connect_error(9)
NAME irdma_event_connect_error - to create connect error event SYNOPSIS void irdma_event_connect_error (struct irdma_cm_event *event ); ARGUMENTS event cm information for connect event SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl...
irdma_exec_cqp_cmd(9)
NAME irdma_exec_cqp_cmd - execute cqp cmd when wqe are available SYNOPSIS int irdma_exec_cqp_cmd (struct irdma_sc_dev *dev , struct cqp_cmds_info *pcmdinfo ); ARGUMENTS dev rdma device pcmdinfo cqp command info SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_get_qp_from_l...
irdma_fill_sockaddr4(9)
NAME irdma_fill_sockaddr4 - fill in addr info for IPv4 connection SYNOPSIS void irdma_fill_sockaddr4 (struct irdma_cm_node *cm_node , struct iw_cm_event *event ); ARGUMENTS cm_node connection's node event upper layer's cm event SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_f...
irdma_fill_sockaddr6(9)
NAME irdma_fill_sockaddr6 - fill in addr info for IPv6 connection SYNOPSIS void irdma_fill_sockaddr6 (struct irdma_cm_node *cm_node , struct iw_cm_event *event ); ARGUMENTS cm_node connection's node event upper layer's cm event SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_s...
irdma_find_listener(9)
NAME irdma_find_listener - find a cm node listening on this addr-port pair SYNOPSIS struct irdma_cm_listener * irdma_find_listener (struct irdma_cm_core *cm_core , u32 *dst_addr , bool ipv4 , u16 dst_port , u16 vlan_id , enum irdma_cm_listener_state listener_state ); ARGUMENTS cm_core cm's core dst_addr ...
irdma_find_node(9)
NAME irdma_find_node - find a cm node that matches the reference cm node SYNOPSIS struct irdma_cm_node * irdma_find_node (struct irdma_cm_core *cm_core , u16 rem_port , u32 *rem_addr , u16 loc_port , u32 *loc_addr , u16 vlan_id ); ARGUMENTS cm_core cm's core rem_port remote tcp port num rem_add...
irdma_find_pd_index_limit(9)
NAME irdma_find_pd_index_limit - finds page descriptor index limit SYNOPSIS void irdma_find_pd_index_limit (struct irdma_hmc_info *hmc_info , u32 type , u32 idx , u32 cnt , u32 *pd_idx , u32 *pd_limit ); ARGUMENTS hmc_info pointer to the HMC configuration information struct type HMC resource type we...
irdma_find_sd_index_limit(9)
NAME irdma_find_sd_index_limit - finds segment descriptor index limit SYNOPSIS void irdma_find_sd_index_limit (struct irdma_hmc_info *hmc_info , u32 type , u32 idx , u32 cnt , u32 *sd_idx , u32 *sd_limit ); ARGUMENTS hmc_info pointer to the HMC configuration information structure type type of HMC re...
irdma_finish_del_sd_reg(9)
NAME irdma_finish_del_sd_reg - delete sd entries for objects SYNOPSIS int irdma_finish_del_sd_reg (struct irdma_sc_dev *dev , struct irdma_hmc_del_obj_info *info , bool reset ); ARGUMENTS dev pointer to the device structure info dele obj info reset true if called before reset SEE...
irdma_flush_err_to_ib_wc_status(9)
NAME irdma_flush_err_to_ib_wc_status - return change flush error code to IB status SYNOPSIS enum ib_wc_status irdma_flush_err_to_ib_wc_status (enum irdma_flush_opcode opcode ); ARGUMENTS opcode iwarp flush code SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port...
irdma_form_ah_cm_frame(9)
NAME irdma_form_ah_cm_frame - get a free packet and build frame with address handle SYNOPSIS struct irdma_puda_buf * irdma_form_ah_cm_frame (struct irdma_cm_node *cm_node , struct irdma_kmem_info *options , struct irdma_kmem_info *hdr , struct irdma_mpa_priv_info *pdata , u8 flags ); ARGUMENTS cm_node connection'...
irdma_form_uda_cm_frame(9)
NAME irdma_form_uda_cm_frame - get a free packet and build frame full tcpip packet SYNOPSIS struct irdma_puda_buf * irdma_form_uda_cm_frame (struct irdma_cm_node *cm_node , struct irdma_kmem_info *options , struct irdma_kmem_info *hdr , struct irdma_mpa_priv_info *pdata , u8 flags ); ARGUMENTS cm_node connection'...
irdma_fragcnt_to_quanta_sq(9)
NAME irdma_fragcnt_to_quanta_sq - calculate quanta based on fragment count for SQ SYNOPSIS int irdma_fragcnt_to_quanta_sq (u32 frag_cnt , u16 *quanta ); ARGUMENTS frag_cnt number of fragments quanta quanta for frag_cnt SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/uk.c irdma_set_fragment(9), i...
irdma_fragcnt_to_wqesize_rq(9)
NAME irdma_fragcnt_to_wqesize_rq - calculate wqe size based on fragment count for RQ SYNOPSIS int irdma_fragcnt_to_wqesize_rq (u32 frag_cnt , u16 *wqe_size ); ARGUMENTS frag_cnt number of fragments wqe_size size in bytes given frag_cnt SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/uk.c irdma_set...
irdma_free_cqbuf(9)
NAME irdma_free_cqbuf - worker to free a cq buffer SYNOPSIS void irdma_free_cqbuf (struct work_struct *work ); ARGUMENTS work provides access to the cq buffer to free SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9), ir...
irdma_free_cqp_request(9)
NAME irdma_free_cqp_request - free cqp request SYNOPSIS void irdma_free_cqp_request (struct irdma_cqp *cqp , struct irdma_cqp_request *cqp_request ); ARGUMENTS cqp cqp ptr cqp_request to be put back in cqp list SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_a...
irdma_free_lsmm_rsrc(9)
NAME irdma_free_lsmm_rsrc - free lsmm memory and deregister SYNOPSIS void irdma_free_lsmm_rsrc (struct irdma_qp *iwqp ); ARGUMENTS iwqp associate qp for the connection SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdma_copy...
irdma_free_node(9)
NAME irdma_free_node - Free a WS node SYNOPSIS void irdma_free_node (struct irdma_sc_vsi *vsi , struct irdma_ws_node *node ); ARGUMENTS vsi VSI stricture of device node Pointer to node to free SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ws.c irdma_alloc_node(9), irdma_ws_cqp_cmd(9), ws_...
irdma_free_pble(9)
NAME irdma_free_pble - put pbles back into prm SYNOPSIS void irdma_free_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc ); ARGUMENTS pble_rsrc pble resources palloc contains all information regarding pble resource being freed SEE ALSO Kernel file ./drivers/infiniband/hw/...
irdma_free_pending_cqp_request(9)
NAME irdma_free_pending_cqp_request - free pending cqp request objs SYNOPSIS void irdma_free_pending_cqp_request (struct irdma_cqp *cqp , struct irdma_cqp_request *cqp_request ); ARGUMENTS cqp cqp ptr cqp_request to be put back in cqp list SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c ...
irdma_free_qp_rsrc(9)
NAME irdma_free_qp_rsrc - free up memory resources for qp SYNOPSIS void irdma_free_qp_rsrc (struct irdma_qp *iwqp ); ARGUMENTS iwqp qp ptr (user or kernel) SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr32(9), rd32(9), rd64(9), irdma_inetaddr_event(9...
irdma_free_retrans_entry(9)
NAME irdma_free_retrans_entry - free send entry SYNOPSIS void irdma_free_retrans_entry (struct irdma_cm_node *cm_node ); ARGUMENTS cm_node connection's node SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdma_copy_ip_htonl(9), ...
irdma_free_sqbuf(9)
NAME irdma_free_sqbuf - put back puda buffer if refcount is 0 SYNOPSIS void irdma_free_sqbuf (struct irdma_sc_vsi *vsi , void *bufp ); ARGUMENTS vsi The VSI structure of the device bufp puda buffer to free SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_record_ird_ord(9), irdma_...
irdma_free_stag(9)
NAME irdma_free_stag - free stag resource SYNOPSIS void irdma_free_stag (struct irdma_device *iwdev , u32 stag ); ARGUMENTS iwdev irdma device stag stag to free SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_ucontext(9...
irdma_free_ws_node_id(9)
NAME irdma_free_ws_node_id - Free a tx scheduler node ID SYNOPSIS void irdma_free_ws_node_id (struct irdma_sc_dev *dev , u16 node_id ); ARGUMENTS dev device pointer node_id Work scheduler node ID SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), ...
irdma_gen1_ieq_update_tcpip_info(9)
NAME irdma_gen1_ieq_update_tcpip_info - update tcpip in the buffer SYNOPSIS void irdma_gen1_ieq_update_tcpip_info (struct irdma_puda_buf *buf , u16 len , u32 seqnum ); ARGUMENTS buf puda to update len length of buffer seqnum seq number for tcp SEE ALSO Kernel file ./drivers/inf...
irdma_gen1_puda_get_tcpip_info(9)
NAME irdma_gen1_puda_get_tcpip_info - get tcpip info from puda buffer SYNOPSIS int irdma_gen1_puda_get_tcpip_info (struct irdma_puda_cmpl_info *info , struct irdma_puda_buf *buf ); ARGUMENTS info to get information buf puda buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c i...
irdma_gen_ae(9)
NAME irdma_gen_ae - generate AE SYNOPSIS void irdma_gen_ae (struct irdma_pci_f *rf , struct irdma_sc_qp *qp , struct irdma_gen_ae_info *info , bool wait ); ARGUMENTS rf RDMA PCI function qp qp associated with AE info info for ae wait wait for completion SEE ALS...
irdma_get_addr_info(9)
NAME irdma_get_addr_info - SYNOPSIS void irdma_get_addr_info (struct irdma_cm_node *cm_node , struct irdma_cm_info *cm_info ); ARGUMENTS cm_node contains ip/tcp info cm_info to get a copy of the cm_node ip/tcp info SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma...
irdma_get_cmevent_info(9)
NAME irdma_get_cmevent_info - for cm event upcall SYNOPSIS void irdma_get_cmevent_info (struct irdma_cm_node *cm_node , struct iw_cm_id *cm_id , struct iw_cm_event *event ); ARGUMENTS cm_node connection's node cm_id upper layers cm struct for the event event upper layer's cm event SEE...
irdma_get_cqp_reg_info(9)
NAME irdma_get_cqp_reg_info - get head and tail for cqp using registers SYNOPSIS void irdma_get_cqp_reg_info (struct irdma_sc_cqp *cqp , u32 *val , u32 *tail , u32 *error ); ARGUMENTS cqp struct for cqp hw val cqp tail register value tail wqtail register value error ...
irdma_get_cqp_request(9)
NAME irdma_get_cqp_request - increase refcount for cqp_request SYNOPSIS void irdma_get_cqp_request (struct irdma_cqp_request *cqp_request ); ARGUMENTS cqp_request pointer to cqp_request instance SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr32(9), rd32(9), ...
irdma_get_dma_mr(9)
NAME irdma_get_dma_mr - register physical mem SYNOPSIS struct ib_mr * irdma_get_dma_mr (struct ib_pd *pd , int acc ); ARGUMENTS pd ptr of pd acc access for memory SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_uc...
irdma_get_dst_ipv6(9)
NAME irdma_get_dst_ipv6 - get destination cache entry via ipv6 lookup SYNOPSIS struct dst_entry * irdma_get_dst_ipv6 (struct sockaddr_in6 *src_addr , struct sockaddr_in6 *dst_addr ); ARGUMENTS src_addr local ipv6 sock address dst_addr destination ipv6 sock address SEE ALSO Kernel file ./drivers/infin...
irdma_get_encoded_wqe_size(9)
NAME irdma_get_encoded_wqe_size - given wq size, returns hardware encoded size SYNOPSIS u8 irdma_get_encoded_wqe_size (u32 wqsize , enum irdma_queue_type queue_type ); ARGUMENTS wqsize size of the wq (sq, rq) to encoded_size queue_type queue type selected for the calculation algorithm SEE ALSO Kernel ...
irdma_get_hw_stats(9)
NAME irdma_get_hw_stats - Populates the rdma_hw_stats structure SYNOPSIS int irdma_get_hw_stats (struct ib_device *ibdev , struct rdma_hw_stats *stats , u32 port_num , int index ); ARGUMENTS ibdev device pointer from stack stats stats pointer from stack port_num port number inde...
irdma_get_mr_access(9)
NAME irdma_get_mr_access - get hw MR access permissions from IB access flags SYNOPSIS u16 irdma_get_mr_access (int access , u8 hw_rev ); ARGUMENTS access IB access flags hw_rev Hardware version SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9),...
irdma_get_objs_pages(9)
NAME irdma_get_objs_pages - get number of 2M pages needed SYNOPSIS u32 irdma_get_objs_pages (struct irdma_sc_dev *dev , struct irdma_hmc_info *hmc_info , enum irdma_hmc_obj_mem mem_loc ); ARGUMENTS dev sc device struct hmc_info pointer to the HMC configuration information struct mem_loc ...
irdma_get_pbl(9)
NAME irdma_get_pbl - Retrieve pbl from a list given a virtual address SYNOPSIS struct irdma_pbl * irdma_get_pbl (unsigned long va , struct list_head *pbl_list ); ARGUMENTS va user virtual address pbl_list pbl list to search in (QP's or CQ's) SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ve...
irdma_get_pble(9)
NAME irdma_get_pble - allocate pbles from the prm SYNOPSIS int irdma_get_pble (struct irdma_hmc_pble_rsrc *pble_rsrc , struct irdma_pble_alloc *palloc , u32 pble_cnt , u8 lvl ); ARGUMENTS pble_rsrc pble resources palloc contains all inforamtion regarding pble (idx + pble addr) pble_cnt #of p...
irdma_get_qp(9)
NAME irdma_get_qp - get qp address SYNOPSIS struct ib_qp * irdma_get_qp (struct ib_device *device , int qpn ); ARGUMENTS device iwarp device qpn qp number SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr32(9), rd32(9), rd64(9), irdma_ine...
irdma_get_qp_from_list(9)
NAME irdma_get_qp_from_list - get next qp from a list SYNOPSIS struct irdma_sc_qp * irdma_get_qp_from_list (struct list_head *head , struct irdma_sc_qp *qp ); ARGUMENTS head Listhead of qp's qp current qp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_sc_suspend_resu...
irdma_get_rdma_features(9)
NAME irdma_get_rdma_features - get RDMA features SYNOPSIS int irdma_get_rdma_features (struct irdma_sc_dev *dev ); ARGUMENTS dev sc device struct SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_get_qp_from_list(9), irdma_sc_suspend_resume_qps(9), irdma_change_l2params(9), i...
irdma_get_rsrc_mem_config(9)
NAME irdma_get_rsrc_mem_config - configure resources if local memory or host SYNOPSIS void irdma_get_rsrc_mem_config (struct irdma_sc_dev *dev , bool is_mrte_loc_mem ); ARGUMENTS dev sc device struct is_mrte_loc_mem if true, MR's to be in local memory because sd=loc pages DESCRIPTI...
irdma_get_stats_idx(9)
NAME irdma_get_stats_idx - Return stats index SYNOPSIS u16 irdma_get_stats_idx (struct irdma_sc_vsi *vsi ); ARGUMENTS vsi pointer to the vsi SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_get_qp_from_list(9), irdma_sc_suspend_resume_qps(9), irdma_change_l2params(9), irdma_...
irdma_get_type(9)
NAME irdma_get_type - add a sd entry type for sd SYNOPSIS enum irdma_sd_entry_type irdma_get_type (struct irdma_sc_dev *dev , struct sd_pd_idx *idx , u32 pages ); ARGUMENTS dev irdma_sc_dev struct idx index of sd pages pages in the sd SEE ALSO Kernel file ./drivers/infiniband/...
irdma_get_used_rsrc(9)
NAME irdma_get_used_rsrc - determine resources used internally SYNOPSIS void irdma_get_used_rsrc (struct irdma_device *iwdev ); ARGUMENTS iwdev irdma device DESCRIPTION Called at the end of open to get all internal allocations SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9...
irdma_get_vlan_ipv4(9)
NAME irdma_get_vlan_ipv4 - Returns the vlan_id for IPv4 address SYNOPSIS u16 irdma_get_vlan_ipv4 (u32 *addr ); ARGUMENTS addr local IPv4 address SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdma_copy_ip_htonl(9), irdma_ge...
irdma_get_vlan_mac_ipv6(9)
NAME irdma_get_vlan_mac_ipv6 - Gets the vlan and mac SYNOPSIS void irdma_get_vlan_mac_ipv6 (u32 *addr , u16 *vlan_id , u8 *mac ); ARGUMENTS addr local IPv6 address vlan_id vlan id for the given IPv6 address mac mac address for the given IPv6 address DESCRIPTION Returns the vlan id ...
irdma_get_wqe_shift(9)
NAME irdma_get_wqe_shift - get shift count for maximum wqe size SYNOPSIS void irdma_get_wqe_shift (struct irdma_uk_attrs *uk_attrs , u32 sge , u32 inline_data , u8 *shift ); ARGUMENTS uk_attrs qp HW attributes sge Maximum Scatter Gather Elements wqe inline_data Maximum inline data size ...
irdma_gsi_ud_qp_ah_cb(9)
NAME irdma_gsi_ud_qp_ah_cb - callback after creation of AH for GSI/ID QP SYNOPSIS void irdma_gsi_ud_qp_ah_cb (struct irdma_cqp_request *cqp_request ); ARGUMENTS cqp_request pointer to cqp_request of create AH SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr32(9...
irdma_handle_ack_pkt(9)
NAME irdma_handle_ack_pkt - process packet with ACK SYNOPSIS int irdma_handle_ack_pkt (struct irdma_cm_node *cm_node , struct irdma_puda_buf *rbuf ); ARGUMENTS cm_node connection's node rbuf receive buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_recor...
irdma_handle_close_entry(9)
NAME irdma_handle_close_entry - for handling retry/timeouts SYNOPSIS void irdma_handle_close_entry (struct irdma_cm_node *cm_node , u32 rem_node ); ARGUMENTS cm_node connection's node rem_node flag for remove cm_node SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdm...
irdma_handle_cqp_op(9)
NAME irdma_handle_cqp_op - process cqp command SYNOPSIS int irdma_handle_cqp_op (struct irdma_pci_f *rf , struct irdma_cqp_request *cqp_request ); ARGUMENTS rf RDMA PCI function cqp_request cqp request to process SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdm...
irdma_handle_fin_pkt(9)
NAME irdma_handle_fin_pkt - FIN packet received SYNOPSIS void irdma_handle_fin_pkt (struct irdma_cm_node *cm_node ); ARGUMENTS cm_node connection's node SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdma_copy_ip_htonl(9), ird...
irdma_handle_q_mem(9)
NAME irdma_handle_q_mem - handle memory for qp and cq SYNOPSIS int irdma_handle_q_mem (struct irdma_device *iwdev , struct irdma_mem_reg_req *req , struct irdma_pbl *iwpbl , u8 lvl ); ARGUMENTS iwdev irdma device req information for q memory management iwpbl pble struct lvl...
irdma_handle_rcv_mpa(9)
NAME irdma_handle_rcv_mpa - Process a recv'd mpa buffer SYNOPSIS void irdma_handle_rcv_mpa (struct irdma_cm_node *cm_node , struct irdma_puda_buf *rbuf ); ARGUMENTS cm_node connection's node rbuf receive buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_...
irdma_handle_rst_pkt(9)
NAME irdma_handle_rst_pkt - process received RST packet SYNOPSIS void irdma_handle_rst_pkt (struct irdma_cm_node *cm_node , struct irdma_puda_buf *rbuf ); ARGUMENTS cm_node connection's node rbuf receive buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), ...
irdma_handle_syn_pkt(9)
NAME irdma_handle_syn_pkt - is for Passive node SYNOPSIS void irdma_handle_syn_pkt (struct irdma_cm_node *cm_node , struct irdma_puda_buf *rbuf ); ARGUMENTS cm_node connection's node rbuf receive buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_i...
irdma_handle_synack_pkt(9)
NAME irdma_handle_synack_pkt - Process SYN+ACK packet (active side) SYNOPSIS void irdma_handle_synack_pkt (struct irdma_cm_node *cm_node , struct irdma_puda_buf *rbuf ); ARGUMENTS cm_node connection's node rbuf receive buffer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sq...
irdma_handle_tcp_options(9)
NAME irdma_handle_tcp_options - setup TCP context info after parsing TCP options SYNOPSIS int irdma_handle_tcp_options (struct irdma_cm_node *cm_node , struct tcphdr *tcph , int optionsize , int passive ); ARGUMENTS cm_node connection's node tcph pointer tcp header optionsize size of optio...
irdma_hmc_finish_add_sd_reg(9)
NAME irdma_hmc_finish_add_sd_reg - program sd entries for objects SYNOPSIS int irdma_hmc_finish_add_sd_reg (struct irdma_sc_dev *dev , struct irdma_hmc_create_obj_info *info ); ARGUMENTS dev pointer to the device structure info create obj info SEE ALSO Kernel file ./drivers/infiniband/hw/i...