]> git.ipfire.org Git - people/ms/linux.git/commit
IB/rdmavt: Use more efficient allowed_ops
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 11 Apr 2019 14:16:23 +0000 (07:16 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 24 Apr 2019 14:31:49 +0000 (11:31 -0300)
commit52cdbcc2b1822974f547c7b892e8e1e8109d185e
tree5ec59386c82213938165e58b72d0bc65270a1355
parent715ab1a862c85b08a9881851c7b1fba84b0dc26b
IB/rdmavt: Use more efficient allowed_ops

QP creation already records the allowed_ops.

Take advantage of that single field to replace multiple qp_type
specific tests.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rdmavt/qp.c