Searched refs:gid_table_len (Results 1 – 17 of 17) sorted by relevance
212 dev->limits.gid_table_len + in mthca_create_ah()317 (dev->limits.gid_table_len - 1), in mthca_ah_query()
320 param.gid_cap = dev->limits.gid_table_len; in init_port()423 (dev->limits.gid_table_len - 1), in to_rdma_ah_attr()533 if (grh->sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()536 dev->limits.gid_table_len - 1); in mthca_path_set()
138 int gid_table_len; member
199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
159 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
241 props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; in hns_roce_query_port()
759 int gid_table_len[HNS_ROCE_MAX_PORTS]; member
1871 caps->gid_table_len[0] = HNS_ROCE_V2_GID_INDEX_NUM; in set_default_caps()2030 caps->gid_table_len[0] = roce_get_field(resp_c->max_gid_num_cqs, in hns_roce_query_pf_caps()4452 if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) { in hns_roce_v2_set_path()4454 grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]); in hns_roce_v2_set_path()
1494 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()1497 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()
306 int gid_table_len; member
407 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()891 &caps->gid_table_len[i], in mlx4_slave_special_qp_cap()2124 dev->caps.gid_table_len[i] = in mlx4_parav_master_pf_caps()2127 dev->caps.gid_table_len[i] = 1; in mlx4_parav_master_pf_caps()
2331 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
543 int gid_table_len[MLX4_MAX_PORTS + 1]; member
694 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()782 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
1762 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()1764 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()
3215 dev->mdev->port_caps[port - 1].gid_table_len) { in mlx5_set_path()3218 dev->mdev->port_caps[port - 1].gid_table_len); in mlx5_set_path()
2992 dev->mdev->port_caps[port - 1].gid_table_len = in __get_port_caps()