diff options
author | Nelson Escobar <neescoba@cisco.com> | 2024-11-13 23:56:37 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-15 15:38:41 -0800 |
commit | cc94d6c4d40c070ca95db8e43e92c4ee1fff5009 (patch) | |
tree | 14400859f8b7d22d4bed0654e1cc03725afac66e /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | a64e5492ca908bb4f8c286b5761507792a0e03cd (diff) | |
download | linux-cc94d6c4d40c070ca95db8e43e92c4ee1fff5009.tar.gz linux-cc94d6c4d40c070ca95db8e43e92c4ee1fff5009.tar.bz2 linux-cc94d6c4d40c070ca95db8e43e92c4ee1fff5009.zip |
enic: Adjust used MSI-X wq/rq/cq/interrupt resources in a more robust way
Instead of failing to use MSI-X if resources aren't configured exactly
right, use the resources we do have. Since we could start using large
numbers of rq resources, we do limit the rq count to what
netif_get_num_default_rss_queues() recommends.
Co-developed-by: John Daley <johndale@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
Co-developed-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20241113-remove_vic_resource_limits-v4-5-a34cf8570c67@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions