Home
last modified time | relevance | path

Searched refs:rdma_addr_gid_offset (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/rdma/
Dib_addr.h103 static inline int rdma_addr_gid_offset(struct rdma_dev_addr *dev_addr) in rdma_addr_gid_offset() function
154 memcpy(gid, dev_addr->src_dev_addr + rdma_addr_gid_offset(dev_addr), in rdma_addr_get_sgid()
160 memcpy(dev_addr->src_dev_addr + rdma_addr_gid_offset(dev_addr), gid, sizeof *gid); in rdma_addr_set_sgid()
165 memcpy(gid, dev_addr->dst_dev_addr + rdma_addr_gid_offset(dev_addr), sizeof *gid); in rdma_addr_get_dgid()
170 memcpy(dev_addr->dst_dev_addr + rdma_addr_gid_offset(dev_addr), gid, sizeof *gid); in rdma_addr_set_dgid()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c633 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_acquire_dev_by_src_ip()
686 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_ib_acquire_dev()
723 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_iw_acquire_dev()