commit | ab256e5ad02b36951f01bf6b5cfda25f14820847 | [log] [tgz] |
---|---|---|
author | Dotan Barak <dotanb@dev.mellanox.co.il> | Thu Dec 11 10:57:55 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 11 14:47:35 2014 -0500 |
tree | e2c913bca56b7f514ad9f37a49c69a838290a491 | |
parent | ddae0349fdb78bcc5e7219061847012aa1a29069 [diff] |
net/mlx4: Add a check if there are too many reserved QPs The number of reserved QPs is affected both from the firmware and from the driver's requirements. This patch adds a check that validates that this number is indeed feasable. Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il> Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>