Home
last modified time | relevance | path

Searched refs:pkey_tbl_len (Results 1 – 20 of 20) sorted by relevance

/drivers/infiniband/core/
Ddevice.c237 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()
Dcache.c272 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()
Dsysfs.c557 attr.pkey_tbl_len); in add_port()
580 for (i = 0; i < attr.pkey_tbl_len; ++i) in add_port()
Duverbs_cmd.c484 resp.pkey_tbl_len = attr.pkey_tbl_len; in ib_uverbs_query_port()
/drivers/infiniband/hw/ehca/
Dehca_hca.c215 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()
Dehca_irq.c356 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()
Dehca_classes.h93 u16 pkey_tbl_len, pkeys[16]; member
Dhipz_hw.h395 u32 pkey_tbl_len; member
/drivers/infiniband/hw/cxgb4/
Dprovider.c341 props->pkey_tbl_len = 1; in c4iw_query_port()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c880 int *gid_tbl_len, int *pkey_tbl_len) in mlx4_get_slave_pkey_gid_tbl_len() argument
903 *pkey_tbl_len = field; in mlx4_get_slave_pkey_gid_tbl_len()
Dmlx4.h1128 int *gid_tbl_len, int *pkey_tbl_len);
/drivers/infiniband/hw/amso1100/
Dc2_provider.c94 props->pkey_tbl_len = 1; in c2_query_port()
/drivers/infiniband/hw/mlx4/
Dsysfs.c321 for (i = 0 ; i < attr.pkey_tbl_len; i++) { in add_port_entries()
Dmain.c238 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()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c165 props->pkey_tbl_len = to_mdev(ibdev)->limits.pkey_table_len; in mthca_query_port()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1231 props->pkey_tbl_len = 1; in iwch_query_port()
/drivers/infiniband/hw/ipath/
Dipath_verbs.c1605 props->pkey_tbl_len = ipath_get_npkeys(dd); in ipath_query_port()
/drivers/infiniband/hw/qib/
Dqib_verbs.c1615 props->pkey_tbl_len = qib_get_npkeys(dd); in qib_query_port()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c141 props->pkey_tbl_len = 1; in ocrdma_query_port()
/drivers/infiniband/hw/nes/
Dnes_verbs.c600 props->pkey_tbl_len = 1; in nes_query_port()