RDMA/nes: Add max_cqe check to nes_create_cq()
authorChien Tung <chien.tin.tung@intel.com>
Wed, 9 Dec 2009 23:21:56 +0000 (15:21 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 9 Dec 2009 23:21:56 +0000 (15:21 -0800)
Add a check to nes_create_cq() to return -EINVAL if creating a CQ with
depth > max_cqe (32766).

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found