]> git.baikalelectronics.ru Git - kernel.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)
commit9abc5aab18198d50afc662ae00a3f90cf4b3a19e
tree5ec59386c82213938165e58b72d0bc65270a1355
parent5cc994da8f14d89719af519db0ce596e81e9abdf
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