Home
last modified time | relevance | path

Searched refs:pkey_cache (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c940 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_get_cached_pkey()
969 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_find_cached_pkey()
1009 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_find_exact_cached_pkey()
1048 struct ib_pkey_cache *pkey_cache = NULL, *old_pkey_cache; in ib_cache_update() local
1076 pkey_cache = kmalloc(sizeof *pkey_cache + tprops->pkey_tbl_len * in ib_cache_update()
1077 sizeof *pkey_cache->table, GFP_KERNEL); in ib_cache_update()
1078 if (!pkey_cache) in ib_cache_update()
1081 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
1092 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
1093 ret = ib_query_pkey(device, port, i, pkey_cache->table + i); in ib_cache_update()
[all …]
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1995 struct ib_pkey_cache **pkey_cache; member