Re: [PATCH net-next 1/8] net/mlx5: Make the command interface cache more flexible

2016-11-16 Thread David Miller
From: Saeed Mahameed Date: Tue, 15 Nov 2016 23:30:00 +0200 > -struct cache_ent { > +struct cmd_msg_cache { > /* protect block chain allocations >*/ > spinlock_t lock; > struct list_headhead; > + unsignedmax_inbox_size; > + uns

[PATCH net-next 1/8] net/mlx5: Make the command interface cache more flexible

2016-11-15 Thread Saeed Mahameed
From: Mohamad Haj Yahia 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 Signed-off-by: Saeed Mahame