]> asedeno.scripts.mit.edu Git - linux.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)
commit981b5a2384b7c9b521fb8d54ffb89259f754846e
tree935065b4ff2f24c4fed7fb933cc5698be9cf2fc0
parentc4238805375847071e1ca9e2a37e1f26ce1a4809
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