Lines Matching full:driver

34  * @brief RDMA client driver interface
36 * Functions to interface with the RDMA client driver, for enabling RMDA
37 * functionality for the ice driver.
42 * The ice device driver provides the rmda_di_if.m interface methods, while
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
61 * driver.
91 * @brief RDMA driver interface methods
93 * Kobject methods implementing the driver-side interface for the RDMA peer
95 * request from the driver.
97 * The client driver will then extend this kobject class with methods that the
98 * driver can request from the client.
109 /* Define ice_rdma_di class which will be extended by the iRDMA driver */
116 * Implements IRDMA_DI_RESET, called by the RDMA client driver to request
117 * a reset of an ice driver device.
125 /* Tell the base driver that RDMA is requesting a PFR */
128 /* XXX: Base driver will notify RDMA when it's done */
138 * Implements IRDMA_DI_MSIX_INIT, called by the RDMA client driver to
291 * when opening or closing rdma driver
323 * ice_rdma_request_handler - handle requests incoming from RDMA driver
354 * to RDMA driver
356 * @dcbx_cfg: current DCB settings in ice driver
416 * Verify that the client RDMA driver provided a version that is compatible
417 * with the driver interface.
426 log(LOG_WARNING, "%s: the iRDMA driver requested version %d.%d.%d, but this driver only supports major version %d.x.x\n",
436 * This means that the RDMA client driver version MUST not be greater
437 * than the version provided by the driver, as it would indicate that
439 * main driver.
442 log(LOG_WARNING, "%s: the iRDMA driver requested version %d.%d.%d, but this driver only supports up to minor version %d.%d.x\n",
453 * the version provided by the driver, as it may indicate that the
455 * are not implemented by this version of the main driver.
459 log(LOG_WARNING, "%s: the iRDMA driver requested version %d.%d.%d, but this driver only supports up to patch version %d.%d.%d\n",
468 log(LOG_WARNING, "%s: the iRDMA driver did not specify a kobject interface\n",
477 * ice_rdma_register - Register an RDMA client driver
480 * Called by the RDMA client driver on load. Used to initialize the RDMA
481 * client driver interface and enable interop between the ice driver and the
482 * RDMA client driver.
484 * The RDMA client driver must provide the version number it expects, along
501 log(LOG_INFO, "%s: The iRDMA driver interface has been disabled\n", __func__);
507 log(LOG_WARNING, "%s: iRDMA driver already registered\n", __func__);
517 log(LOG_INFO, "%s: iRDMA driver registered using version %d.%d.%d\n",
547 * ice_rdma_unregister - Unregister an RDMA client driver
549 * Called by the RDMA client driver on unload. Used to de-initialize the RDMA
550 * client driver interface and shut down communication between the ice driver
551 * and the RDMA client driver.
552 * @return 0 on success, ENOENT when irdma driver wasn't registered
562 log(LOG_WARNING, "%s: iRDMA driver was not previously registered\n",
568 log(LOG_INFO, "%s: iRDMA driver unregistered\n", __func__);
587 * ice_rdma_init - RDMA driver init routine
589 * Called during ice driver module initialization to setup the RDMA client
603 * ice_rdma_exit - RDMA driver exit routine
605 * Called during ice driver module exit to shutdown the RDMA client interface
617 * @sc: the ice driver softc
620 * Notify the client RDMA driver of a new PF device.
659 * If the RDMA client driver has already registered, initialize the
676 * @sc: the ice driver softc
695 * @sc: the ice driver softc
697 * Notify the RDMA peer client driver of removal of a PF, and release any
719 * If the RDMA client driver is registered, notify the client that
735 * @sc: the ice driver softc
750 * @sc: the ice driver softc
752 * Called by the ice driver when a PF has been initialized. Notifies the RDMA
779 * @sc: the ice driver softc
781 * Called by the ice driver when a PF is stopped. Notifies the RDMA client
782 * driver that the PF has stopped and is not ready to operate.
803 * @sc: the ice driver softc
833 * ice_rdma_notify_dcb_qos_change - notify RDMA driver to pause traffic
834 * @sc: the ice driver softc
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
858 * @sc: the ice driver softc
887 * @sc: the ice driver softc
890 * Pass the information about received interrupt to RDMA driver if it was
892 * The irdma driver shall decide what should be done upon these interrupts.
912 * @sc: the ice driver softc
914 * Inform irdma driver of an incoming PF reset.
915 * The irdma driver shall set its state to reset, and avoid using CQP