]> git.baikalelectronics.ru Git - 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)
commitc12cf665b87de4b9a75f1ea4c13d7a862b88dee6
tree4ea6d024034cbe128dfba47d3374403e54a8cd0f
parentaa8778ff639f13c9f9450e6a2061fb7be177b893
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