]> 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)
commit77fe1c8287f3ee27bb16f69523e90fe1224b3e0f
tree935065b4ff2f24c4fed7fb933cc5698be9cf2fc0
parent79f72f9feef9b1600f26a0be2769137433fb2df8
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