]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Introduce and use helper functions to init work
authorParav Pandit <parav@mellanox.com>
Tue, 14 Nov 2017 12:52:03 +0000 (14:52 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Dec 2017 22:37:07 +0000 (15:37 -0700)
commite22d8545f99cea51f91a6982924d258a90b82d01
tree935065b4ff2f24c4fed7fb933cc5698be9cf2fc0
parentff57e11feb3fd33c6a5219e90a150eb2e82ae661
RDMA/cma: Introduce and use helper functions to init work

Introduce and user helper functions to initialize work for address
resolved and route resolved event that avoid code duplication at few
places.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c