Re: [PATCH net-next v4 5/7] enic: Adjust used MSI-X wq/rq/cq/interrupt resources in a more robust way

From: Vadim Fedorenko
Date: Thu Nov 14 2024 - 11:32:29 EST


On 13/11/2024 23:56, Nelson Escobar wrote:
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@xxxxxxxxx>
Signed-off-by: John Daley <johndale@xxxxxxxxx>
Co-developed-by: Satish Kharat <satishkh@xxxxxxxxx>
Signed-off-by: Satish Kharat <satishkh@xxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
Signed-off-by: Nelson Escobar <neescoba@xxxxxxxxx>

Reviewed-by: Vadim Fedorenko <vadim.fedorenko@xxxxxxxxx>