Searched refs:gid_table_len (Results 1 – 13 of 13) 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()
151 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
228 props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; in hns_roce_query_port()
722 int gid_table_len[HNS_ROCE_MAX_PORTS]; member
2052 caps->gid_table_len[0] = HNS_ROCE_V2_GID_INDEX_NUM; in set_default_caps()2228 caps->gid_table_len[0] = caps->gmv_bt_num * in apply_func_caps()2239 caps->gid_table_len[0] /= func_num; in apply_func_caps()2325 caps->gid_table_len[0] = hr_reg_read(resp_c, PF_CAPS_C_MAX_GID); in hns_roce_query_pf_caps()5028 if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) { in hns_roce_v2_set_path()5030 grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]); in hns_roce_v2_set_path()
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()
542 int gid_table_len[MLX4_MAX_PORTS + 1]; member
687 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()775 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
1760 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()1762 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()