summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2019-10-27 16:39:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-10 11:34:37 +0100
commit02ccce8bb95c5a9c0fcf886790dd98d910ecb064 (patch)
tree5942f79b494da72937e0f066fff4239161046922 /include/net
parent65e1500e4908a97a01e9e13e22de58d9e9cee63b (diff)
net/mlx4_core: Dynamically set guaranteed amount of counters per VF
[ Upstream commit e19868efea0c103f23b4b7e986fd0a703822111f ] Prior to this patch, the amount of counters guaranteed per VF in the resource tracker was MLX4_VF_COUNTERS_PER_PORT * MLX4_MAX_PORTS. It was set regardless if the VF was single or dual port. This caused several VFs to have no guaranteed counters although the system could satisfy their request. The fix is to dynamically guarantee counters, based on each VF specification. Fixes: 9de92c60beaa ("net/mlx4_core: Adjust counter grant policy in the resource tracker") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions