aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/nes/nes.c
diff options
context:
space:
mode:
authorChien Tung <chien.tin.tung@intel.com>2009-12-09 15:21:56 -0800
committerRoland Dreier <rolandd@cisco.com>2009-12-09 15:21:56 -0800
commit5924aea6e26712cd372aa23ed432d4cefbb050d2 (patch)
tree8ce43324eefa06bb4db6ee414f2ea221cc2c0097 /drivers/infiniband/hw/nes/nes.c
parent75742c630ed552ad963948c9f3e596e96eed7a9f (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.c')
0 files changed, 0 insertions, 0 deletions