Home
last modified time | relevance | path

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

/freebsd/sys/dev/mthca/
H A 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()
H A Dmthca_qp.c320 param.gid_cap = dev->limits.gid_table_len; in init_port()
414 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); in to_ib_ah_attr()
524 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()
526 ah->grh.sgid_index, dev->limits.gid_table_len-1); in mthca_path_set()
H A Dmthca_dev.h141 int gid_table_len; member
H A Dmthca_main.c200 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
H A Dmthca_provider.c167 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c295 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
942 &dev->caps.gid_table_len[i], in mlx4_slave_cap()
2041 dev->caps.gid_table_len[i] = in mlx4_parav_master_pf_caps()
2044 dev->caps.gid_table_len[i] = 1; in mlx4_parav_master_pf_caps()
H A Dmlx4_fw.c2294 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
/freebsd/sys/dev/mlx5/
H A Ddriver.h356 int gid_table_len; member
/freebsd/sys/dev/mlx4/
H A Ddevice.h533 int gid_table_len[MLX4_MAX_PORTS + 1]; member
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c629 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()
714 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
H A Dmlx4_ib_qp.c1420 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()
1422 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c2340 dev->mdev->port_caps[port - 1].gid_table_len) { in mlx5_set_path()
2343 dev->mdev->port_caps[port - 1].gid_table_len); in mlx5_set_path()
H A Dmlx5_ib_main.c2763 dev->mdev->port_caps[port - 1].gid_table_len = in get_port_caps()