[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191029.163054.513288593325892115.davem@davemloft.net>
Date: Tue, 29 Oct 2019 16:30:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tariqt@...lanox.com
Cc: netdev@...r.kernel.org, eranbe@...lanox.com,
jackm@....mellanox.co.il
Subject: Re: [PATCH net] net/mlx4_core: Dynamically set guaranteed amount
of counters per VF
From: Tariq Toukan <tariqt@...lanox.com>
Date: Sun, 27 Oct 2019 16:39:15 +0200
> From: Eran Ben Elisha <eranbe@...lanox.com>
>
> 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@...lanox.com>
> Signed-off-by: Jack Morgenstein <jackm@....mellanox.co.il>
> Signed-off-by: Tariq Toukan <tariqt@...lanox.com>
Applied, thanks Tariq.
Powered by blists - more mailing lists