[Intel-wired-lan] [PATCH 2/2] i40e: Register a virtbus device to provide RDMA
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Jan 17 22:02:03 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Shiraz Saleem
> Sent: Thursday, January 16, 2020 3:06 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Saleem, Shiraz <shiraz.saleem at intel.com>
> Subject: [Intel-wired-lan] [PATCH 2/2] i40e: Register a virtbus device to
> provide RDMA
>
> Register client virtbus device on the virtbus for the RDMA virtbus driver
> (irdma) to bind to. It allows to realize a single RDMA driver capable of working
> with multiple netdev drivers over multi-generation Intel HW supporting
> RDMA.
> There is also no load ordering dependencies between i40e and irdma.
>
> Summary of changes:
> * Support to add/remove virtbus devices
> * Add 2 new client ops.
> * i40e_client_device_register() which is called during RDMA
> probe() per PF. Validate client drv OPs and schedule service
> task to call open()
> * i40e_client_device_unregister() called during RDMA remove()
> per PF. Call client close() and release_qvlist.
> * The global register/unregister calls exported for i40iw are retained
> until i40iw is removed from the kernel.
>
> Signed-off-by: Mustafa Ismail <mustafa.ismail at intel.com>
> Signed-off-by: Shiraz Saleem <shiraz.saleem at intel.com>
> ---
> drivers/net/ethernet/intel/Kconfig | 1 +
> drivers/net/ethernet/intel/i40e/i40e_client.c | 137
> ++++++++++++++++++++++----
> include/linux/net/intel/i40e_client.h | 15 +++
> 3 files changed, 133 insertions(+), 20 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list