Home
last modified time | relevance | path

Searched refs:hf (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/netpfil/ipfw/test/
H A Dtest_dn_heap.c53 uint32_t hf(uintptr_t key, int flags, void *arg) in hf() function
98 h = dn_ht_init(NULL, 10, 0, hf, matchf, newfn); in test_hash()
105 h = dn_ht_init(NULL, 10, 0, hf, matchf, NULL); in test_hash()
/f-stack/freebsd/contrib/ck/src/
H A Dck_hs.c356 h = hs->hf(previous, hs->seed); in ck_hs_grow()
595 h = hs->hf(entry, hs->seed); in ck_hs_gc()
920 ck_hs_hash_cb_t *hf, in ck_hs_move() argument
925 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_hs_move()
932 hs->hf = hf; in ck_hs_move()
940 ck_hs_hash_cb_t *hf, in ck_hs_init() argument
947 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_hs_init()
953 hs->hf = hf; in ck_hs_init()
H A Dck_rhs.c522 h = hs->hf(previous, hs->seed); in ck_rhs_grow()
554 h = hs->hf(previous, hs->seed); in ck_rhs_grow()
1440 ck_rhs_hash_cb_t *hf, in ck_rhs_move() argument
1445 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_rhs_move()
1453 hs->hf = hf; in ck_rhs_move()
1461 ck_rhs_hash_cb_t *hf, in ck_rhs_init() argument
1468 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_rhs_init()
1474 hs->hf = hf; in ck_rhs_init()
/f-stack/dpdk/drivers/net/fm10k/
H A Dfm10k_ethdev.c502 uint64_t hf; in fm10k_dev_rss_configure() local
548 hf = dev_conf->rx_adv_conf.rss_conf.rss_hf; in fm10k_dev_rss_configure()
550 mrqc |= (hf & ETH_RSS_IPV4) ? FM10K_MRQC_IPV4 : 0; in fm10k_dev_rss_configure()
551 mrqc |= (hf & ETH_RSS_IPV6) ? FM10K_MRQC_IPV6 : 0; in fm10k_dev_rss_configure()
552 mrqc |= (hf & ETH_RSS_IPV6_EX) ? FM10K_MRQC_IPV6 : 0; in fm10k_dev_rss_configure()
562 "supported", hf); in fm10k_dev_rss_configure()
2189 uint64_t hf = rss_conf->rss_hf; in fm10k_rss_hash_update() local
2198 if (hf == 0) in fm10k_rss_hash_update()
2232 uint64_t hf; in fm10k_rss_hash_conf_get() local
2246 hf = 0; in fm10k_rss_hash_conf_get()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_memory.c331 hf->file_id = i; in map_all_hugepages()
332 hf->size = hugepage_sz; in map_all_hugepages()
333 eal_get_hugefile_path(hf->filepath, sizeof(hf->filepath), in map_all_hugepages()
334 hpi->hugedir, hf->file_id); in map_all_hugepages()
335 hf->filepath[sizeof(hf->filepath) - 1] = '\0'; in map_all_hugepages()
359 hf->orig_va = virtaddr; in map_all_hugepages()
1547 size_t map_sz = hf->size;
1548 void *map_addr = hf->final_va;
1557 fd = open(hf->filepath, O_RDWR);
1560 hf->filepath, strerror(errno));
[all …]
/f-stack/freebsd/contrib/ck/include/
H A Dck_rhs.h89 ck_rhs_hash_cb_t *hf; member
H A Dck_hs.h89 ck_hs_hash_cb_t *hf; member
/f-stack/dpdk/drivers/net/qede/
H A Dqede_ethdev.c2096 static void qede_init_rss_caps(uint8_t *rss_caps, uint64_t hf) in qede_init_rss_caps() argument
2099 *rss_caps |= (hf & ETH_RSS_IPV4) ? ECORE_RSS_IPV4 : 0; in qede_init_rss_caps()
2100 *rss_caps |= (hf & ETH_RSS_IPV6) ? ECORE_RSS_IPV6 : 0; in qede_init_rss_caps()
2101 *rss_caps |= (hf & ETH_RSS_IPV6_EX) ? ECORE_RSS_IPV6 : 0; in qede_init_rss_caps()
2102 *rss_caps |= (hf & ETH_RSS_NONFRAG_IPV4_TCP) ? ECORE_RSS_IPV4_TCP : 0; in qede_init_rss_caps()
2103 *rss_caps |= (hf & ETH_RSS_NONFRAG_IPV6_TCP) ? ECORE_RSS_IPV6_TCP : 0; in qede_init_rss_caps()
2118 uint64_t hf = rss_conf->rss_hf; in qede_rss_hash_update() local
2127 (unsigned long)hf, len, key); in qede_rss_hash_update()
2129 if (hf != 0) { in qede_rss_hash_update()
2134 qede_init_rss_caps(&rss_params.rss_caps, hf); in qede_rss_hash_update()
[all …]
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_swx_pipeline.c6436 struct field *hf, *mf; in rte_swx_pipeline_table_config() local
6441 hf = header_field_parse(p, field->name, &h); in rte_swx_pipeline_table_config()
6443 CHECK(hf || mf, EINVAL); in rte_swx_pipeline_table_config()
6445 offset = hf ? hf->offset : mf->offset; in rte_swx_pipeline_table_config()
6448 is_header = hf ? 1 : 0; in rte_swx_pipeline_table_config()
6449 header = hf ? h : NULL; in rte_swx_pipeline_table_config()
6455 CHECK((is_header && hf && (h->id == header->id)) || in rte_swx_pipeline_table_config()