]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
i40e: Register auxiliary devices to provide RDMA
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 21 May 2021 17:11:20 +0000 (10:11 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Sat, 29 May 2021 03:11:13 +0000 (20:11 -0700)
commitf4370a85d62e645107afc8a35a979be962b19258
tree4ea6d024034cbe128dfba47d3374403e54a8cd0f
parent9ed7533121219cb25408888cf7fbb929cedc033c
i40e: Register auxiliary devices to provide RDMA

Convert i40e to use the auxiliary bus infrastructure to export
the RDMA functionality of the device to the RDMA driver.
Register i40e client auxiliary RDMA device on the auxiliary bus per
PCIe device function for the new auxiliary rdma driver (irdma) to
attach to.

The global i40e_register_client and i40e_unregister_client symbols
will be obsoleted once irdma replaces i40iw in the kernel
for the X722 device.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/Kconfig
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_client.c
drivers/net/ethernet/intel/i40e/i40e_main.c