]> git.ipfire.org Git - thirdparty/linux.git/commit
qedr: post_send/recv according to QP state
authorAmrani, Ram <Ram.Amrani@cavium.com>
Thu, 22 Dec 2016 12:40:38 +0000 (14:40 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Dec 2016 16:36:12 +0000 (11:36 -0500)
commit922d9a40d3baeb30bfecb59b2c083ccec4b349d7
tree0e4f0237ec51dc98fd0ffcd22433a2876ba7564c
parent8b0cabc650a95a4f44de99aae6e8c128d70a40cd
qedr: post_send/recv according to QP state

Enable posting to SQ only in RTS, ERR and SQD QP state.
Enable posting to RQ in ERR QP state.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Reviewed-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c