X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fhash_lib.rst;h=7944640c3dd060946d204faa57fc01c9c8b8a1aa;hb=304eedb605c11246ea56770f6d94bd62e1946a42;hp=8f2cdbf73191269f69c158d26e1b94493cdc0422;hpb=2fe68f322a9829e3a578ea90b0bf98416af82ba3;p=dpdk.git diff --git a/doc/guides/prog_guide/hash_lib.rst b/doc/guides/prog_guide/hash_lib.rst index 8f2cdbf731..7944640c3d 100644 --- a/doc/guides/prog_guide/hash_lib.rst +++ b/doc/guides/prog_guide/hash_lib.rst @@ -87,6 +87,14 @@ or stored in the hash table itself. The example hash tables in the L2/L3 Forwarding sample applications defines which port to forward a packet to based on a packet flow identified by the five-tuple lookup. However, this table could also be used for more sophisticated features and provide many other functions and actions that could be performed on the packets and flows. +Multi-process support +--------------------- + +The hash library can be used in a multi-process environment, minding that only lookups are thread-safe. +The only function that can only be used in single-process mode is rte_hash_set_cmp_func(), which sets up +a custom compare function, which is assigned to a function pointer (therefore, it is not supported in +multi-process mode). + Implementation Details ----------------------