Searched refs:max_pkeys (Results 1 – 25 of 28) sorted by relevance
12
58 int max_pkeys; member
1215 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()1246 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()
403 dev->phys_caps.pkey_phys_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()408 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()
103 props->max_pkeys = dev->dsr->caps.max_pkeys; in pvrdma_query_device()
256 u16 max_pkeys; member
567 if (attr->pkey_index >= dev->dsr->caps.max_pkeys) { in pvrdma_modify_qp()
360 u16 *max_pkeys) in mlx5_query_mad_ifc_max_pkeys() argument373 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys()
101 num_qps = pd->device->attrs.max_pkeys; in mlx5_ib_create_gsi()
719 u16 *max_pkeys) in mlx5_query_max_pkeys() argument726 return mlx5_query_mad_ifc_max_pkeys(ibdev, max_pkeys); in mlx5_query_max_pkeys()730 *max_pkeys = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(mdev, in mlx5_query_max_pkeys()835 props->max_pkeys = dev->pkey_table_len; in mlx5_ib_query_device()
1292 u16 *max_pkeys);
149 int max_pkeys; member
200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
116 props->max_pkeys = mdev->limits.pkey_table_len; in mthca_query_device()
1125 dev_lim->max_pkeys = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
71 rxe->attr.max_pkeys = RXE_MAX_PKEYS; in rxe_init_device_param()
315 props->max_pkeys = 0; in usnic_ib_query_device()
196 props->max_pkeys = 1; in hns_roce_query_device()
149 attr->max_pkey = le32_to_cpu(sb->max_pkeys); in bnxt_qplib_get_dev_attr()
2864 __le32 max_pkeys; member
1469 rdi->dparms.props.max_pkeys = qib_get_npkeys(dd); in qib_fill_device_attr()
1329 rdi->dparms.props.max_pkeys = hfi1_get_npkeys(dd); in hfi1_fill_device_attr()
233 props->max_pkeys = 1; in efa_query_device()
365 resp->max_pkeys = attr->max_pkeys; in copy_query_dev_fields()
110 attr->max_pkeys = 1; in ocrdma_query_device()
557 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()