]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Introduce and use helper functions to copy ah attributes
authorParav Pandit <parav@mellanox.com>
Thu, 17 Aug 2017 12:50:33 +0000 (15:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 20:27:10 +0000 (16:27 -0400)
commitbb858dc5a9d0afce30e4c3cd6c0ad01860e8a9cd
treec0dabbffb8bf6f0a7c6e8747202b74a694405b44
parentee8284227a0369c07ef278cf6bf157b629e357d0
IB/uverbs: Introduce and use helper functions to copy ah attributes

This patch introduces two helper functions to copy ah attributes
from uverbs to internal ib_ah_attr structure and the other way
during modify qp and query qp respectively.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c