hash: fix comment for lookup
authorShreyansh Jain <shreyansh.jain@nxp.com>
Thu, 12 Apr 2018 12:33:58 +0000 (18:03 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Apr 2018 13:07:11 +0000 (15:07 +0200)
rte_hash_lookup_with_hash() has wrong comment for its 'sig' param.

Fixes: 1a9f648be291 ("hash: fix for multi-process apps")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_hash/rte_hash.h

index 3beaca7..f71ca9f 100644 (file)
@@ -328,7 +328,7 @@ rte_hash_lookup(const struct rte_hash *h, const void *key);
  * @param key
  *   Key to find.
  * @param sig
- *   Hash value to remove from the hash table.
+ *   Precomputed hash value for 'key'.
  * @return
  *   - -EINVAL if the parameters are invalid.
  *   - -ENOENT if the key is not found.