Searched refs:pkey_table_len (Results 1 – 21 of 21) sorted by relevance
449 if (key >= p->dev->dev->caps.pkey_table_len[p->port_num]) in show_port_pkey()469 idx >= p->dev->dev->caps.pkey_table_len[p->port_num] || in store_port_pkey()651 dev->dev->caps.pkey_table_len[port_num]); in add_port()684 for (i = 0; i < dev->dev->caps.pkey_table_len[port_num]; ++i) in add_port()
554 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()694 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()782 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()458 for (i = 0; i < dev->dev->caps.pkey_table_len[port]; i++) { in find_slave_port_pkey_ix()
2339 dev->dev->caps.pkey_table_len[attr->alt_port_num]) in __mlx4_ib_modify_qp()2770 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()892 attr->pkey_index >= dev->limits.pkey_table_len) { in mthca_modify_qp()894 attr->pkey_index, dev->limits.pkey_table_len-1); in mthca_modify_qp()
108 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()153 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
139 int pkey_table_len; member
200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
160 u8 pkey_table_len; member
579 props->pkey_tbl_len = dev->pkey_table_len; in mlx5_query_mad_ifc_port()
1155 u16 pkey_table_len; member
849 props->max_pkeys = dev->pkey_table_len; in mlx5_ib_query_device()3716 err = mlx5_query_max_pkeys(&dev->ib_dev, &dev->pkey_table_len); in mlx5_ib_stage_init_init()
4736 attr->pkey_index >= dev->pkey_table_len) { in mlx5_ib_modify_qp()
407 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()891 &caps->pkey_table_len[i]); in mlx4_slave_special_qp_cap()2153 dev->caps.pkey_table_len[i] = in mlx4_parav_master_pf_caps()2873 dev->caps.pkey_table_len[port] : -1); in mlx4_setup_hca()
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()
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()
709 int pkey_table_len[HNS_ROCE_MAX_PORTS]; member
1171 u8 pkey_table_len; member
1291 if (attr->pkey_index >= hr_dev->caps.pkey_table_len[p]) { in hns_roce_check_qp_attr()
2173 caps->pkey_table_len[0] = resp_b->pkey_table_len; in hns_roce_query_caps()
544 int pkey_table_len[MLX4_MAX_PORTS + 1]; member