Searched refs:pkey_tbl_len (Results 1 – 20 of 20) sorted by relevance
237 device->pkey_tbl_len = kmalloc(sizeof *device->pkey_tbl_len * num_ports, in read_port_table_lengths()241 if (!device->pkey_tbl_len || !device->gid_tbl_len) in read_port_table_lengths()249 device->pkey_tbl_len[port_index] = tprops->pkey_tbl_len; in read_port_table_lengths()258 kfree(device->pkey_tbl_len); in read_port_table_lengths()309 kfree(device->pkey_tbl_len); in ib_register_device()352 kfree(device->pkey_tbl_len); in ib_unregister_device()712 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) { in ib_find_pkey()
272 pkey_cache = kmalloc(sizeof *pkey_cache + tprops->pkey_tbl_len * in ib_cache_update()277 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
557 attr.pkey_tbl_len); in add_port()580 for (i = 0; i < attr.pkey_tbl_len; ++i) in add_port()
484 resp.pkey_tbl_len = attr.pkey_tbl_len; in ib_uverbs_query_port()
215 props->pkey_tbl_len = rblock->pkey_tbl_len; in ehca_query_port()272 attr->pkey_tbl_len = rblock->pkey_tbl_len; in ehca_query_sma_attr()
356 if (new_attr.pkey_tbl_len != old_attr->pkey_tbl_len || in notify_port_conf_change()358 sizeof(u16) * new_attr.pkey_tbl_len)) in notify_port_conf_change()
93 u16 pkey_tbl_len, pkeys[16]; member
395 u32 pkey_tbl_len; member
341 props->pkey_tbl_len = 1; in c4iw_query_port()
880 int *gid_tbl_len, int *pkey_tbl_len) in mlx4_get_slave_pkey_gid_tbl_len() argument903 *pkey_tbl_len = field; in mlx4_get_slave_pkey_gid_tbl_len()
1128 int *gid_tbl_len, int *pkey_tbl_len);
94 props->pkey_tbl_len = 1; in c2_query_port()
321 for (i = 0 ; i < attr.pkey_tbl_len; i++) { in add_port_entries()
238 props->pkey_tbl_len = to_mdev(ibdev)->dev->caps.pkey_table_len[port]; in ib_link_query_port()321 props->pkey_tbl_len = 1; in eth_link_query_port()
165 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
1231 props->pkey_tbl_len = 1; in iwch_query_port()
1605 props->pkey_tbl_len = ipath_get_npkeys(dd); in ipath_query_port()
1615 props->pkey_tbl_len = qib_get_npkeys(dd); in qib_query_port()
141 props->pkey_tbl_len = 1; in ocrdma_query_port()
600 props->pkey_tbl_len = 1; in nes_query_port()