Searched refs:rdma_addr_gid_offset (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/include/rdma/ |
D | ib_addr.h | 104 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.1.9/drivers/infiniband/core/ |
D | cma.c | 745 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_acquire_dev_by_src_ip() 798 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_ib_acquire_dev() 835 rdma_addr_gid_offset(dev_addr), sizeof(gid)); in cma_iw_acquire_dev()
|