diff options
author | Michael J. Ruhl | 2019-06-28 20:21:58 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2019-06-29 03:34:26 +0200 |
commit | fe2ac04712cdc6e93d32e9c82c73bfb225554309 (patch) | |
tree | da84cb1a8969cae188d4f912732f255c7f69d1fa /include/rdma/rdma_vt.h | |
parent | IB/{hfi1, qib, rdmavt}: Put qp in error state when cq is full (diff) | |
download | kernel-qcow2-linux-fe2ac04712cdc6e93d32e9c82c73bfb225554309.tar.gz kernel-qcow2-linux-fe2ac04712cdc6e93d32e9c82c73bfb225554309.tar.xz kernel-qcow2-linux-fe2ac04712cdc6e93d32e9c82c73bfb225554309.zip |
IB/rdmavt: Set QP allowed opcodes after QP allocation
Currently QP allowed_ops is set after the QP is completely initialized.
This curtails the use of this optimization for any initialization before
allowed_ops is set.
Fix by adding a helper to determine the correct allowed_ops and moving the
setting of the allowed_ops to just after QP allocation.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
0 files changed, 0 insertions, 0 deletions