[dpdk-dev] [PATCH v4 0/7] librte_table: add key_mask parameter to

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patchset links to ABI change announced for librte_table. The key_mask parameters has been added to the hash table parameter structure for 8-byte key and 16-byte key extendible bucket and LRU tables. v2: *updated release note v3: *merged release note with source code patch *

[dpdk-dev] [PATCH v4 2/7] librte_table: add 16 byte hash table operations with computed lookup

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch is to adding hash table operations for key signature computed on lookup ("do-sig") for LRU hash tables and Extendible buckets. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash.h | 8 + lib/librte_table/rte_table_hash_key16.c | 359

[dpdk-dev] [PATCH v4 1/7] librte_table: add key_mask parameter to 8- and 16-bytes key hash parameters

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch relates to ABI change proposed for librte_table. The key_mask parameter is added for 8-byte and 16-byte key extendible bucket and LRU tables.The release notes is updated and the deprecation notice is removed. Signed-off-by: Fan Zhang Signed-off-by: Jasvinder Singh --

[dpdk-dev] [PATCH v4 6/7] example/ip_pipeline/pipeline: update flow_classification pipeline

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch updates the flow_classification pipeline for added key_mask parameter in 8/16-byte key hash parameters. The update provides user optional key_mask configuration item applying to the packets. Signed-off-by: Fan Zhang --- .../pipeline/pipeline_flow_classification_be.c

[dpdk-dev] [PATCH v4 7/7] librte_table: performance improvement on rte_prefetch offset

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch modifies rte_prefetch offsets to improve hash/lru table lookup performance. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash_ext.c | 10 --- lib/librte_table/rte_table_hash_key16.c | 51 + lib/librte_table/rte_table_h

[dpdk-dev] [PATCH v4 5/7] example/ip_pipeline: add parse_hex_string for internal use

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch adds parse_hex_string function to parse hex string to uint8_t array. Signed-off-by: Fan Zhang --- examples/ip_pipeline/config_parse.c | 52 + examples/ip_pipeline/pipeline_be.h | 4 +++ 2 files changed, 56 insertions(+) diff --g

[dpdk-dev] [PATCH v4 3/7] app/test: modify app/test_table_combined and app/test_table_tables

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang Tests have been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test/test_table_combined.c | 5 - app/test/test_table_tables.c | 6 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff

[dpdk-dev] [PATCH v4 4/7] app/test-pipeline: modify pipeline test

2015-10-28 Thread roy.fan.zh...@intel.com
From: Fan Zhang Test-pipeline has been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test-pipeline/pipeline_hash.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-pipeline/pipeline_hash.c b/app/te

[dpdk-dev] [PATCH 0/4]librte_port: modify macros to access packet meta-data

2015-09-11 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patchset links to ABI change announced for librte_port. Macros to access the packet meta-data stored within the packet buffer has been adjusted to cover the packet mbuf structure. Fan Zhang (4): librte_port: modify macros to access packet meta-data app/test: modify table

[dpdk-dev] [PATCH 1/4] librte_port: modify macros to access packet meta-data

2015-09-11 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch relates to ABI change proposed for librte_port. Macros to access the packet meta-data stored within the packet buffer has been adjusted to cover the packet mbuf structure. Signed-off-by: Fan Zhang --- lib/librte_port/rte_port.h | 2 +- 1 file changed, 1 insertion(+),

[dpdk-dev] [PATCH 3/4] app/test_pipeline: modify pipeline test

2015-09-11 Thread roy.fan.zh...@intel.com
From: Fan Zhang Test_pipeline has been modified to work on updated macros to access meta-data stored in the mbuf structure. Signed-off-by: Fan Zhang --- app/test-pipeline/main.h | 2 ++ app/test-pipeline/pipeline_hash.c | 34 ++ app/test-pipeli

[dpdk-dev] [PATCH 4/4] librte_port: modify release notes and deprecation notice

2015-09-11 Thread roy.fan.zh...@intel.com
From: Fan Zhang The LIBABIVER number is incremented. The release notes is updated and the deprecation announce is removed. Signed-off-by: Fan Zhang --- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_2_2.rst | 4 +++- lib/librte_port/Makefile | 2 +- 3

[dpdk-dev] [PATCH 2/4] app/test: modify table and pipeline test

2015-09-11 Thread roy.fan.zh...@intel.com
From: Fan Zhang Test_table has been modified to work on updated macros to access meta-data stored in the mbuf structure. Signed-off-by: Fan Zhang --- app/test/test_table.h | 8 ++-- app/test/test_table_combined.c | 28 +-- app/test/test_table_pipeline.c |

[dpdk-dev] [PATCH 0/8] librte_table: add key_mask parameter to 8-byte key

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patchset links to ABI change announced for librte_table. Key_mask parameters has been added to the hash table parameter structure for 8-byte key and 16-byte key extendible bucket and LRU tables. Fan Zhang (8): librte_table: add key_mask parameter to 8-byte key hash paramet

[dpdk-dev] [PATCH 2/8] librte_table: add key_mask parameter to 16-byte key hash parameters

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch relates to ABI change proposed for librte_table. key_mask parameter is added for 16-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash.h | 6 lib/librte_table/rte_table_hash_key16.c | 53 +++

[dpdk-dev] [PATCH 1/8] librte_table: add key_mask parameter to 8-byte key hash parameters

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch relates to ABI change proposed for librte_table. key_mask parameter is added for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash.h | 6 lib/librte_table/rte_table_hash_key8.c | 54 ++

[dpdk-dev] [PATCH 5/8] app/test-pipeline: modify pipeline test

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang Test-pipeline have been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test-pipeline/pipeline_hash.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-pipeline/pipeline_hash.c b/app/t

[dpdk-dev] [PATCH 3/8] librte_table: add 16 byte hash table operations with computed lookup

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch is to adding hash table operations for key signature computed on lookup ("do-sig") for LRU hash tables and Extendible buckets. Signed-off-by: Fan Zhang --- lib/librte_table/rte_table_hash.h | 8 + lib/librte_table/rte_table_hash_key16.c | 358

[dpdk-dev] [PATCH 7/8] example/ip_pipeline/pipeline: update flow_classification pipeline

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch updates the flow_classification pipeline for added key_mask parameter in 8/16-byte key hash parameters. The update provides user optional key_mask configuration item applying to the packets. Signed-off-by: Fan Zhang --- .../pipeline/pipeline_flow_classification_be.c

[dpdk-dev] [PATCH 4/8] app/test: modify app/test_table_combined and app/test_table_tables

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang Tests have been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test/test_table_combined.c | 4 app/test/test_table_tables.c | 6 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff -

[dpdk-dev] [PATCH 8/8] librte_table: modify release notes and deprecation notice

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang The LIBABIVER number is incremented. The release notes is updated and the deprecation announce is removed. Signed-off-by: Fan Zhang --- doc/guides/rel_notes/deprecation.rst | 3 --- doc/guides/rel_notes/release_2_2.rst | 5 - lib/librte_table/Makefile| 2 +- 3 f

[dpdk-dev] [PATCH 6/8] example/ip_pipeline: add parse_hex_string for internal use

2015-09-25 Thread roy.fan.zh...@intel.com
From: Fan Zhang This patch adds parse_hex_string function to parse hex string to uint8_t array. Signed-off-by: Fan Zhang --- examples/ip_pipeline/config_parse.c | 70 + examples/ip_pipeline/pipeline.h | 4 +++ 2 files changed, 74 insertions(+) diff --g