Lines Matching refs:ib_gid
54 static union ib_gid ocrdma_zero_sgid;
71 static bool ocrdma_add_sgid(struct ocrdma_dev *dev, union ib_gid *new_sgid) in ocrdma_add_sgid()
76 memset(&ocrdma_zero_sgid, 0, sizeof(union ib_gid)); in ocrdma_add_sgid()
82 sizeof(union ib_gid))) { in ocrdma_add_sgid()
85 sizeof(union ib_gid)); in ocrdma_add_sgid()
89 sizeof(union ib_gid))) { in ocrdma_add_sgid()
99 static bool ocrdma_del_sgid(struct ocrdma_dev *dev, union ib_gid *sgid) in ocrdma_del_sgid()
109 if (!memcmp(&dev->sgid_tbl[i], sgid, sizeof(union ib_gid))) { in ocrdma_del_sgid()
111 memset(&dev->sgid_tbl[i], 0, sizeof(union ib_gid)); in ocrdma_del_sgid()
121 union ib_gid *gid) in ocrdma_addr_event()
171 union ib_gid gid; in ocrdma_inetaddr_event()
188 union ib_gid *gid = (union ib_gid *)&ifa->addr; in ocrdma_inet6addr_event()
310 dev->sgid_tbl = kzalloc(sizeof(union ib_gid) * in ocrdma_alloc_resources()
396 union ib_gid *sgid = &dev->sgid_tbl[0]; in ocrdma_add_default_sgid()
406 union ib_gid gid; in ocrdma_init_ipv4_gids()
424 union ib_gid *pgid; in ocrdma_init_ipv6_gids()
430 pgid = (union ib_gid *)&ifp->addr; in ocrdma_init_ipv6_gids()