Home
last modified time | relevance | path

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

/linux-6.1.9/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.c151 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_main.c228 props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; in hns_roce_query_port()
Dhns_roce_device.h722 int gid_table_len[HNS_ROCE_MAX_PORTS]; member
Dhns_roce_hw_v2.c2052 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()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h542 int gid_table_len[MLX4_MAX_PORTS + 1]; member
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmain.c687 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()
Dqp.c1760 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()