idpf: use reserved RDMA vectors from control plane
authorJoshua Hay <joshua.a.hay@intel.com>
Tue, 8 Jul 2025 21:05:49 +0000 (16:05 -0500)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 14 Jul 2025 17:57:44 +0000 (10:57 -0700)
commitbfc5cc8b5aecc9b0249322e39d8d6f65bd7c91ac
tree499e26b16a4f9e023ab0be4cb2a00eea3a4c3711
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
idpf: use reserved RDMA vectors from control plane

Fetch the number of reserved RDMA vectors from the control plane.
Adjust the number of reserved LAN vectors if necessary. Adjust the
minimum number of vectors the OS should reserve to include RDMA; and
fail if the OS cannot reserve enough vectors for the minimum number of
LAN and RDMA vectors required. Create a separate msix table for the
reserved RDMA vectors, which will just get handed off to the RDMA core
device to do with what it will.

Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
Signed-off-by: Joshua Hay <joshua.a.hay@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf.h
drivers/net/ethernet/intel/idpf/idpf_lib.c
drivers/net/ethernet/intel/idpf/idpf_txrx.h
drivers/net/ethernet/intel/idpf/virtchnl2.h