Re: [PATCH net-next v4 3/7] enic: Save resource counts we read from HW

From: Vadim Fedorenko
Date: Thu Nov 14 2024 - 11:16:34 EST


On 13/11/2024 23:56, Nelson Escobar wrote:
Save the resources counts for wq,rq,cq, and interrupts in *_avail variables
so that we don't lose the information when adjusting the counts we are
actually using.

Report the wq_avail and rq_avail as the channel maximums in 'ethtool -l'
output.

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>
Signed-off-by: Nelson Escobar <neescoba@xxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>

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