net/mlx5: resize a full counter container
authorMatan Azrad <matan@mellanox.com>
Tue, 16 Jul 2019 14:34:54 +0000 (14:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commitebbac312e4480521e7011f6ec26c33e42d36e3a7
tree9c42a2dc586f3847b6a77436ddcaa4a775455257
parent5382d28c2110ceac10051e32a0be97bb59b82555
net/mlx5: resize a full counter container

When the counter countainer has no more space to store more counter
pools try to resize the container to allow more pools to be created.

So, the only limitation for the maximum counter number is the memory.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c