rte_hash_del_key(const struct rte_hash *h, const void *key); int32_t rte_hash_del_key_with_hash(const struct rte_hash *h, const void *key, hash_sig_t sig); 查找 int rte_hash_get_key_with_position(const struct rte_hash *h, const int32_t position, void **key); int rte_ha...
rte_exit(EXIT_FAILURE,"rte_eal_init()\n");pstHash=create_hash();iData=(int*)malloc(sizeof(int)*MAX_NUM);if(iData==NULL)return-1;#if 1//clock_gettime(CLOCK_MONOTONIC, &ts1); //记录函数开始时间// 测试200万存储时间memset(acSupi,0x00,sizeofacSupi);for(i=0;i<MAX_NUM;++i){iD...
rte_hash_parameters 结构体 structrte_hash_parameters{constchar*name;/**< Name of the hash. */uint32_tentries;/**< Total hash table entries. */uint32_treserved;/**< Unused field. Should be set to 0 */uint32_tkey_len;/**< Length of hash key. */rte_hash_function hash_func;/*...
hash: add iterate function … pablodelara authored and Thomas Monjalon committed Jul 12, 2015 Copy the full SHA f9edbc9 View commit details View at this point in the history Browse the repository at this point in the history hash: allow to store data in hash table … pablodelara...