[DPDK] 創建hash表時報錯·Bug陳列
在使用DPDK的rte_hash_create
時,出現如下報錯。
RING: Cannot reserve memory
HASH: memory allocation failed
[ERRO] Unable to create hash_table on lcore 20
原因很簡單,我使用了重複的hash table名,而DPDK是不允許hash table名出現重複的。
在使用DPDK的rte_hash_create
時,出現如下報錯。
RING: Cannot reserve memory
HASH: memory allocation failed
[ERRO] Unable to create hash_table on lcore 20
原因很簡單,我使用了重複的hash table名,而DPDK是不允許hash table名出現重複的。