Searched refs:max_pkeys (Results 1 – 19 of 19) sorted by relevance
192 u16 *max_pkeys) in mlx5_query_mad_ifc_max_pkeys() argument205 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys()
129 u16 *max_pkeys) in mlx5_query_max_pkeys() argument136 return mlx5_query_mad_ifc_max_pkeys(ibdev, max_pkeys); in mlx5_query_max_pkeys()140 *max_pkeys = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(mdev, in mlx5_query_max_pkeys()226 err = mlx5_query_max_pkeys(ibdev, &props->max_pkeys); in mlx5_ib_query_device()1044 dprops->max_pkeys; in get_port_caps()1048 dprops->max_pkeys, pprops->gid_tbl_len); in get_port_caps()
577 u16 *max_pkeys);
56 int max_pkeys; member
1086 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()1116 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()
267 dev->phys_caps.pkey_phys_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()272 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()
149 int max_pkeys; member
201 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
114 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()
1123 dev_lim->max_pkeys = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
122 props->max_pkeys = 16; in ehca_query_device()
198 props->max_pkeys = 0; in c2_rnic_query()
307 props->max_pkeys = 0; in usnic_ib_query_device()
438 resp->max_pkeys = attr->max_pkeys; in copy_query_dev_fields()
1417 props->max_pkeys = hfi1_get_npkeys(dd); in query_device()
1553 props->max_pkeys = ipath_get_npkeys(dev->dd); in ipath_query_device()
1610 props->max_pkeys = qib_get_npkeys(dd); in qib_query_device()
475 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()
146 attr->max_pkeys = 1; in ocrdma_query_device()