net/mlx5: Make the command interface cache more flexible
authorMohamad Haj Yahia <mohamad@mellanox.com>
Thu, 17 Nov 2016 11:45:55 +0000 (13:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 17:08:56 +0000 (12:08 -0500)
commit0ac3ea70897fb9f84b620aeda074ecccf481629d
treebde6967a5c1435e260b38eff63275b6f85af95f9
parent7a8bca043cf1bb0433aa43d008b6c4de6c07d6a2
net/mlx5: Make the command interface cache more flexible

Add more cache command size sets and more entries for each set based on
the current commands set different sizes and commands frequency.

Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
include/linux/mlx5/driver.h