Home
last modified time | relevance | path

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

/Linux-v5.4/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.h139 int gid_table_len; member
Dmthca_main.c199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
Dmthca_provider.c169 props->gid_tbl_len = to_mdev(ibdev)->limits.gid_table_len; in mthca_query_port()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_main.c242 props->gid_tbl_len = hr_dev->caps.gid_table_len[port]; in hns_roce_query_port()
Dhns_roce_device.h799 int gid_table_len[HNS_ROCE_MAX_PORTS]; member
Dhns_roce_hw_v2.c1734 caps->gid_table_len[0] = HNS_ROCE_V2_GID_INDEX_NUM; in hns_roce_v2_profile()
4102 if (grh->sgid_index >= hr_dev->caps.gid_table_len[hr_port]) { in hns_roce_v2_set_path()
4104 grh->sgid_index, hr_dev->caps.gid_table_len[hr_port]); in hns_roce_v2_set_path()
Dhns_roce_hw_v1.c1569 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()
1572 caps->gid_table_len[i] = HNS_ROCE_V1_GID_NUM / in hns_roce_v1_profile()
/Linux-v5.4/include/linux/mlx5/
Ddriver.h311 int gid_table_len; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmain.c407 dev->caps.gid_table_len[port] = port_cap->max_gids; in _mlx4_dev_port()
890 &caps->gid_table_len[i], in mlx4_slave_special_qp_cap()
2118 dev->caps.gid_table_len[i] = in mlx4_parav_master_pf_caps()
2121 dev->caps.gid_table_len[i] = 1; in mlx4_parav_master_pf_caps()
Dfw.c2328 field = dev->caps.gid_table_len[port]; in mlx4_INIT_PORT()
/Linux-v5.4/include/linux/mlx4/
Ddevice.h543 int gid_table_len[MLX4_MAX_PORTS + 1]; member
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c682 props->gid_tbl_len = to_mdev(ibdev)->dev->caps.gid_table_len[port]; in ib_link_query_port()
770 props->gid_tbl_len = mdev->dev->caps.gid_table_len[port]; in eth_link_query_port()
Dqp.c1822 if (real_sgid_index >= dev->dev->caps.gid_table_len[port]) { in _mlx4_set_path()
1824 real_sgid_index, dev->dev->caps.gid_table_len[port] - 1); in _mlx4_set_path()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c2925 dev->mdev->port_caps[port - 1].gid_table_len) { in mlx5_set_path()
2928 dev->mdev->port_caps[port - 1].gid_table_len); in mlx5_set_path()
Dmain.c4767 dev->mdev->port_caps[port - 1].gid_table_len = in __get_port_caps()