Searched refs:gid_table_len (Results 1 – 11 of 11) sorted by relevance
209 av->gid_index = (ah_attr->port_num - 1) * dev->limits.gid_table_len + in mthca_create_ah()283 ah->av->gid_index % dev->limits.gid_table_len, in mthca_read_ah()317 (dev->limits.gid_table_len - 1); in mthca_ah_query()
319 param.gid_cap = dev->limits.gid_table_len; in init_port()413 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); in to_ib_ah_attr()523 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()525 ah->grh.sgid_index, dev->limits.gid_table_len-1); in mthca_path_set()
138 int gid_table_len; member
200 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
167 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
271 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()894 &dev->caps.gid_table_len[i], in mlx4_slave_cap()1877 dev->caps.gid_table_len[i] = in mlx4_parav_master_pf_caps()1880 dev->caps.gid_table_len[i] = 1; in mlx4_parav_master_pf_caps()
2166 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
553 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()639 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
1329 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()1331 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()
1388 dev->mdev->port_caps[port - 1].gid_table_len) { in mlx5_set_path()1391 dev->mdev->port_caps[port - 1].gid_table_len); in mlx5_set_path()
1045 dev->mdev->port_caps[port - 1].gid_table_len = in get_port_caps()