id
stringlengths
4
63
text
stringlengths
153
8.81M
iavf_shutdown_adminq(9)
NAME iavf_shutdown_adminq - shutdown routine for the Admin Queue SYNOPSIS enum iavf_status iavf_shutdown_adminq (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_asq_ring(9), iavf_alloc_adminq_arq_ri...
iavf_shutdown_arq(9)
NAME iavf_shutdown_arq - shutdown ARQ SYNOPSIS enum iavf_status iavf_shutdown_arq (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION The main shutdown routine for the Admin Receive Queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_...
iavf_shutdown_asq(9)
NAME iavf_shutdown_asq - shutdown the ASQ SYNOPSIS enum iavf_status iavf_shutdown_asq (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION The main shutdown routine for the Admin Send Queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq...
iavf_startup(9)
NAME iavf_startup - first step of driver startup SYNOPSIS void iavf_startup (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function process __IAVF_STARTUP driver state. When success the state is changed to __IAVF_INIT_VERSION_CHECK when fails the state is changed to __IAV...
iavf_stat_str(9)
NAME iavf_stat_str - convert status err code to a string SYNOPSIS const char * iavf_stat_str (struct iavf_hw *hw , enum iavf_status stat_err ); ARGUMENTS hw pointer to the HW structure stat_err the status error code to convert SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_common...
iavf_suspend(9)
NAME iavf_suspend - Power management suspend routine SYNOPSIS int iavf_suspend (struct device *dev_d ); ARGUMENTS dev_d device info pointer DESCRIPTION Called when the system (VM) is entering sleep/suspend. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_i...
iavf_tpid_to_vc_ethertype(9)
NAME iavf_tpid_to_vc_ethertype - transform from VLAN TPID to virtchnl ethertype SYNOPSIS u32 iavf_tpid_to_vc_ethertype (u16 tpid ); ARGUMENTS tpid VLAN TPID (i.e. 0x8100, 0x88a8, etc.) SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_p...
iavf_tso(9)
NAME iavf_tso - set up the tso context descriptor SYNOPSIS int iavf_tso (struct iavf_tx_buffer *first , u8 *hdr_len , u64 *cd_type_cmd_tso_mss ); ARGUMENTS first pointer to first Tx buffer for xmit hdr_len ptr to the size of the packet header cd_type_cmd_tso_mss Quad Word ...
iavf_tx_enable_csum(9)
NAME iavf_tx_enable_csum - Enable Tx checksum offloads SYNOPSIS int iavf_tx_enable_csum (struct sk_buff *skb , u32 *tx_flags , u32 *td_cmd , u32 *td_offset , struct iavf_ring *tx_ring , u32 *cd_tunneling ); ARGUMENTS skb send buffer tx_flags pointer to Tx flags currently set td_cmd Tx ...
iavf_tx_map(9)
NAME iavf_tx_map - Build the Tx descriptor SYNOPSIS void iavf_tx_map (struct iavf_ring *tx_ring , struct sk_buff *skb , struct iavf_tx_buffer *first , u32 tx_flags , const u8 hdr_len , u32 td_cmd , u32 td_offset ); ARGUMENTS tx_ring ring to send buffer on skb send buffer first first ...
iavf_tx_prepare_vlan_flags(9)
NAME iavf_tx_prepare_vlan_flags - prepare generic TX VLAN tagging flags for HW SYNOPSIS void iavf_tx_prepare_vlan_flags (struct sk_buff *skb , struct iavf_ring *tx_ring , u32 *flags ); ARGUMENTS skb send buffer tx_ring ring to send buffer on flags the tx flags to be set DESCRIPTION ...
iavf_tx_timeout(9)
NAME iavf_tx_timeout - Respond to a Tx Hang SYNOPSIS void iavf_tx_timeout (struct net_device *netdev , unsigned int txqueue ); ARGUMENTS netdev network interface device structure txqueue queue number that is timing out SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_...
iavf_txd_use_count(9)
NAME iavf_txd_use_count - estimate the number of descriptors needed for Tx SYNOPSIS unsigned int iavf_txd_use_count (unsigned int size ); ARGUMENTS size transmit request size in bytes DESCRIPTION Due to hardware alignment restrictions (4K alignment), we need to assume that we can have no more than 12K of data...
iavf_unmap_and_free_tx_resource(9)
NAME iavf_unmap_and_free_tx_resource - Release a Tx buffer SYNOPSIS void iavf_unmap_and_free_tx_resource (struct iavf_ring *ring , struct iavf_tx_buffer *tx_buffer ); ARGUMENTS ring the ring that owns the buffer tx_buffer the buffer to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/...
iavf_up_complete(9)
NAME iavf_up_complete - Finish the last steps of bringing up a connection SYNOPSIS void iavf_up_complete (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), iavf_...
iavf_update_enable_itr(9)
NAME iavf_update_enable_itr - Update itr and re-enable MSIX interrupt SYNOPSIS void iavf_update_enable_itr (struct iavf_vsi *vsi , struct iavf_q_vector *q_vector ); ARGUMENTS vsi the VSI we care about q_vector q_vector for which itr is being updated and interrupt enabled SEE ALSO Kernel file ./d...
iavf_update_itr(9)
NAME iavf_update_itr - update the dynamic ITR value based on statistics SYNOPSIS void iavf_update_itr (struct iavf_q_vector *q_vector , struct iavf_ring_container *rc ); ARGUMENTS q_vector structure containing interrupt and ring information rc structure containing ring performance data DESCRIPTIO...
iavf_validate_ch_config(9)
NAME iavf_validate_ch_config - validate queue mapping info SYNOPSIS int iavf_validate_ch_config (struct iavf_adapter *adapter , struct tc_mqprio_qopt_offload *mqprio_qopt ); ARGUMENTS adapter board private structure mqprio_qopt queue parameters DESCRIPTION This function validates if the config provided b...
iavf_validate_fdir_fltr_masks(9)
NAME iavf_validate_fdir_fltr_masks - validate Flow Director filter fields masks SYNOPSIS int iavf_validate_fdir_fltr_masks (struct iavf_adapter *adapter , struct iavf_fdir_fltr *fltr ); ARGUMENTS adapter pointer to the VF adapter structure fltr Flow Director filter data structure DESCRIPTION Retur...
iavf_validate_num_queues(9)
NAME iavf_validate_num_queues - SYNOPSIS void iavf_validate_num_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Validate that the number of queues the PF has sent in VIRTCHNL_OP_GET_VF_RESOURCES is not larger than the VF can handle. SEE ALSO Kernel file ./drivers/net/et...
iavf_validate_tx_bandwidth(9)
NAME iavf_validate_tx_bandwidth - validate the max Tx bandwidth SYNOPSIS int iavf_validate_tx_bandwidth (struct iavf_adapter *adapter , u64 max_tx_rate ); ARGUMENTS adapter board private structure max_tx_rate max Tx bw for a tc SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_p...
iavf_verify_api_ver(9)
NAME iavf_verify_api_ver - SYNOPSIS int iavf_verify_api_ver (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Compare API versions with the PF. Must be called after admin queue is initialized. Returns 0 if API versions match, -EIO if they do not, IAVF_ERR_ADMIN_QUEUE_NO_WORK i...
iavf_vf_parse_hw_config(9)
NAME iavf_vf_parse_hw_config - SYNOPSIS void iavf_vf_parse_hw_config (struct iavf_hw *hw , struct virtchnl_vf_resource *msg ); ARGUMENTS hw pointer to the hardware structure msg pointer to the virtual channel VF resource structure DESCRIPTION Given a VF resource message from the PF, populate...
iavf_virtchnl_completion(9)
NAME iavf_virtchnl_completion - SYNOPSIS void iavf_virtchnl_completion (struct iavf_adapter *adapter , enum virtchnl_ops v_opcode , enum iavf_status v_retval , u8 *msg , u16 msglen ); ARGUMENTS adapter adapter structure v_opcode opcode sent by PF v_retval retval sent by PF msg ...
iavf_virtchnl_ptp_get_time(9)
NAME iavf_virtchnl_ptp_get_time - Respond to VIRTCHNL_OP_1588_PTP_GET_TIME SYNOPSIS void iavf_virtchnl_ptp_get_time (struct iavf_adapter *adapter , void *data , u16 len ); ARGUMENTS adapter private adapter structure data the message from the PF len length of the message from the PF ...
iavf_virtchnl_send_ptp_cmd(9)
NAME iavf_virtchnl_send_ptp_cmd - Send one queued PTP command SYNOPSIS void iavf_virtchnl_send_ptp_cmd (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter private structure DESCRIPTION De-queue one PTP command request and send the command message to the PF. Clear IAVF_FLAG_AQ_SEND_PTP_CMD if no more mess...
iavf_vlan_add_reject(9)
NAME iavf_vlan_add_reject - SYNOPSIS void iavf_vlan_add_reject (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Remove VLAN filters from list based on PF response. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9)...
iavf_vlan_rx_add_vid(9)
NAME iavf_vlan_rx_add_vid - Add a VLAN filter to a device SYNOPSIS int iavf_vlan_rx_add_vid (struct net_device *netdev , __be16 proto , u16 vid ); ARGUMENTS netdev network device struct proto unused protocol data vid VLAN tag SEE ALSO Kernel file ./drivers/net/ethernet/intel/iav...
iavf_vlan_rx_kill_vid(9)
NAME iavf_vlan_rx_kill_vid - Remove a VLAN filter from a device SYNOPSIS int iavf_vlan_rx_kill_vid (struct net_device *netdev , __be16 proto , u16 vid ); ARGUMENTS netdev network device struct proto unused protocol data vid VLAN tag SEE ALSO Kernel file ./drivers/net/ethernet/in...
iavf_xmit_descriptor_count(9)
NAME iavf_xmit_descriptor_count - calculate number of Tx descriptors needed SYNOPSIS int iavf_xmit_descriptor_count (struct sk_buff *skb ); ARGUMENTS skb send buffer DESCRIPTION Returns number of data descriptors needed for this skb. Returns 0 to indicate there is not enough descriptors available in this rin...
iavf_xmit_frame(9)
NAME iavf_xmit_frame - Selects the correct VSI and Tx queue to send buffer SYNOPSIS netdev_tx_t iavf_xmit_frame (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb send buffer netdev network interface device structure DESCRIPTION Returns NETDEV_TX_OK if sent, else an error code SE...
iavf_xmit_frame_ring(9)
NAME iavf_xmit_frame_ring - Sends buffer on Tx ring SYNOPSIS netdev_tx_t iavf_xmit_frame_ring (struct sk_buff *skb , struct iavf_ring *tx_ring ); ARGUMENTS skb send buffer tx_ring ring to send buffer on DESCRIPTION Returns NETDEV_TX_OK if sent, else an error code SEE ALSO Kernel file ./drivers...
ib_alloc_cq_any(9)
NAME ib_alloc_cq_any - Allocate kernel CQ SYNOPSIS struct ib_cq * ib_alloc_cq_any (struct ib_device *dev , void *private , int nr_cqe , enum ib_poll_context poll_ctx ); ARGUMENTS dev The IB device private Private data attached to the CQE nr_cqe Number of CQEs in the CQ poll_ct...
ib_alloc_mr(9)
NAME ib_alloc_mr - Allocates a memory region SYNOPSIS struct ib_mr * ib_alloc_mr (struct ib_pd *pd , enum ib_mr_type mr_type , u32 max_num_sg ); ARGUMENTS pd protection domain associated with the region mr_type memory region type max_num_sg maximum sg entries available for registration. ...
ib_alloc_mr_integrity(9)
NAME ib_alloc_mr_integrity - Allocates an integrity memory region SYNOPSIS struct ib_mr * ib_alloc_mr_integrity (struct ib_pd *pd , u32 max_num_data_sg , u32 max_num_meta_sg ); ARGUMENTS pd protection domain associated with the region max_num_data_sg maximum data sg entries availab...
ib_alloc_pd(9)
NAME ib_alloc_pd - Allocates an unused protection domain. SYNOPSIS ib_alloc_pd (device , flags ); ARGUMENTS device The device on which to allocate the protection domain. flags protection domain flags DESCRIPTION A protection domain object provides an association between QPs, shared receive queues,...
ib_alloc_xrcd_user(9)
NAME ib_alloc_xrcd_user - Allocates an XRC domain. SYNOPSIS struct ib_xrcd * ib_alloc_xrcd_user (struct ib_device *device , struct inode *inode , struct ib_udata *udata ); ARGUMENTS device The device on which to allocate the XRC domain. inode inode to connect XRCD udata Valid user dat...
ib_attach_mcast(9)
NAME ib_attach_mcast - Attaches the specified QP to a multicast group. SYNOPSIS int ib_attach_mcast (struct ib_qp *qp , union ib_gid *gid , u16 lid ); ARGUMENTS qp QP to attach to the multicast group. The QP must be type IB_QPT_UD. gid Multicast group GID. lid Multicast group...
ib_cancel_mad(9)
NAME ib_cancel_mad - Cancels an outstanding send MAD operation. SYNOPSIS void ib_cancel_mad (struct ib_mad_send_buf *send_buf ); ARGUMENTS send_buf Indicates the MAD to cancel. DESCRIPTION MADs will be returned to the user through the corresponding ib_mad_send_handler. SEE ALSO Kernel file ./include/rdma/ib_ma...
ib_check_mr_status(9)
NAME ib_check_mr_status - lightweight check of MR status. This routine may provide status checks on a selected ib_mr. first use is for signature status check. SYNOPSIS int ib_check_mr_status (struct ib_mr *mr , u32 check_mask , struct ib_mr_status *mr_status ); ARGUMENTS mr A memory region. check_mas...
ib_cleanup_ucaps(9)
NAME ib_cleanup_ucaps - cleanup all API resources and class. SYNOPSIS void ib_cleanup_ucaps (void ); ARGUMENTS void no arguments DESCRIPTION This is called once, when removing the ib_uverbs module. SEE ALSO Kernel file ./drivers/infiniband/core/ucaps.c ib_ucaps_init(9), ib_create_ucap(9), ib_remove_ucap(9), ...
ib_close_qp(9)
NAME ib_close_qp - Release an external reference to a QP. SYNOPSIS int ib_close_qp (struct ib_qp *qp ); ARGUMENTS qp The QP handle to release DESCRIPTION The opened QP handle is released by the caller. The underlying shared QP is not destroyed until all internal references are released. SEE ALSO Kernel ...
ib_cm_handler(9)
NAME ib_cm_handler - User-defined callback to process communication events. SYNOPSIS int ib_cm_handler (struct ib_cm_id *cm_id , const struct ib_cm_event *event ); ARGUMENTS cm_id Communication identifier associated with the reported event. event Information about the communication event. DESCRIP...
ib_cm_init_qp_attr(9)
NAME ib_cm_init_qp_attr - Initializes the QP attributes for use in transitioning to a specified QP state. SYNOPSIS int ib_cm_init_qp_attr (struct ib_cm_id *cm_id , struct ib_qp_attr *qp_attr , int *qp_attr_mask ); ARGUMENTS cm_id Communication identifier associated with the QP attributes to initialize. ...
ib_cm_insert_listen(9)
NAME ib_cm_insert_listen - Create a new listening ib_cm_id and listen on the given service ID. SYNOPSIS struct ib_cm_id * ib_cm_insert_listen (struct ib_device *device , ib_cm_handler cm_handler , __be64 service_id ); ARGUMENTS device Device associated with the cm_id. All related communication will be associate...
ib_cm_listen(9)
NAME ib_cm_listen - Initiates listening on the specified service ID for connection and service ID resolution requests. SYNOPSIS int ib_cm_listen (struct ib_cm_id *cm_id , __be64 service_id ); ARGUMENTS cm_id Connection identifier associated with the listen request. service_id Service identifier match...
ib_cm_notify(9)
NAME ib_cm_notify - Notifies the CM of an event reported to the consumer. SYNOPSIS int ib_cm_notify (struct ib_cm_id *cm_id , enum ib_event_type event ); ARGUMENTS cm_id Connection identifier to transition to established. event Type of event. DESCRIPTION This routine should be invoked by users...
ib_cq_head(9)
NAME ib_cq_head - Return head index of cq buffer SYNOPSIS u32 ib_cq_head (struct ib_cq *send_cq ); ARGUMENTS send_cq The cq for send DESCRIPTION This is called in qp_iter_print to get head of cq buffer. SEE ALSO Kernel file ./include/rdma/rdmavt_qp.h struct rvt_ud_wr(9), struct rvt_krwq(9), rvt_get_swqe_ah_...
ib_cq_pool_get(9)
NAME ib_cq_pool_get - Find the least used completion queue that matches a given cpu hint (or least used for wild card affinity) and fits nr_cqe. SYNOPSIS struct ib_cq * ib_cq_pool_get (struct ib_device *dev , unsigned int nr_cqe , int comp_vector_hint , enum ib_poll_context poll_ctx ); ARGUMENTS dev rdma devi...
ib_cq_pool_put(9)
NAME ib_cq_pool_put - Return a CQ taken from a shared pool. SYNOPSIS void ib_cq_pool_put (struct ib_cq *cq , unsigned int nr_cqe ); ARGUMENTS cq The CQ to return. nr_cqe The max number of cqes that the user had requested. SEE ALSO Kernel file ./drivers/infiniband/core/cq.c ib_process_cq_direct(...
ib_cq_tail(9)
NAME ib_cq_tail - Return tail index of cq buffer SYNOPSIS u32 ib_cq_tail (struct ib_cq *send_cq ); ARGUMENTS send_cq The cq for send DESCRIPTION This is called in qp_iter_print to get tail of cq buffer. SEE ALSO Kernel file ./include/rdma/rdmavt_qp.h struct rvt_ud_wr(9), struct rvt_krwq(9), rvt_get_swqe_ah_...
ib_create_ah_from_wc(9)
NAME ib_create_ah_from_wc - Creates an address handle associated with the sender of the specified work completion. SYNOPSIS struct ib_ah * ib_create_ah_from_wc (struct ib_pd *pd , const struct ib_wc *wc , const struct ib_grh *grh , u32 port_num ); ARGUMENTS pd The protection domain associated with the addres...
ib_create_cm_id(9)
NAME ib_create_cm_id - Allocate a communication identifier. SYNOPSIS struct ib_cm_id * ib_create_cm_id (struct ib_device *device , ib_cm_handler cm_handler , void *context ); ARGUMENTS device Device associated with the cm_id. All related communication will be associated with the specified device. cm_han...
ib_create_qp(9)
NAME ib_create_qp - Creates a kernel QP associated with the specific protection domain. SYNOPSIS struct ib_qp * ib_create_qp (struct ib_pd *pd , struct ib_qp_init_attr *init_attr ); ARGUMENTS pd The protection domain associated with the QP. init_attr A list of initial attributes required to create ...
ib_create_qp_user(9)
NAME ib_create_qp_user - Creates a QP associated with the specified protection domain. SYNOPSIS struct ib_qp * ib_create_qp_user (struct ib_device *dev , struct ib_pd *pd , struct ib_qp_init_attr *attr , struct ib_udata *udata , struct ib_uqp_object *uobj , const char *caller ); ARGUMENTS dev IB device ...
ib_create_send_mad(9)
NAME ib_create_send_mad - Allocate and initialize a data buffer and work request for sending a MAD. SYNOPSIS struct ib_mad_send_buf * ib_create_send_mad (struct ib_mad_agent *mad_agent , u32 remote_qpn , u16 pkey_index , int rmpp_active , int hdr_len , int data_len , gfp_t gfp_mask , u8 base_version ); ARGUMENTS mad_...
ib_create_srq_user(9)
NAME ib_create_srq_user - Creates a SRQ associated with the specified protection domain. SYNOPSIS struct ib_srq * ib_create_srq_user (struct ib_pd *pd , struct ib_srq_init_attr *srq_init_attr , struct ib_usrq_object *uobject , struct ib_udata *udata ); ARGUMENTS pd The protection domain associated with the S...
ib_create_ucap(9)
NAME ib_create_ucap - Add a ucap character device SYNOPSIS int ib_create_ucap (enum rdma_user_cap type ); ARGUMENTS type UCAP type DESCRIPTION Creates a ucap character device in the /dev/infiniband directory. By default, the device has root-only read-write access. A driver may call this multiple times with ...
ib_create_wq(9)
NAME ib_create_wq - Creates a WQ associated with the specified protection domain. SYNOPSIS struct ib_wq * ib_create_wq (struct ib_pd *pd , struct ib_wq_init_attr *wq_attr ); ARGUMENTS pd The protection domain associated with the WQ. wq_attr A list of initial attributes required to create the WQ. ...
ib_dealloc_device(9)
NAME ib_dealloc_device - free an IB device struct SYNOPSIS void ib_dealloc_device (struct ib_device *device ); ARGUMENTS device structure to free DESCRIPTION Free a structure allocated with ib_alloc_device. SEE ALSO Kernel file ./drivers/infiniband/core/device.c rdma_dev_access_netns(9), rdma_dev_has_raw_cap(9...
ib_dealloc_pd(9)
NAME ib_dealloc_pd - Deallocate kernel PD SYNOPSIS void ib_dealloc_pd (struct ib_pd *pd ); ARGUMENTS pd The protection domain NOTE for user PD use ib_dealloc_pd_user with valid udata! SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_rate_to_mu...
ib_dealloc_pd_user(9)
NAME ib_dealloc_pd_user - Deallocates a protection domain. SYNOPSIS int ib_dealloc_pd_user (struct ib_pd *pd , struct ib_udata *udata ); ARGUMENTS pd The protection domain to deallocate. udata Valid user data or NULL for kernel object DESCRIPTION It is an error to call this function while any ...
ib_dealloc_xrcd_user(9)
NAME ib_dealloc_xrcd_user - Deallocates an XRC domain. SYNOPSIS int ib_dealloc_xrcd_user (struct ib_xrcd *xrcd , struct ib_udata *udata ); ARGUMENTS xrcd The XRC domain to deallocate. udata Valid user data or NULL for kernel object SEE ALSO Kernel file ./drivers/infiniband/core/verbs.c ...
ib_dereg_mr(9)
NAME ib_dereg_mr - Deregisters a kernel memory region and removes it from the HCA translation table. SYNOPSIS int ib_dereg_mr (struct ib_mr *mr ); ARGUMENTS mr The memory region to deregister. DESCRIPTION This function can fail, if the memory region has memory windows bound to it. NOTE for user mr use ib_d...
ib_dereg_mr_user(9)
NAME ib_dereg_mr_user - Deregisters a memory region and removes it from the HCA translation table. SYNOPSIS int ib_dereg_mr_user (struct ib_mr *mr , struct ib_udata *udata ); ARGUMENTS mr The memory region to deregister. udata Valid user data or NULL for kernel object DESCRIPTION This function...
ib_destroy_cm_id(9)
NAME ib_destroy_cm_id - Destroy a connection identifier. SYNOPSIS void ib_destroy_cm_id (struct ib_cm_id *cm_id ); ARGUMENTS cm_id Connection identifier to destroy. DESCRIPTION This call blocks until the connection identifier is destroyed. SEE ALSO Kernel file ./include/rdma/ib_cm.h ib_cm_handler(9), ...
ib_destroy_cq(9)
NAME ib_destroy_cq - Destroys the specified kernel CQ. SYNOPSIS void ib_destroy_cq (struct ib_cq *cq ); ARGUMENTS cq The CQ to destroy. NOTE for user cq use ib_destroy_cq_user with valid udata! SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_...
ib_destroy_cq_user(9)
NAME ib_destroy_cq_user - Destroys the specified CQ. SYNOPSIS int ib_destroy_cq_user (struct ib_cq *cq , struct ib_udata *udata ); ARGUMENTS cq The CQ to destroy. udata Valid user data or NULL for kernel objects SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), ...
ib_destroy_qp(9)
NAME ib_destroy_qp - Destroys the specified kernel QP. SYNOPSIS int ib_destroy_qp (struct ib_qp *qp ); ARGUMENTS qp The QP to destroy. NOTE for user qp use ib_destroy_qp_user with valid udata! SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_r...
ib_destroy_srq(9)
NAME ib_destroy_srq - Destroys the specified kernel SRQ. SYNOPSIS void ib_destroy_srq (struct ib_srq *srq ); ARGUMENTS srq The SRQ to destroy. NOTE for user srq use ib_destroy_srq_user with valid udata! SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(...
ib_destroy_srq_user(9)
NAME ib_destroy_srq_user - Destroys the specified SRQ. SYNOPSIS int ib_destroy_srq_user (struct ib_srq *srq , struct ib_udata *udata ); ARGUMENTS srq The SRQ to destroy. udata Valid user data or NULL for kernel objects SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc...
ib_destroy_wq_user(9)
NAME ib_destroy_wq_user - Destroys the specified user WQ. SYNOPSIS int ib_destroy_wq_user (struct ib_wq *wq , struct ib_udata *udata ); ARGUMENTS wq The WQ to destroy. udata Valid user data SEE ALSO Kernel file ./drivers/infiniband/core/verbs.c __ib_alloc_pd(9), ib_dealloc_pd_user(...
ib_detach_mcast(9)
NAME ib_detach_mcast - Detaches the specified QP from a multicast group. SYNOPSIS int ib_detach_mcast (struct ib_qp *qp , union ib_gid *gid , u16 lid ); ARGUMENTS qp QP to detach from the multicast group. gid Multicast group GID. lid Multicast group LID in host byte order. SE...
ib_device_disable_gid_updates(9)
NAME ib_device_disable_gid_updates - Clear the GID updates mark SYNOPSIS void ib_device_disable_gid_updates (struct ib_device *device ); ARGUMENTS device Device to unmark DESCRIPTION Called before GID table cleanup to prevent event handlers from accessing the device while it's being torn down. SEE ALSO Kernel ...
ib_device_enable_gid_updates(9)
NAME ib_device_enable_gid_updates - Mark device as ready for GID cache updates SYNOPSIS void ib_device_enable_gid_updates (struct ib_device *device ); ARGUMENTS device Device to mark DESCRIPTION Called after GID table is allocated and initialized. After this mark is set, netdevice event handlers can update the...
ib_device_get_by_netdev(9)
NAME ib_device_get_by_netdev - Find an IB device associated with a netdev SYNOPSIS struct ib_device * ib_device_get_by_netdev (struct net_device *ndev , enum rdma_driver_id driver_id ); ARGUMENTS ndev netdev to locate driver_id The driver ID that must match (RDMA_DRIVER_UNKNOWN matches all) DESCRIPT...
ib_device_put(9)
NAME ib_device_put - Release IB device reference SYNOPSIS void ib_device_put (struct ib_device *device ); ARGUMENTS device device whose reference to be released DESCRIPTION ib_device_put releases reference to the IB device to allow it to be unregistered and eventually free. SEE ALSO Kernel file ./drivers/inf...
ib_device_register_rdmacg(9)
NAME ib_device_register_rdmacg - register with rdma cgroup. SYNOPSIS void ib_device_register_rdmacg (struct ib_device *device ); ARGUMENTS device device to register to participate in resource accounting by rdma cgroup. DESCRIPTION Register with the rdma cgroup. Should be called before exposing rdma device to us...
ib_device_set_netdev(9)
NAME ib_device_set_netdev - Associate the ib_dev with an underlying net_device SYNOPSIS int ib_device_set_netdev (struct ib_device *ib_dev , struct net_device *ndev , u32 port ); ARGUMENTS ib_dev Device to modify ndev net_device to affiliate, may be NULL port IB port the net_device ...
ib_device_try_get(9)
NAME ib_device_try_get - Hold a registration lock SYNOPSIS bool ib_device_try_get (struct ib_device *dev ); ARGUMENTS dev The device to lock DESCRIPTION A device under an active registration lock cannot become unregistered. It is only possible to obtain a registration lock on a device that is fully register...
ib_device_unregister_rdmacg(9)
NAME ib_device_unregister_rdmacg - unregister with rdma cgroup. SYNOPSIS void ib_device_unregister_rdmacg (struct ib_device *device ); ARGUMENTS device device to unregister. DESCRIPTION Unregister with the rdma cgroup. Should be called after all the resources are deallocated, and after a stage when any other ...
ib_dispatch_event(9)
NAME ib_dispatch_event - Dispatch an asynchronous event SYNOPSIS void ib_dispatch_event (const struct ib_event *event ); ARGUMENTS event Event to dispatch DESCRIPTION Low-level drivers must call ib_dispatch_event to dispatch the event to all registered event handlers when an asynchronous event occurs. SEE ALS...
ib_dma_map_bvec(9)
NAME ib_dma_map_bvec - Map a bio_vec to DMA address SYNOPSIS u64 ib_dma_map_bvec (struct ib_device *dev , struct bio_vec *bvec , enum dma_data_direction direction ); ARGUMENTS dev The device for which the dma_addr is to be created bvec The bio_vec to map direction The direction of the...
ib_dma_map_page(9)
NAME ib_dma_map_page - Map a physical page to DMA address SYNOPSIS u64 ib_dma_map_page (struct ib_device *dev , struct page *page , unsigned long offset , size_t size , enum dma_data_direction direction ); ARGUMENTS dev The device for which the dma_addr is to be created page The page to be mapp...
ib_dma_map_sg(9)
NAME ib_dma_map_sg - Map a scatter/gather list to DMA addresses SYNOPSIS int ib_dma_map_sg (struct ib_device *dev , struct scatterlist *sg , int nents , enum dma_data_direction direction ); ARGUMENTS dev The device for which the DMA addresses are to be created sg The array of scatter/gather e...
ib_dma_map_sgtable_attrs(9)
NAME ib_dma_map_sgtable_attrs - Map a scatter/gather table to DMA addresses SYNOPSIS int ib_dma_map_sgtable_attrs (struct ib_device *dev , struct sg_table *sgt , enum dma_data_direction direction , unsigned long dma_attrs ); ARGUMENTS dev The device for which the DMA addresses are to be created sgt ...
ib_dma_map_single(9)
NAME ib_dma_map_single - Map a kernel virtual address to DMA address SYNOPSIS u64 ib_dma_map_single (struct ib_device *dev , void *cpu_addr , size_t size , enum dma_data_direction direction ); ARGUMENTS dev The device for which the dma_addr is to be created cpu_addr The kernel virtual address ...
ib_dma_mapping_error(9)
NAME ib_dma_mapping_error - check a DMA addr for error SYNOPSIS int ib_dma_mapping_error (struct ib_device *dev , u64 dma_addr ); ARGUMENTS dev The device for which the dma_addr was created dma_addr The DMA address to check SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_de...
ib_dma_max_seg_size(9)
NAME ib_dma_max_seg_size - Return the size limit of a single DMA transfer SYNOPSIS unsigned int ib_dma_max_seg_size (struct ib_device *dev ); ARGUMENTS dev The device to query DESCRIPTION The returned value represents a size in bytes. SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_d...
ib_dma_sync_single_for_cpu(9)
NAME ib_dma_sync_single_for_cpu - Prepare DMA region to be accessed by CPU SYNOPSIS void ib_dma_sync_single_for_cpu (struct ib_device *dev , u64 addr , size_t size , enum dma_data_direction dir ); ARGUMENTS dev The device for which the DMA address was created addr The DMA address size ...
ib_dma_sync_single_for_device(9)
NAME ib_dma_sync_single_for_device - Prepare DMA region to be accessed by device SYNOPSIS void ib_dma_sync_single_for_device (struct ib_device *dev , u64 addr , size_t size , enum dma_data_direction dir ); ARGUMENTS dev The device for which the DMA address was created addr The DMA address ...
ib_dma_unmap_bvec(9)
NAME ib_dma_unmap_bvec - Unmap a bio_vec DMA mapping SYNOPSIS void ib_dma_unmap_bvec (struct ib_device *dev , u64 addr , size_t size , enum dma_data_direction direction ); ARGUMENTS dev The device for which the DMA address was created addr The DMA address returned by ib_dma_map_bvec siz...
ib_dma_unmap_page(9)
NAME ib_dma_unmap_page - Destroy a mapping created by ib_dma_map_page() SYNOPSIS void ib_dma_unmap_page (struct ib_device *dev , u64 addr , size_t size , enum dma_data_direction direction ); ARGUMENTS dev The device for which the DMA address was created addr The DMA address size ...
ib_dma_unmap_sg(9)
NAME ib_dma_unmap_sg - Unmap a scatter/gather list of DMA addresses SYNOPSIS void ib_dma_unmap_sg (struct ib_device *dev , struct scatterlist *sg , int nents , enum dma_data_direction direction ); ARGUMENTS dev The device for which the DMA addresses were created sg The array of scatter/gather...
ib_dma_unmap_single(9)
NAME ib_dma_unmap_single - Destroy a mapping created by ib_dma_map_single() SYNOPSIS void ib_dma_unmap_single (struct ib_device *dev , u64 addr , size_t size , enum dma_data_direction direction ); ARGUMENTS dev The device for which the DMA address was created addr The DMA address size ...
ib_drain_qp(9)
NAME ib_drain_qp - Block until all CQEs have been consumed by the application on both the RQ and SQ. SYNOPSIS void ib_drain_qp (struct ib_qp *qp ); ARGUMENTS qp queue pair to drain DESCRIPTION The caller must: ensure there is room in the CQ(s), SQ, and RQ for drain work requests and completions. alloc...
ib_drain_rq(9)
NAME ib_drain_rq - Block until all RQ CQEs have been consumed by the application. SYNOPSIS void ib_drain_rq (struct ib_qp *qp ); ARGUMENTS qp queue pair to drain DESCRIPTION If the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_rq. The...
ib_drain_sq(9)
NAME ib_drain_sq - Block until all SQ CQEs have been consumed by the application. SYNOPSIS void ib_drain_sq (struct ib_qp *qp ); ARGUMENTS qp queue pair to drain DESCRIPTION If the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_sq. The...
ib_enum_all_roce_netdevs(9)
NAME ib_enum_all_roce_netdevs - enumerate all RoCE devices SYNOPSIS void ib_enum_all_roce_netdevs (roce_netdev_filter filter , void *filter_cookie , roce_netdev_callback cb , void *cookie ); ARGUMENTS filter Should we call the callback? filter_cookie Cookie passed to filter cb ...
ib_enum_roce_netdev(9)
NAME ib_enum_roce_netdev - enumerate all RoCE ports SYNOPSIS void ib_enum_roce_netdev (struct ib_device *ib_dev , roce_netdev_filter filter , void *filter_cookie , roce_netdev_callback cb , void *cookie ); ARGUMENTS ib_dev IB device we want to query filter Should we call the callback? filter...