<div dir="ltr"><font face="monospace">Hi All,</font><div><font face="monospace"><br></font></div><div><font face="monospace">In multithreaded/Multicore environment can we use <span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF independently, </span></font></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">or this flag should always be used with </span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD.</span></font></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace"><br></font></span></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">We are trying to create and access the hash table with </span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF only.</span></font></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace">We are getting crashes in multi core environments , we debugged nothing wrong in the application , everything looks good.</font></span></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace"><br></font></span></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">We call </span>rte_hash_del_key() first and from the returned position we are calling rte_hash_free_key_with_position().</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">Please let me know if we missed something.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">Thanks,</font></div><div><font face="monospace">Venkatesh.</font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 6, 2022 at 9:15 AM venkatesh bs <<a href="mailto:venki.bsv@gmail.com">venki.bsv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><font face="monospace">Hi All,</font><div><font face="monospace"><br></font></div><div><font face="monospace">In multithreaded/Multicore environment can we use <span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF independently, </span></font></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">or this flag should always be used with </span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD.</span></font></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace"><br></font></span></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">We are trying to create and access the hash table with </span><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">RTE_HASH_EXTRA_FLAGS_RW_CONCURRENCY_LF only.</span></font></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace">We are getting crashes in multi core environments , we debugged nothing wrong in the application , everything looks good.</font></span></div><div><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px"><font face="monospace"><br></font></span></div><div><font face="monospace"><span style="background-color:rgb(252,252,252);color:rgb(64,64,64);font-size:16px">We call </span>rte_hash_del_key() first and from the returned position we are calling rte_hash_free_key_with_position().</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">Please let me know if we missed something.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">Thanks,</font></div><div><font face="monospace">Venkatesh.</font></div></div>
</blockquote></div>