diff options
author | 2024-12-03 07:58:13 +0100 | |
---|---|---|
committer | 2025-02-05 09:04:57 -0800 | |
commit | 3e0d3cb3fbe06a7bc09d98324a21a446c80f9d3b (patch) | |
tree | 57c95c1351b13e35bb7bb4dae697a6f3c24fc130 /include/linux/net/intel/iidc.h | |
parent | ice: get rid of num_lan_msix field (diff) | |
download | wireguard-linux-3e0d3cb3fbe06a7bc09d98324a21a446c80f9d3b.tar.xz wireguard-linux-3e0d3cb3fbe06a7bc09d98324a21a446c80f9d3b.zip |
ice, irdma: move interrupts code to irdma
Move responsibility of MSI-X requesting for RDMA feature from ice driver
to irdma driver. It is done to allow simple fallback when there is not
enough MSI-X available.
Change amount of MSI-X used for control from 4 to 1, as it isn't needed
to have more than one MSI-X for this purpose.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux/net/intel/iidc.h')
-rw-r--r-- | include/linux/net/intel/iidc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/net/intel/iidc.h b/include/linux/net/intel/iidc.h index 1c1332e4df26..13274c3def66 100644 --- a/include/linux/net/intel/iidc.h +++ b/include/linux/net/intel/iidc.h @@ -78,6 +78,8 @@ int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type); int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable); void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos); +int ice_alloc_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry); +void ice_free_rdma_qvector(struct ice_pf *pf, struct msix_entry *entry); /* Structure representing auxiliary driver tailored information about the core * PCI dev, each auxiliary driver using the IIDC interface will have an |