]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: Fixing bad size of event queue buffer
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Wed, 30 Mar 2011 23:30:17 +0000 (23:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 09:52:18 +0000 (02:52 -0700)
commit444864380574d73f9492c9eb1552882eace3b55e
treeb3f52f4e13d4fe95ffe4024cb09571f0c0791110
parent04bb96687df53aa714af67160a13a991c83c449d
mlx4: Fixing bad size of event queue buffer

We should reduce the number of reserved completion queues from the total
number of entries. Since the queue size is power of two, not reducing the
reserved entries, caused a double queue size, which may lead to allocation
failures in some cases.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/eq.c