Searched refs:nb_entries (Results 1 – 10 of 10) sorted by relevance
| /f-stack/dpdk/lib/librte_ip_frag/ |
| H A D | rte_ip_frag_common.c | 46 uint64_t nb_entries; in rte_ip_frag_table_create() local 48 nb_entries = rte_align32pow2(bucket_num); in rte_ip_frag_table_create() 49 nb_entries *= bucket_entries; in rte_ip_frag_table_create() 50 nb_entries *= IP_FRAG_HASH_FNUM; in rte_ip_frag_table_create() 54 nb_entries > UINT32_MAX || nb_entries == 0 || in rte_ip_frag_table_create() 55 nb_entries < max_entries) { in rte_ip_frag_table_create() 60 sz = sizeof (*tbl) + nb_entries * sizeof (tbl->pkt[0]); in rte_ip_frag_table_create() 74 tbl->nb_entries = (uint32_t)nb_entries; in rte_ip_frag_table_create() 77 tbl->entry_mask = (tbl->nb_entries - 1) & ~(tbl->bucket_entries - 1); in rte_ip_frag_table_create()
|
| H A D | rte_ip_frag.h | 105 uint32_t nb_entries; /**< total size of the table. */ member
|
| /f-stack/dpdk/app/test/ |
| H A D | test_hash_multiwriter.c | 42 const uint32_t nb_entries = 5*1024*1024; variable 110 .entries = nb_entries, in test_hash_multiwriter() 151 keys = rte_malloc(NULL, sizeof(uint32_t) * nb_entries, 0); in test_hash_multiwriter() 158 for (i = 0; i < nb_entries; i++) in test_hash_multiwriter() 163 found = rte_zmalloc(NULL, sizeof(uint32_t) * nb_entries, 0); in test_hash_multiwriter()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 473 int nb_entries = (msgbuf[0] & TXGBE_VT_MSGINFO_MASK) >> in txgbe_vf_set_multicast() local 489 nb_entries = RTE_MIN(nb_entries, TXGBE_MAX_VF_MC_ENTRIES); in txgbe_vf_set_multicast() 492 vfinfo->num_vf_mc_hashes = (uint16_t)nb_entries; in txgbe_vf_set_multicast() 493 for (i = 0; i < nb_entries; i++) in txgbe_vf_set_multicast() 496 if (nb_entries == 0) { in txgbe_vf_set_multicast()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 490 int nb_entries = (msgbuf[0] & IXGBE_VT_MSGINFO_MASK) >> in ixgbe_vf_set_multicast() local 506 nb_entries = RTE_MIN(nb_entries, IXGBE_MAX_VF_MC_ENTRIES); in ixgbe_vf_set_multicast() 509 vfinfo->num_vf_mc_hashes = (uint16_t)nb_entries; in ixgbe_vf_set_multicast() 510 for (i = 0; i < nb_entries; i++) { in ixgbe_vf_set_multicast() 514 if (nb_entries == 0) { in ixgbe_vf_set_multicast()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sa.c | 1073 uint32_t nb_entries, uint32_t inbound, in sa_add_rules() argument 1086 for (i = 0; i < nb_entries; i++) { in sa_add_rules() 1239 uint32_t nb_entries, struct socket_ctx *skt_ctx) in sa_out_add_rules() argument 1241 return sa_add_rules(sa_ctx, entries, nb_entries, 0, skt_ctx); in sa_out_add_rules() 1246 uint32_t nb_entries, struct socket_ctx *skt_ctx) in sa_in_add_rules() argument 1248 return sa_add_rules(sa_ctx, entries, nb_entries, 1, skt_ctx); in sa_in_add_rules()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 944 uint16_t nb_entries);
|
| H A D | config.c | 2940 uint16_t nb_entries) in port_rss_reta_info() argument 2948 ret = rte_eth_dev_rss_reta_query(port_id, reta_conf, nb_entries); in port_rss_reta_info() 2954 for (i = 0; i < nb_entries; i++) { in port_rss_reta_info()
|
| H A D | cmdline.c | 2839 uint16_t nb_entries) in parse_reta_config() argument 2879 if (hash_index >= nb_entries) { in parse_reta_config() 2977 uint16_t nb_entries, in showport_parse_reta_config() argument 2986 uint16_t num = (nb_entries + RTE_RETA_GROUP_SIZE - 1) / in showport_parse_reta_config()
|
| /f-stack/freebsd/netipsec/ |
| H A D | key.c | 887 int nb_entries; in key_allocsp() local 896 nb_entries = 0; in key_allocsp() 906 nb_entries++; in key_allocsp() 927 if (nb_entries >= SPDCACHE_MAX_ENTRIES_PER_HASH) { in key_allocsp()
|