Home
last modified time | relevance | path

Searched refs:gid_table_len (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_av.c209 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()
Dmthca_qp.c319 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()
Dmthca_dev.h138 int gid_table_len; member
Dmthca_main.c200 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
Dmthca_provider.c167 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c271 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()
Dfw.c2166 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
/drivers/infiniband/hw/mlx4/
Dmain.c553 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()
Dqp.c1329 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()
/drivers/infiniband/hw/mlx5/
Dqp.c1388 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()
Dmain.c1045 dev->mdev->port_caps[port - 1].gid_table_len = in get_port_caps()