[dpdk-dev] [PATCH v3 3/3] hash: put rte_hash_set_cmp_func() back to DPDK_2.1.

2015-12-04 Thread Yu Nemo Wenbin
Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash/rte_hash_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_hash/rte_hash_version.map b/lib/librte_hash/rte_hash_version.map index 1aa94f9..6fab36d 100644 --- a/lib/librte_hash/rte_hash_version.map +++ b/lib/librte_hash

[dpdk-dev] [PATCH v3 2/3] hash: add rte_hash_set_cmp_func() function.

2015-12-04 Thread Yu Nemo Wenbin
Add this function to DPDK_2.2 and modified the comments of rte_hash_set_cmp_func(). Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash/rte_hash.h | 4 ++-- lib/librte_hash/rte_hash_version.map | 8 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/librte_hash

[dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function.

2015-12-04 Thread Yu Nemo Wenbin
Give user a chance to costomize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash

[dpdk-dev] [PATCH v2] hash: move rte_hash_set_cmp_func() to ver DPDK_2.2.

2015-12-03 Thread Yu Nemo Wenbin
Also modified the comments of rte_hash_set_cmp_func(). Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash/rte_hash.h | 4 ++-- lib/librte_hash/rte_hash_version.map | 8 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash

[dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function to DPDK_2.2.

2015-12-02 Thread Yu Nemo Wenbin
Give user a chance to customize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not be good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash

[dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function.

2015-11-27 Thread Yu Nemo Wenbin
Give user a chance to customize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not be good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash

[dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function.

2015-11-19 Thread Yu Nemo Wenbin
Give user a chance to costomize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash