Lines Matching refs:gid_attr
843 struct ib_gid_attr gid_attr; in ib_cache_gid_set_default_gid() local
850 memset(&gid_attr, 0, sizeof(gid_attr)); in ib_cache_gid_set_default_gid()
851 gid_attr.ndev = ndev; in ib_cache_gid_set_default_gid()
857 gid_attr.gid_type = gid_type; in ib_cache_gid_set_default_gid()
862 &gid_attr, mask, true); in ib_cache_gid_set_default_gid()
865 &gid_attr, mask, true); in ib_cache_gid_set_default_gid()
1251 const struct ib_gid_attr *gid_attr; in rdma_query_gid_table() local
1269 gid_attr = &table->data_vec[i]->attr; in rdma_query_gid_table()
1271 memcpy(&entries->gid, &gid_attr->gid, in rdma_query_gid_table()
1272 sizeof(gid_attr->gid)); in rdma_query_gid_table()
1273 entries->gid_index = gid_attr->index; in rdma_query_gid_table()
1274 entries->port_num = gid_attr->port_num; in rdma_query_gid_table()
1275 entries->gid_type = gid_attr->gid_type; in rdma_query_gid_table()
1277 gid_attr->ndev, in rdma_query_gid_table()
1434 struct ib_gid_attr gid_attr = {}; in config_non_roce_gid_cache() local
1439 gid_attr.device = device; in config_non_roce_gid_cache()
1440 gid_attr.port_num = port; in config_non_roce_gid_cache()
1447 ret = device->ops.query_gid(device, port, i, &gid_attr.gid); in config_non_roce_gid_cache()
1454 gid_attr.index = i; in config_non_roce_gid_cache()
1456 be64_to_cpu(gid_attr.gid.global.subnet_prefix); in config_non_roce_gid_cache()
1457 add_modify_gid(table, &gid_attr); in config_non_roce_gid_cache()