id
stringlengths
4
63
text
stringlengths
153
8.81M
irdma_add_mqh_4(9)
NAME irdma_add_mqh_4 - Adds multiple qhashes for IPv4 SYNOPSIS int irdma_add_mqh_4 (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_listen_node ...
irdma_add_mqh_6(9)
NAME irdma_add_mqh_6 - Adds multiple qhashes for IPv6 SYNOPSIS int irdma_add_mqh_6 (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_listen_node ...
irdma_add_pd_table_entry(9)
NAME irdma_add_pd_table_entry - Adds page descriptor to the specified table SYNOPSIS int irdma_add_pd_table_entry (struct irdma_sc_dev *dev , struct irdma_hmc_info *hmc_info , u32 pd_index , struct irdma_dma_mem *rsrc_pg ); ARGUMENTS dev pointer to our device structure hmc_info pointer to the HMC c...
irdma_add_sd_table_entry(9)
NAME irdma_add_sd_table_entry - Adds a segment descriptor to the table SYNOPSIS int irdma_add_sd_table_entry (struct irdma_hw *hw , struct irdma_hmc_info *hmc_info , u32 sd_index , enum irdma_sd_entry_type type , u64 direct_mode_sz ); ARGUMENTS hw pointer to our hw struct hmc_info pointer to the H...
irdma_addr_resolve_neigh(9)
NAME irdma_addr_resolve_neigh - resolve neighbor address SYNOPSIS int irdma_addr_resolve_neigh (struct irdma_device *iwdev , u32 src_ip , u32 dst_ip , int arpindex ); ARGUMENTS iwdev iwarp device structure src_ip local ip address dst_ip remote ip address arpindex if there is...
irdma_addr_resolve_neigh_ipv6(9)
NAME irdma_addr_resolve_neigh_ipv6 - resolve neighbor ipv6 address SYNOPSIS int irdma_addr_resolve_neigh_ipv6 (struct irdma_device *iwdev , u32 *src , u32 *dest , int arpindex ); ARGUMENTS iwdev iwarp device structure src local ip address dest remote ip address arpindex ...
irdma_ah_cqp_op(9)
NAME irdma_ah_cqp_op - perform an AH cqp operation SYNOPSIS int irdma_ah_cqp_op (struct irdma_pci_f *rf , struct irdma_sc_ah *sc_ah , u8 cmd , bool wait , void (*callback_fcn)(struct irdma_cqp_request *) , void *cb_param ); ARGUMENTS rf RDMA PCI function sc_ah address handle cmd ...
irdma_ah_exists(9)
NAME irdma_ah_exists - Check for existing identical AH SYNOPSIS bool irdma_ah_exists (struct irdma_device *iwdev , struct irdma_ah *new_ah ); ARGUMENTS iwdev irdma device new_ah AH to check for DESCRIPTION returns true if AH is found, false if not found. SEE ALSO Kernel file ./drivers/infiniban...
irdma_alloc_and_get_cqp_request(9)
NAME irdma_alloc_and_get_cqp_request - get cqp struct SYNOPSIS struct irdma_cqp_request * irdma_alloc_and_get_cqp_request (struct irdma_cqp *cqp , bool wait ); ARGUMENTS cqp device cqp ptr wait cqp to be used in wait mode SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_ta...
irdma_alloc_hw_port_stats(9)
NAME irdma_alloc_hw_port_stats - Allocate a hw stats structure SYNOPSIS struct rdma_hw_stats * irdma_alloc_hw_port_stats (struct ib_device *ibdev , u32 port_num ); ARGUMENTS ibdev device pointer from stack port_num port number SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query...
irdma_alloc_local_mac_entry(9)
NAME irdma_alloc_local_mac_entry - allocate a mac entry SYNOPSIS int irdma_alloc_local_mac_entry (struct irdma_pci_f *rf , u16 *mac_tbl_idx ); ARGUMENTS rf RDMA PCI function mac_tbl_idx the index of the new mac address DESCRIPTION Allocate a mac address entry and update the mac_tbl_idx to hold the i...
irdma_alloc_mr(9)
NAME irdma_alloc_mr - register stag for fast memory registration SYNOPSIS struct ib_mr * irdma_alloc_mr (struct ib_pd *pd , enum ib_mr_type mr_type , u32 max_num_sg ); ARGUMENTS pd ibpd pointer mr_type memory for stag registrion max_num_sg man number of pages SEE ALSO Kernel file ./dr...
irdma_alloc_mw(9)
NAME irdma_alloc_mw - Allocate memory window SYNOPSIS int irdma_alloc_mw (struct ib_mw *ibmw , struct ib_udata *udata ); ARGUMENTS ibmw Memory Window udata user data pointer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassocia...
irdma_alloc_node(9)
NAME irdma_alloc_node - Allocate a WS node and init SYNOPSIS struct irdma_ws_node * irdma_alloc_node (struct irdma_sc_vsi *vsi , u8 user_pri , enum irdma_ws_node_type node_type , struct irdma_ws_node *parent ); ARGUMENTS vsi vsi pointer user_pri user priority node_type Type of node, leaf ...
irdma_alloc_pd(9)
NAME irdma_alloc_pd - allocate protection domain SYNOPSIS int irdma_alloc_pd (struct ib_pd *pd , struct ib_udata *udata ); ARGUMENTS pd PD pointer udata user data SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_disassociate_uconte...
irdma_alloc_push_page(9)
NAME irdma_alloc_push_page - allocate a push page for qp SYNOPSIS void irdma_alloc_push_page (struct irdma_qp *iwqp ); ARGUMENTS iwqp qp pointer 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_a...
irdma_alloc_set_mac(9)
NAME irdma_alloc_set_mac - set up a mac address table entry SYNOPSIS int irdma_alloc_set_mac (struct irdma_device *iwdev ); ARGUMENTS iwdev irdma device DESCRIPTION Allocate a mac ip entry and add it to the hw table Return 0 if successful, otherwise return error SEE ALSO Kernel file ./drivers/infiniband/hw/...
irdma_alloc_ucontext(9)
NAME irdma_alloc_ucontext - Allocate the user context data structure SYNOPSIS int irdma_alloc_ucontext (struct ib_ucontext *uctx , struct ib_udata *udata ); ARGUMENTS uctx uverbs context pointer udata user data DESCRIPTION This keeps track of all objects associated with a particular user-mode cl...
irdma_alloc_ws_node_id(9)
NAME irdma_alloc_ws_node_id - Allocate a tx scheduler node ID SYNOPSIS u16 irdma_alloc_ws_node_id (struct irdma_sc_dev *dev ); ARGUMENTS dev device pointer 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(...
irdma_arp_table(9)
NAME irdma_arp_table - manage arp table SYNOPSIS int irdma_arp_table (struct irdma_pci_f *rf , u32 *ip_addr , bool ipv4 , const u8 *mac_addr , u32 action ); ARGUMENTS rf RDMA PCI function ip_addr ip address for device ipv4 IPv4 flag mac_addr mac address ptr actio...
irdma_attach_mcast(9)
NAME irdma_attach_mcast - attach a qp to a multicast group SYNOPSIS int irdma_attach_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/in...
irdma_bld_termhdr_ctrl(9)
NAME irdma_bld_termhdr_ctrl - setup terminate hdr control fields SYNOPSIS void irdma_bld_termhdr_ctrl (struct irdma_sc_qp *qp , struct irdma_terminate_hdr *hdr , enum irdma_flush_opcode opcode , u8 layer_etype , u8 err ); ARGUMENTS qp sc qp ptr for pkt hdr term hdr opcode flush o...
irdma_bld_termhdr_ddp_rdma(9)
NAME irdma_bld_termhdr_ddp_rdma - setup ddp and rdma hdrs in terminate hdr SYNOPSIS void irdma_bld_termhdr_ddp_rdma (u8 *pkt , struct irdma_terminate_hdr *hdr , int *copy_len , u8 *is_tagged ); ARGUMENTS pkt ptr to mpa in offending pkt hdr term hdr copy_len offending pkt length to b...
irdma_bld_terminate_hdr(9)
NAME irdma_bld_terminate_hdr - build terminate message header SYNOPSIS int irdma_bld_terminate_hdr (struct irdma_sc_qp *qp , struct irdma_aeqe_info *info ); ARGUMENTS qp qp associated with received terminate AE info the struct contiaing AE information SEE ALSO Kernel file ./drivers/inf...
irdma_build_mpa_v1(9)
NAME irdma_build_mpa_v1 - build a MPA V1 frame SYNOPSIS void irdma_build_mpa_v1 (struct irdma_cm_node *cm_node , void *start_addr , u8 mpa_key ); ARGUMENTS cm_node connection's node start_addr address where to build frame mpa_key to do read0 or write0 SEE ALSO Kernel file ./drivers/infinib...
irdma_build_mpa_v2(9)
NAME irdma_build_mpa_v2 - build a MPA V2 frame SYNOPSIS void irdma_build_mpa_v2 (struct irdma_cm_node *cm_node , void *start_addr , u8 mpa_key ); ARGUMENTS cm_node connection's node start_addr buffer start address mpa_key to do read0 or write0 SEE ALSO Kernel file ./drivers/infiniband/hw/i...
irdma_calc_mem_rsrc_size(9)
NAME irdma_calc_mem_rsrc_size - calculate memory resources size. SYNOPSIS u32 irdma_calc_mem_rsrc_size (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), ir...
irdma_ceq_dpc(9)
NAME irdma_ceq_dpc - dpc handler for CEQ SYNOPSIS void irdma_ceq_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), ...
irdma_ceq_handler(9)
NAME irdma_ceq_handler - interrupt handler for ceq SYNOPSIS irqreturn_t irdma_ceq_handler (int irq , void *data ); ARGUMENTS irq interrupt request number data ceq pointer SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_puda_ce_handler(9), irdma_pro...
irdma_cfg_aeq(9)
NAME irdma_cfg_aeq - Configure AEQ interrupt SYNOPSIS void irdma_cfg_aeq (struct irdma_sc_dev *dev , u32 idx , bool enable ); ARGUMENTS dev pointer to the device structure idx vector index enable True to enable, False disables SEE ALSO Kernel file ./drivers/infiniband/hw/i...
irdma_cfg_aeq_vector(9)
NAME irdma_cfg_aeq_vector - set up the msix vector for aeq SYNOPSIS int irdma_cfg_aeq_vector (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Allocate interrupt resources and enable irq handling Return 0 if successful, otherwise return error SEE ALSO Kernel file ./drivers/infiniband/...
irdma_cfg_ceq_vector(9)
NAME irdma_cfg_ceq_vector - set up the msix interrupt vector for ceq SYNOPSIS int irdma_cfg_ceq_vector (struct irdma_pci_f *rf , struct irdma_ceq *iwceq , u32 ceq_id , struct irdma_msix_vector *msix_vec ); ARGUMENTS rf RDMA PCI function iwceq ceq associated with the vector ceq_id t...
irdma_cfg_fpm_val(9)
NAME irdma_cfg_fpm_val - configure HMC objects SYNOPSIS int irdma_cfg_fpm_val (struct irdma_sc_dev *dev , u32 qp_count ); ARGUMENTS dev sc device struct qp_count desired qp count SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_get_qp_from_list(9), irdma_sc_suspend_resu...
irdma_cfg_sd_mem(9)
NAME irdma_cfg_sd_mem - allocate sd memory SYNOPSIS int irdma_cfg_sd_mem (struct irdma_sc_dev *dev , struct irdma_hmc_info *hmc_info ); ARGUMENTS dev sc device struct hmc_info ptr to irdma_hmc_obj_info struct SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdma_get_qp_from_lis...
irdma_change_l2params(9)
NAME irdma_change_l2params - given the new l2 parameters, change all qp SYNOPSIS void irdma_change_l2params (struct irdma_sc_vsi *vsi , struct irdma_l2params *l2params ); ARGUMENTS vsi RDMA VSI pointer l2params New parameters from l2 SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c ...
irdma_check_cqp_progress(9)
NAME irdma_check_cqp_progress - check cqp processing progress SYNOPSIS void irdma_check_cqp_progress (struct irdma_cqp_timeout *timeout , struct irdma_sc_dev *dev ); ARGUMENTS timeout timeout info struct dev sc device struct SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/ctrl.c irdm...
irdma_check_mem_contiguous(9)
NAME irdma_check_mem_contiguous - check if pbls stored in arr are contiguous SYNOPSIS bool irdma_check_mem_contiguous (u64 *arr , u32 npages , u32 pg_size ); ARGUMENTS arr lvl1 pbl array npages page count pg_size page size SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c ...
irdma_check_mr_contiguous(9)
NAME irdma_check_mr_contiguous - check if MR is physically contiguous SYNOPSIS bool irdma_check_mr_contiguous (struct irdma_pble_alloc *palloc , u32 pg_size ); ARGUMENTS palloc pbl allocation struct pg_size page size SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9)...
irdma_check_seq(9)
NAME irdma_check_seq - check seq numbers if OK SYNOPSIS int irdma_check_seq (struct irdma_cm_node *cm_node , struct tcphdr *tcph ); ARGUMENTS cm_node connection's node tcph pointer tcp header SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), ...
irdma_check_syn(9)
NAME irdma_check_syn - Check for error on received syn ack SYNOPSIS int irdma_check_syn (struct irdma_cm_node *cm_node , struct tcphdr *tcph ); ARGUMENTS cm_node connection's node tcph pointer tcp header SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_...
irdma_clean_cqes(9)
NAME irdma_clean_cqes - clean cq entries for qp SYNOPSIS void irdma_clean_cqes (struct irdma_qp *iwqp , struct irdma_cq *iwcq ); ARGUMENTS iwqp qp ptr (user or kernel) iwcq cq ptr SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_dis...
irdma_cleanup_cm_core(9)
NAME irdma_cleanup_cm_core - deallocate a top level instance of a cm core SYNOPSIS void irdma_cleanup_cm_core (struct irdma_cm_core *cm_core ); ARGUMENTS cm_core cm's core 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_cleanup_deferred_cqp_ops(9)
NAME irdma_cleanup_deferred_cqp_ops - clean-up cqp with no completions SYNOPSIS void irdma_cleanup_deferred_cqp_ops (struct irdma_sc_dev *dev , struct irdma_cqp *cqp ); ARGUMENTS dev sc_dev cqp cqp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_ar...
irdma_cleanup_pending_cqp_op(9)
NAME irdma_cleanup_pending_cqp_op - clean-up cqp with no completions SYNOPSIS void irdma_cleanup_pending_cqp_op (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function 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_...
irdma_cleanup_retrans_entry(9)
NAME irdma_cleanup_retrans_entry - free send entry with lock SYNOPSIS void irdma_cleanup_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_co...
irdma_close_hmc_objects_type(9)
NAME irdma_close_hmc_objects_type - delete hmc objects of a given type SYNOPSIS void irdma_close_hmc_objects_type (struct irdma_sc_dev *dev , enum irdma_hmc_rsrc_type obj_type , struct irdma_hmc_info *hmc_info , bool privileged , bool reset ); ARGUMENTS dev iwarp device obj_type the hmc object type...
irdma_clr_sd_entry(9)
NAME irdma_clr_sd_entry - setup entry for sd clear SYNOPSIS void irdma_clr_sd_entry (u32 idx , enum irdma_sd_entry_type type , struct irdma_update_sd_entry *entry ); ARGUMENTS idx sd index type paged or direct sd entry sd entry ptr SEE ALSO Kernel file ./drivers/infiniband/hw/i...
irdma_clr_wqes(9)
NAME irdma_clr_wqes - clear next 128 sq entries SYNOPSIS void irdma_clr_wqes (struct irdma_qp_uk *qp , u32 qp_wqe_idx ); ARGUMENTS qp hw qp ptr qp_wqe_idx wqe_idx SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/uk.c irdma_set_fragment(9), irdma_set_fragment_gen_1(9), irdma_nop_1(9), ird...
irdma_cm_build_mpa_frame(9)
NAME irdma_cm_build_mpa_frame - build mpa frame for mpa version 1 or version 2 SYNOPSIS int irdma_cm_build_mpa_frame (struct irdma_cm_node *cm_node , struct irdma_kmem_info *mpa , u8 mpa_key ); ARGUMENTS cm_node connection's node mpa mpa: data buffer mpa_key to do read0 or write0 SEE ...
irdma_cm_close(9)
NAME irdma_cm_close - close of cm connection SYNOPSIS int irdma_cm_close (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_get_add...
irdma_cm_create_ah(9)
NAME irdma_cm_create_ah - create a cm address handle SYNOPSIS int irdma_cm_create_ah (struct irdma_cm_node *cm_node , bool wait ); ARGUMENTS cm_node The connection manager node to create AH for wait Provides option to wait for ah creation or not SEE ALSO Kernel file ./drivers/infiniband/hw/irdma...
irdma_cm_del_listen(9)
NAME irdma_cm_del_listen - delete a listener SYNOPSIS int irdma_cm_del_listen (struct irdma_cm_core *cm_core , struct irdma_cm_listener *listener , bool apbvt_del ); ARGUMENTS cm_core cm's core listener passive connection's listener apbvt_del flag to delete apbvt SEE ALSO Kernel file ./dri...
irdma_cm_disconn(9)
NAME irdma_cm_disconn - when a connection is being closed SYNOPSIS void irdma_cm_disconn (struct irdma_qp *iwqp ); ARGUMENTS iwqp associated 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_ip_h...
irdma_cm_disconn_true(9)
NAME irdma_cm_disconn_true - called by worker thread to disconnect qp SYNOPSIS void irdma_cm_disconn_true (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_cm_event_connected(9)
NAME irdma_cm_event_connected - handle connected active node SYNOPSIS void irdma_cm_event_connected (struct irdma_cm_event *event ); ARGUMENTS event the info for cm_node of connection SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(...
irdma_cm_event_handler(9)
NAME irdma_cm_event_handler - send event to cm upper layer SYNOPSIS void irdma_cm_event_handler (struct work_struct *work ); ARGUMENTS work pointer of cm event info. 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_i...
irdma_cm_event_reset(9)
NAME irdma_cm_event_reset - handle reset SYNOPSIS void irdma_cm_event_reset (struct irdma_cm_event *event ); ARGUMENTS event the info for cm_node of 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_ip_htonl...
irdma_cm_free_ah(9)
NAME irdma_cm_free_ah - free a cm address handle SYNOPSIS void irdma_cm_free_ah (struct irdma_cm_node *cm_node ); ARGUMENTS cm_node The connection manager node to create AH for SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), irdma_record_ird_ord(9), irdma_copy_ip_ntohl(9), irdm...
irdma_cm_init_tsa_conn(9)
NAME irdma_cm_init_tsa_conn - setup qp for RTS SYNOPSIS void irdma_cm_init_tsa_conn (struct irdma_qp *iwqp , struct irdma_cm_node *cm_node ); ARGUMENTS iwqp associate qp for the connection cm_node connection's node SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9...
irdma_cm_post_event(9)
NAME irdma_cm_post_event - queue event request for worker thread SYNOPSIS void irdma_cm_post_event (struct irdma_cm_event *event ); ARGUMENTS event cm node's info for up event call 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_cm_reject(9)
NAME irdma_cm_reject - reject and teardown a connection SYNOPSIS int irdma_cm_reject (struct irdma_cm_node *cm_node , const void *pdata , u8 plen ); ARGUMENTS cm_node connection's node pdata ptr to private data for reject plen size of private data SEE ALSO Kernel file ./drivers/inf...
irdma_cm_teardown_connections(9)
NAME irdma_cm_teardown_connections - teardown QPs SYNOPSIS void irdma_cm_teardown_connections (struct irdma_device *iwdev , u32 *ipaddr , struct irdma_cm_info *nfo , bool disconnect_all ); ARGUMENTS iwdev device pointer ipaddr Pointer to IPv4 or IPv6 address nfo Connection info ...
irdma_cm_timer_tick(9)
NAME irdma_cm_timer_tick - system's timer expired callback SYNOPSIS void irdma_cm_timer_tick (struct timer_list *t ); ARGUMENTS t Pointer to timer_list 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_compare_mgs(9)
NAME irdma_compare_mgs - Compares two multicast group structures SYNOPSIS bool irdma_compare_mgs (struct irdma_mcast_grp_ctx_entry_info *entry1 , struct irdma_mcast_grp_ctx_entry_info *entry2 ); ARGUMENTS entry1 Multcast group info entry2 Multcast group info in context SEE ALSO Kernel file ./driver...
irdma_complete_cqp_request(9)
NAME irdma_complete_cqp_request - perform post-completion cleanup SYNOPSIS void irdma_complete_cqp_request (struct irdma_cqp *cqp , struct irdma_cqp_request *cqp_request ); ARGUMENTS cqp device CQP cqp_request CQP request DESCRIPTION Mark CQP request as done, wake up waiting thread or invoke callback...
irdma_connect(9)
NAME irdma_connect - registered call for connection to be established SYNOPSIS int irdma_connect (struct iw_cm_id *cm_id , struct iw_cm_conn_param *conn_param ); ARGUMENTS cm_id cm information for passive connection conn_param Information about the connection SEE ALSO Kernel file ./drivers/infiniban...
irdma_copy_inline_data(9)
NAME irdma_copy_inline_data - Copy inline data to wqe SYNOPSIS void irdma_copy_inline_data (u8 *wqe , struct ib_sge *sge_list , u32 num_sges , u8 polarity ); ARGUMENTS wqe pointer to wqe sge_list table of pointers to inline data num_sges number of SGE's polarity polarity of wq...
irdma_copy_inline_data_gen_1(9)
NAME irdma_copy_inline_data_gen_1 - Copy inline data to wqe SYNOPSIS void irdma_copy_inline_data_gen_1 (u8 *wqe , struct ib_sge *sge_list , u32 num_sges , u8 polarity ); ARGUMENTS wqe pointer to wqe sge_list table of pointers to inline data num_sges Total inline data length polar...
irdma_copy_ip_htonl(9)
NAME irdma_copy_ip_htonl - copy IP address from host to network order SYNOPSIS void irdma_copy_ip_htonl (__be32 *dst , u32 *src ); ARGUMENTS dst IP address in network order (big endian) src IP address in host order SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9)...
irdma_copy_ip_ntohl(9)
NAME irdma_copy_ip_ntohl - copy IP address from network to host SYNOPSIS void irdma_copy_ip_ntohl (u32 *dst , __be32 *src ); ARGUMENTS dst IP address in host order src IP address in network order (big endian) SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbuf(9), ...
irdma_copy_user_pgaddrs(9)
NAME irdma_copy_user_pgaddrs - copy user page address to pble's os locally SYNOPSIS void irdma_copy_user_pgaddrs (struct irdma_mr *iwmr , u64 *pbl , enum irdma_pble_level level ); ARGUMENTS iwmr iwmr for IB's user page addresses pbl ple pointer to save 1 level or 0 level pble level ...
irdma_cq_free_rsrc(9)
NAME irdma_cq_free_rsrc - free up resources for cq SYNOPSIS void irdma_cq_free_rsrc (struct irdma_pci_f *rf , struct irdma_cq *iwcq ); ARGUMENTS rf RDMA PCI function iwcq cq ptr SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/verbs.c irdma_query_device(9), irdma_query_port(9), irdma_dis...
irdma_cq_wq_destroy(9)
NAME irdma_cq_wq_destroy - send cq destroy cqp SYNOPSIS void irdma_cq_wq_destroy (struct irdma_pci_f *rf , struct irdma_sc_cq *cq ); ARGUMENTS rf RDMA PCI function cq hardware control cq SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr...
irdma_cqp_aeq_cmd(9)
NAME irdma_cqp_aeq_cmd - Create/Destroy AEQ SYNOPSIS int irdma_cqp_aeq_cmd (struct irdma_sc_dev *dev , struct irdma_sc_aeq *sc_aeq , u8 op ); ARGUMENTS dev pointer to device info sc_aeq pointer to aeq structure op Create or Destroy SEE ALSO Kernel file ./drivers/infiniband/hw/...
irdma_cqp_ce_handler(9)
NAME irdma_cqp_ce_handler - handle cqp completions SYNOPSIS void irdma_cqp_ce_handler (struct irdma_pci_f *rf , struct irdma_sc_cq *cq ); ARGUMENTS rf RDMA PCI function cq cq for cqp completions SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_pud...
irdma_cqp_ceq_cmd(9)
NAME irdma_cqp_ceq_cmd - Create/Destroy CEQ's after CEQ 0 SYNOPSIS int irdma_cqp_ceq_cmd (struct irdma_sc_dev *dev , struct irdma_sc_ceq *sc_ceq , u8 op ); ARGUMENTS dev pointer to device info sc_ceq pointer to ceq structure op Create or Destroy SEE ALSO Kernel file ./drivers/...
irdma_cqp_cq_create_cmd(9)
NAME irdma_cqp_cq_create_cmd - create a cq for the cqp SYNOPSIS int irdma_cqp_cq_create_cmd (struct irdma_sc_dev *dev , struct irdma_sc_cq *cq ); ARGUMENTS dev device pointer cq pointer to created cq SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add...
irdma_cqp_cq_destroy_cmd(9)
NAME irdma_cqp_cq_destroy_cmd - destroy the cqp cq SYNOPSIS void irdma_cqp_cq_destroy_cmd (struct irdma_sc_dev *dev , struct irdma_sc_cq *cq ); ARGUMENTS dev device pointer cq pointer to cq SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), ...
irdma_cqp_crit_err(9)
NAME irdma_cqp_crit_err - check if CQP error is critical SYNOPSIS bool irdma_cqp_crit_err (struct irdma_sc_dev *dev , u8 cqp_cmd , u16 maj_err_code , u16 min_err_code ); ARGUMENTS dev pointer to dev structure cqp_cmd code for last CQP operation maj_err_code major error c...
irdma_cqp_gather_stats_cmd(9)
NAME irdma_cqp_gather_stats_cmd - Gather stats SYNOPSIS int irdma_cqp_gather_stats_cmd (struct irdma_sc_dev *dev , struct irdma_vsi_pestat *pestat , bool wait ); ARGUMENTS dev pointer to device structure pestat pointer to stats info wait flag to wait or not wait for stats SEE ALSO...
irdma_cqp_gather_stats_gen1(9)
NAME irdma_cqp_gather_stats_gen1 - Gather stats SYNOPSIS void irdma_cqp_gather_stats_gen1 (struct irdma_sc_dev *dev , struct irdma_vsi_pestat *pestat ); ARGUMENTS dev pointer to device structure pestat statistics structure SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_t...
irdma_cqp_manage_apbvt_cmd(9)
NAME irdma_cqp_manage_apbvt_cmd - send cqp command manage apbvt SYNOPSIS int irdma_cqp_manage_apbvt_cmd (struct irdma_device *iwdev , u16 accel_local_port , bool add_port ); ARGUMENTS iwdev irdma device accel_local_port port for apbvt add_port add ordelete port SEE ALSO Ke...
irdma_cqp_poll_registers(9)
NAME irdma_cqp_poll_registers - poll cqp registers SYNOPSIS int irdma_cqp_poll_registers (struct irdma_sc_cqp *cqp , u32 tail , u32 count ); ARGUMENTS cqp struct for cqp hw tail wqtail register value count how many times to try for completion SEE ALSO Kernel file ./drivers...
irdma_cqp_qp_create_cmd(9)
NAME irdma_cqp_qp_create_cmd - create a qp for the cqp SYNOPSIS int irdma_cqp_qp_create_cmd (struct irdma_sc_dev *dev , struct irdma_sc_qp *qp ); ARGUMENTS dev device pointer qp pointer to created qp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add...
irdma_cqp_qp_destroy_cmd(9)
NAME irdma_cqp_qp_destroy_cmd - destroy the cqp SYNOPSIS int irdma_cqp_qp_destroy_cmd (struct irdma_sc_dev *dev , struct irdma_sc_qp *qp ); ARGUMENTS dev device pointer qp pointer to qp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_arp(9), wr32...
irdma_cqp_qp_suspend_resume(9)
NAME irdma_cqp_qp_suspend_resume - cqp command for suspend/resume SYNOPSIS int irdma_cqp_qp_suspend_resume (struct irdma_sc_qp *qp , u8 op ); ARGUMENTS qp hardware control qp op suspend or resume SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_arp_table(9), irdma_add_ar...
irdma_cqp_ring_full(9)
NAME irdma_cqp_ring_full - check if cqp ring is full SYNOPSIS bool irdma_cqp_ring_full (struct irdma_sc_cqp *cqp ); ARGUMENTS cqp struct for cqp hw 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_cqp_sds_cmd(9)
NAME irdma_cqp_sds_cmd - create cqp command for sd SYNOPSIS int irdma_cqp_sds_cmd (struct irdma_sc_dev *dev , struct irdma_update_sds_info *sdinfo ); ARGUMENTS dev hardware control device structure sdinfo information for sd cqp SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/utils.c irdma_...
irdma_cqp_stats_inst_cmd(9)
NAME irdma_cqp_stats_inst_cmd - Allocate/free stats instance SYNOPSIS int irdma_cqp_stats_inst_cmd (struct irdma_sc_vsi *vsi , u8 cmd , struct irdma_stats_inst_info *stats_info ); ARGUMENTS vsi pointer to vsi structure cmd command to allocate or free stats_info pointer to allocate sta...
irdma_cqp_ws_node_cmd(9)
NAME irdma_cqp_ws_node_cmd - Add/modify/delete ws node SYNOPSIS int irdma_cqp_ws_node_cmd (struct irdma_sc_dev *dev , u8 cmd , struct irdma_ws_node_info *node_info ); ARGUMENTS dev pointer to device structure cmd Add, modify or delete node_info pointer to ws node info SEE ALSO Kerne...
irdma_create_aeq(9)
NAME irdma_create_aeq - create async event queue SYNOPSIS int irdma_create_aeq (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Return 0, if the aeq and the resources associated with it are successfully created, otherwise return error SEE ALSO Kernel file ./drivers/infiniband/hw/irdm...
irdma_create_ah(9)
NAME irdma_create_ah - create address handle SYNOPSIS int irdma_create_ah (struct ib_ah *ibah , struct rdma_ah_init_attr *attr , struct ib_udata *udata ); ARGUMENTS ibah address handle attr address handle attributes udata NULL DESCRIPTION returns 0 on success, error otherwise SEE...
irdma_create_ccq(9)
NAME irdma_create_ccq - create control cq SYNOPSIS int irdma_create_ccq (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Return 0, if the ccq and the resources associated with it are successfully created, otherwise return error SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c ...
irdma_create_ceq(9)
NAME irdma_create_ceq - create completion event queue SYNOPSIS int irdma_create_ceq (struct irdma_pci_f *rf , struct irdma_ceq *iwceq , u32 ceq_id , u16 vsi_idx ); ARGUMENTS rf RDMA PCI function iwceq pointer to the ceq resources to be created ceq_id the id number of the iwceq ...
irdma_create_cm_node(9)
NAME irdma_create_cm_node - make a connection node with params SYNOPSIS int irdma_create_cm_node (struct irdma_cm_core *cm_core , struct irdma_device *iwdev , struct iw_cm_conn_param *conn_param , struct irdma_cm_info *cm_info , struct irdma_cm_node **caller_cm_node ); ARGUMENTS cm_core cm's core iwdev ...
irdma_create_cq(9)
NAME irdma_create_cq - create cq SYNOPSIS int irdma_create_cq (struct ib_cq *ibcq , const struct ib_cq_init_attr *attr , struct uverbs_attr_bundle *attrs ); ARGUMENTS ibcq CQ allocated attr attributes for cq attrs uverbs attribute bundle SEE ALSO Kernel file ./drivers/infiniband...
irdma_create_cqp(9)
NAME irdma_create_cqp - create control qp SYNOPSIS int irdma_create_cqp (struct irdma_pci_f *rf ); ARGUMENTS rf RDMA PCI function DESCRIPTION Return 0, if the cqp and all the resources associated with it are successfully created, otherwise return error SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/h...
irdma_create_event(9)
NAME irdma_create_event - create cm event SYNOPSIS struct irdma_cm_event * irdma_create_event (struct irdma_cm_node *cm_node , enum irdma_cm_event_type type ); ARGUMENTS cm_node connection's node type Event type to generate SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/cm.c irdma_free_sqbu...
irdma_create_hmc_obj_type(9)
NAME irdma_create_hmc_obj_type - create hmc object of a given type SYNOPSIS int irdma_create_hmc_obj_type (struct irdma_sc_dev *dev , struct irdma_hmc_create_obj_info *info ); ARGUMENTS dev hardware control device structure info information for the hmc object to create SEE ALSO Kernel file ....
irdma_create_hmc_objs(9)
NAME irdma_create_hmc_objs - create all hmc objects for the device SYNOPSIS int irdma_create_hmc_objs (struct irdma_pci_f *rf , bool privileged , enum irdma_vers vers ); ARGUMENTS rf RDMA PCI function privileged permission to create HMC objects vers HW version DESCRIPTION Create the ...