Lines Matching full:rdma
34 * @brief RDMA client driver interface
36 * Functions to interface with the RDMA client driver, for enabling RMDA
39 * The RDMA client interface is based on a simple kobject interface which is
43 * the client RDMA driver provides the irdma_if.m interface methods as an
46 * The initial connection between drivers is done via the RDMA client driver
58 * @brief global RDMA driver state
60 * Contains global state the driver uses to connect to a client RDMA interface
76 * RDMA Device Interface prototypes
91 * @brief RDMA driver interface methods
93 * Kobject methods implementing the driver-side interface for the RDMA peer
113 * ice_rdma_pf_reset - RDMA client interface requested a reset
114 * @peer: the RDMA peer client structure
116 * Implements IRDMA_DI_RESET, called by the RDMA client driver to request
125 /* Tell the base driver that RDMA is requesting a PFR */
128 /* XXX: Base driver will notify RDMA when it's done */
134 * ice_rdma_pf_msix_init - RDMA client interface request MSI-X initialization
135 * @peer: the RDMA peer client structure
138 * Implements IRDMA_DI_MSIX_INIT, called by the RDMA client driver to
139 * initialize the MSI-X resources required for RDMA functionality.
152 /* TODO: implement MSI-X initialization for RDMA */
157 * ice_rdma_register_request - RDMA client interface request qset
159 * @peer: the RDMA peer client structure
218 ice_debug(hw, ICE_DBG_RDMA, "RDMA QSet invalid VSI\n");
233 ice_debug(hw, ICE_DBG_RDMA, "RDMA QSet invalid VSI requested %d %d\n",
252 ice_debug(hw, ICE_DBG_RDMA, "Failed VSI RDMA qset config\n");
265 ice_debug(hw, ICE_DBG_RDMA, "Failed VSI RDMA qset enable\n");
291 * when opening or closing rdma driver
292 * @peer: the RDMA peer client structure
293 * @enable: enable or disable the rdma filter
323 * ice_rdma_request_handler - handle requests incoming from RDMA driver
324 * @peer: the RDMA peer client structure
354 * to RDMA driver
413 * ice_rdma_check_version - Check that the provided RDMA version is compatible
414 * @info: the RDMA client information structure
416 * Verify that the client RDMA driver provided a version that is compatible
418 * @return 0 on success, ENOTSUP when LAN-RDMA interface version doesn't match,
436 * This means that the RDMA client driver version MUST not be greater
438 * the RDMA client expects features which are not supported by the
452 * This means that the RDMA client version MUST not be greater than
454 * RDMA client expects certain backwards compatible bug fixes which
477 * ice_rdma_register - Register an RDMA client driver
478 * @info: the RDMA client information structure
480 * Called by the RDMA client driver on load. Used to initialize the RDMA
482 * RDMA client driver.
484 * The RDMA client driver must provide the version number it expects, along
487 * @return 0 on success, ECONNREFUSED when RDMA is turned off, EBUSY when irdma
488 * already registered, ENOTSUP when LAN-RDMA interface version doesn't match,
523 * Initialize the kobject interface and notify the RDMA client of each
547 * ice_rdma_unregister - Unregister an RDMA client driver
549 * Called by the RDMA client driver on unload. Used to de-initialize the RDMA
551 * and the RDMA client driver.
587 * ice_rdma_init - RDMA driver init routine
589 * Called during ice driver module initialization to setup the RDMA client
590 * interface mutex and RDMA peer structure list.
596 sx_init_flags(&ice_rdma.mtx, "ice rdma interface", SX_DUPOK);
603 * ice_rdma_exit - RDMA driver exit routine
605 * Called during ice driver module exit to shutdown the RDMA client interface
616 * ice_rdma_pf_attach_locked - Prepare a PF for RDMA connections
619 * Initialize a peer entry for this PF and add it to the RDMA interface list.
620 * Notify the client RDMA driver of a new PF device.
623 * @return 0 on success and when RDMA feature is not available, EEXIST when
631 /* Do not attach the PF unless RDMA is supported */
659 * If the RDMA client driver has already registered, initialize the
675 * ice_rdma_pf_attach - Notify the RDMA client of a new PF
678 * Called during PF attach to notify the RDMA client of a new PF.
694 * ice_rdma_pf_detach_locked - Notify the RDMA client on PF detach
697 * Notify the RDMA peer client driver of removal of a PF, and release any
698 * RDMA-specific resources associated with that PF. Remove the PF from the
699 * list of available RDMA entries.
708 /* No need to detach the PF if RDMA is not enabled */
719 * If the RDMA client driver is registered, notify the client that
734 * ice_rdma_pf_detach - Notify the RDMA client of a PF detaching
737 * Take the ice_rdma mutex and then notify the RDMA client that a PF has been
749 * ice_rdma_pf_init - Notify the RDMA client that a PF has initialized
752 * Called by the ice driver when a PF has been initialized. Notifies the RDMA
778 * ice_rdma_pf_stop - Notify the RDMA client of a stopped PF device
781 * Called by the ice driver when a PF is stopped. Notifies the RDMA client
802 * ice_rdma_link_change - Notify RDMA client of a change in link status
807 * Notify the RDMA client of a link status change, by sending it the new link
833 * ice_rdma_notify_dcb_qos_change - notify RDMA driver to pause traffic
836 * Notify the RDMA driver that QOS/DCB settings are about to change.
857 * ice_rdma_dcb_qos_update - pass the changed dcb settings to RDMA driver
861 * Pass the changed DCB settings to RDMA traffic. This function should be
863 * returned before. After the function returns, all the RDMA traffic
890 * Pass the information about received interrupt to RDMA driver if it was