net/mlx4_core: Make sure the max number of QPs per MCG isn't exceeded
authorAlexander Guller <alexg@mellanox.com>
Wed, 16 Jul 2014 08:57:49 +0000 (11:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 06:26:24 +0000 (23:26 -0700)
commit75908376038c44ea154e4c2782ee367e679c81b1
tree7ced88c8ffd10832355bc801831392ee295f6874
parentaab2bb0e290bc4f99992cb2198c40eb645647548
net/mlx4_core: Make sure the max number of QPs per MCG isn't exceeded

In B0 steering mode when adding QPs to the default MCG entry need
to check that maximal number of QPs per MCG entry was not exceeded.

Signed-off-by: Alexander Guller <alexg@mellanox.com>
Reviewed-by: Aviad Yehezkel <aviadye@mellanox.co.il>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c