[DPDK] 創建hash表時報錯·Bug陳列

[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名出現重複的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章