Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
Dmthca_av.c212 dev->limits.gid_table_len + in mthca_create_ah()
317 (dev->limits.gid_table_len - 1), in mthca_ah_query()
Dmthca_qp.c320 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()
Dmthca_dev.h138 int gid_table_len; member
Dmthca_main.c199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
Dmthca_provider.c159 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c232 props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; in hns_roce_query_port()
Dhns_roce_hw_v2.c2029 caps->gid_table_len[0] = HNS_ROCE_V2_GID_INDEX_NUM; in set_default_caps()
2202 caps->gid_table_len[0] = caps->gmv_bt_num * in apply_func_caps()
2212 caps->gid_table_len[0] /= func_num; in apply_func_caps()
2306 caps->gid_table_len[0] = roce_get_field(resp_c->max_gid_num_cqs, in hns_roce_query_pf_caps()
4698 if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) { in hns_roce_v2_set_path()
4700 grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]); in hns_roce_v2_set_path()
Dhns_roce_device.h750 int gid_table_len[HNS_ROCE_MAX_PORTS]; member
Dhns_roce_hw_v1.c1578 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()
1581 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()
/drivers/net/ethernet/mellanox/mlx4/
Dmain.c407 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()
Dfw.c2331 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
/drivers/infiniband/hw/mlx4/
Dmain.c695 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()
783 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
Dqp.c1764 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()
1766 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()