summaryrefslogtreecommitdiff
path: root/net/sctp
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:23:28 +0100
commit4ede4c70fbdff188ac49a00646676f676ee4f802 (patch)
tree57e595728fe9e1c4e0e18446afc3fd279df81d72 /net/sctp
parent0ee544c2c10dc6f7b2b29ebbe917ffad2e0591dc (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 'net/sctp')
0 files changed, 0 insertions, 0 deletions