Searched refs:num_pkeys (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/ofed/libibumad/
H A Dumad.c135 int i, len, num_pkeys = 0; local
182 num_pkeys = sys_scandir(port_dir, &namelist, check_for_digit_name, NULL);
183 if (num_pkeys <= 0) {
188 port->pkeys = calloc(num_pkeys, sizeof(port->pkeys[0]));
193 for (i = 0; i < num_pkeys; i++) {
200 port->pkeys_size = num_pkeys;
211 for (i = 0; i < num_pkeys; i++)
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_pkey_mgr.c70 uint16_t num_pkeys = 0; local
73 num_pkeys = cl_ntoh16(p_node->node_info.partition_cap);
75 num_pkeys = cl_ntoh16(p_node->sw->switch_info.enforce_cap);
76 return num_pkeys;
H A Dmain.c437 attr_array[i].num_pkeys = 0;
/freebsd-13-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c689 if (attr->num_pkeys && attr->p_pkey_table) {
690 if (attr->num_pkeys > ca.ports[j]->pkeys_size)
691 attr->num_pkeys = ca.ports[j]->pkeys_size;
692 for (k = 0; k < attr->num_pkeys; k++)
696 attr->num_pkeys = ca.ports[j]->pkeys_size;
/freebsd-13-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c117 const int num_pkeys = pd->device->attrs.max_pkeys; local
118 const int num_qps = mlx5_ib_deth_sqpn_cap(dev) ? num_pkeys : 0;
/freebsd-13-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h9558 uint16_t num_pkeys;

Completed in 199 milliseconds