Home
last modified time | relevance | path

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

/linux-6.12.1/include/rdma/
Dib_addr.h104 static inline int rdma_addr_gid_offset(struct rdma_dev_addr *dev_addr) in rdma_addr_gid_offset() function
155 memcpy(gid, dev_addr->src_dev_addr + rdma_addr_gid_offset(dev_addr), in rdma_addr_get_sgid()
161 memcpy(dev_addr->src_dev_addr + rdma_addr_gid_offset(dev_addr), gid, sizeof *gid); in rdma_addr_set_sgid()
166 memcpy(gid, dev_addr->dst_dev_addr + rdma_addr_gid_offset(dev_addr), sizeof *gid); in rdma_addr_get_dgid()
171 memcpy(dev_addr->dst_dev_addr + rdma_addr_gid_offset(dev_addr), gid, sizeof *gid); in rdma_addr_set_dgid()
/linux-6.12.1/drivers/infiniband/core/
Dcma.c774 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_acquire_dev_by_src_ip()
827 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_ib_acquire_dev()
864 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_iw_acquire_dev()