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>