[dpdk-dev] [PATCH v6 08/10] hash: remove duplicated code
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jun 16 11:33:25 CEST 2015
The following patch is needed and will be squashed to fix some doxygen issues:
--- a/lib/librte_hash/rte_jhash.h
+++ b/lib/librte_hash/rte_jhash.h
@@ -306,13 +306,13 @@ rte_jhash2(const uint32_t *k, uint32_t length, uint32_t initval)
* with seeds. If you pass in (*pb)=0, the output (*pc) will be
* the same as the return value from rte_jhash.
*
- * @param k
+ * @param key
* Key to calculate hash of.
* @param length
* Length of key in bytes.
* @param pc
* IN: seed OUT: primary hash value.
- * @param pc
+ * @param pb
* IN: second seed OUT: secondary hash value.
*/
static inline void
@@ -464,7 +464,7 @@ rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc, uint32_t *pb)
* Length of key in units of 4 bytes.
* @param pc
* IN: seed OUT: primary hash value.
- * @param pc
+ * @param pb
* IN: second seed OUT: secondary hash value.
*/
static inline void
More information about the dev
mailing list