diff options
author | Chien Tung <chien.tin.tung@intel.com> | 2009-12-09 15:21:56 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-12-09 15:21:56 -0800 |
commit | 5924aea6e26712cd372aa23ed432d4cefbb050d2 (patch) | |
tree | 8ce43324eefa06bb4db6ee414f2ea221cc2c0097 /drivers/infiniband/hw/nes/nes.h | |
parent | 75742c630ed552ad963948c9f3e596e96eed7a9f (diff) |
RDMA/nes: Add max_cqe check to nes_create_cq()
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>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.h')
0 files changed, 0 insertions, 0 deletions