Searched refs:pkey_table_len (Results 1 – 22 of 22) sorted by relevance
447 (p->dev->dev->caps.pkey_table_len[p->port_num])) in show_port_pkey()471 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] || in store_port_pkey()661 dev->dev->caps.pkey_table_len[port_num]); in add_port()694 for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i) in add_port()
556 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()696 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()784 if (mdev->dev->caps.pkey_table_len[port]) in eth_link_query_port()
350 ix < dev->dev->caps.pkey_table_len[port_num]; ix++) { in __propagate_pkey_ev()457 for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) { in find_slave_port_pkey_ix()
2302 dev->dev->caps.pkey_table_len[attr->alt_port_num]) in __mlx4_ib_modify_qp()2733 if (attr->pkey_index >= dev->dev->caps.pkey_table_len[p]) { in _mlx4_ib_modify_qp()
321 param.pkey_cap = dev->limits.pkey_table_len; in init_port()686 if (attr->alt_pkey_index >= dev->limits.pkey_table_len) { in __mthca_modify_qp()688 attr->alt_pkey_index, dev->limits.pkey_table_len-1); in __mthca_modify_qp()889 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp()891 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp()
139 int pkey_table_len; member
116 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()161 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
160 u8 pkey_table_len; member
558 props->pkey_tbl_len = mdev->port_caps[port - 1].pkey_table_len; in mlx5_query_mad_ifc_port()
2990 dev->mdev->port_caps[port - 1].pkey_table_len = in __get_port_caps()
4382 dev->mdev->port_caps[port - 1].pkey_table_len) { in mlx5_ib_modify_qp()
307 int pkey_table_len; member
408 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()892 &caps->pkey_table_len[i]); in mlx4_slave_special_qp_cap()2128 dev->caps.pkey_table_len[i] = in mlx4_parav_master_pf_caps()2848 dev->caps.pkey_table_len[port] : -1); in mlx4_setup_hca()
872 for (i = 0; i < dev->caps.pkey_table_len[port]; i += 32) { in get_full_pkey_table()927 table = kcalloc((dev->caps.pkey_table_len[port] / 32) + 1, in mlx4_MAD_IFC_wrapper()
1479 short_field = dev->caps.pkey_table_len[vhcr->in_modifier]; in mlx4_QUERY_PORT_wrapper()2333 field = dev->caps.pkey_table_len[port]; in mlx4_INIT_PORT()
760 int pkey_table_len[HNS_ROCE_MAX_PORTS]; member
1614 u8 pkey_table_len; member
1115 if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) { in hns_roce_check_qp_attr()
1870 caps->pkey_table_len[0] = 1; in set_default_caps()2013 caps->pkey_table_len[0] = resp_b->pkey_table_len; in hns_roce_query_pf_caps()
1489 caps->pkey_table_len[i] = 1; in hns_roce_v1_profile()
544 int pkey_table_len[MLX4_MAX_PORTS + 1]; member