RDMA/core: Rename rdma_copy_addr to rdma_copy_src_l2_addr
authorParav Pandit <parav@mellanox.com>
Wed, 5 Sep 2018 09:54:20 +0000 (12:54 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 12 Sep 2018 21:48:08 +0000 (15:48 -0600)
commit77addc524473ee9a85d2ef5747a32173c85768d4
tree928819ddd63e362a61d291ae83f4e24885ce9882
parenta362ea1d9e1acf674094614518f4245d17cfc01e
RDMA/core: Rename rdma_copy_addr to rdma_copy_src_l2_addr

Now that rdma_copy_addr() only copies the source addresses and all callers
are interested in copying only source addresses, simplify it to drop the
destination address argument.

Given that it only copies source layer2 addresses, rename it to
rdma_copy_src_l2_addr for better code readability.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/core_priv.h
include/rdma/ib_addr.h