Searched refs:max_pkeys (Results 1 – 20 of 20) sorted by relevance
58 int max_pkeys; member
1191 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()1222 port_cap->max_pkeys = 1 << (field & 0xf); in mlx4_QUERY_PORT()
288 dev->phys_caps.pkey_phys_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()293 dev->caps.pkey_table_len[port] = port_cap->max_pkeys; in _mlx4_dev_port()
336 u16 *max_pkeys) in mlx5_query_mad_ifc_max_pkeys() argument349 *max_pkeys = be16_to_cpup((__be16 *)(out_mad->data + 28)); in mlx5_query_mad_ifc_max_pkeys()
429 u16 *max_pkeys) in mlx5_query_max_pkeys() argument436 return mlx5_query_mad_ifc_max_pkeys(ibdev, max_pkeys); in mlx5_query_max_pkeys()440 *max_pkeys = mlx5_to_sw_pkey_sz(MLX5_CAP_GEN(mdev, in mlx5_query_max_pkeys()543 err = mlx5_query_max_pkeys(ibdev, &props->max_pkeys); in mlx5_ib_query_device()2440 dprops->max_pkeys; in get_port_caps()2444 dprops->max_pkeys, pprops->gid_tbl_len); in get_port_caps()
122 const int num_pkeys = pd->device->attrs.max_pkeys; in mlx5_ib_gsi_create_qp()
814 u16 *max_pkeys);
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()
125 rxe->attr.max_pkeys = RXE_MAX_PKEYS; in rxe_init_device_param()
302 props->max_pkeys = 0; in usnic_ib_query_device()
368 props->max_pkeys = 1; in hns_roce_query_device()
1355 rdi->dparms.props.max_pkeys = hfi1_get_npkeys(dd); in hfi1_fill_device_attr()
1580 rdi->dparms.props.max_pkeys = qib_get_npkeys(dd); in qib_fill_device_attr()
457 resp->max_pkeys = attr->max_pkeys; in copy_query_dev_fields()
146 attr->max_pkeys = 1; in ocrdma_query_device()
542 props->max_pkeys = dev->dev->caps.pkey_table_len[1]; in mlx4_ib_query_device()
166 attr->max_pkeys = QEDR_ROCE_PKEY_MAX; in qedr_query_device()