IB/srpt: Limit the send and receive queue sizes to what the HCA supports
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:27:23 +0000 (10:27 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:49:54 +0000 (10:49 -0400)
commit7a01d05cd5bed9594fbc4dff5e944652ff23876c
tree8de9968af9acbe944ef3c9e6f45562554237b24a
parentc70ca38960399a63d5c048b7b700612ea321d17e
IB/srpt: Limit the send and receive queue sizes to what the HCA supports

Additionally, correct the comment about ch->rq_size.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c