[dpdk-dev] [PATCH v1] lib/hash: support non sse42 cpu architecture

2021-01-11 Thread kumar amber
add _SSE42_ flag to enable compilation of sse42 specific instructions only on supported architecture Signed-off-by: kumar amber --- lib/librte_hash/rte_hash_crc.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/librte_hash/rte_hash_crc.h b/lib

[dpdk-dev] [PATCH v9] raw/ioat: add secondary process support

2021-01-08 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup v6 * fix compilation v7 * include dev ops for secondary v8 * fix wrong memzone

[dpdk-dev] [PATCH v9] raw/ioat: add secondary process support

2021-01-08 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup v6 * fix compilation v7 * include dev ops for secondary v8 * fix wrong memzone

[dpdk-dev] [PATCH v8] raw/ioat: add secondary process support

2021-01-08 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup v6 * fix compilation v7 * include dev ops for secondary v8 * fix wrong memzone

[dpdk-dev] [PATCH v7] raw/ioat: add secondary process support

2021-01-07 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup v6 * fix compilation v7 * include dev ops for secondary --- drivers/raw/ioat

[dpdk-dev] [PATCH v6] raw/ioat: add secondary process support

2021-01-06 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup v6 * fix compilation --- drivers/raw/ioat/ioat_common.c | 20

[dpdk-dev] [PATCH v5] raw/ioat: add secondary process support

2021-01-06 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- v5 * add error check for memzone lookup --- drivers/raw/ioat/ioat_common.c | 21 +++-- drivers/raw/ioat

[dpdk-dev] [PATCH v4] raw/ioat: add secondary process support

2021-01-04 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- drivers/raw/ioat/ioat_common.c | 16 +--- drivers/raw/ioat/ioat_rawdev.c | 17 + 2 files

[dpdk-dev] [PATCH v3] raw/ioat: add secondary process support

2021-01-04 Thread Kumar Amber
Add support for secondary processes in ioat devices. The update allocates a memzone for a primary process or returns it in a secondary process. Signed-off-by: Kumar Amber --- drivers/raw/ioat/ioat_common.c | 17 ++--- drivers/raw/ioat/ioat_rawdev.c | 18 ++ 2 files

[dpdk-dev] [PATCH v2] raw/ioat: add secondary process support

2021-01-04 Thread Kumar Amber
Adds the check for the process type primary and secondary. Allocate memzone only in the primary porcess space and return the same memzone in secondary process. Signed-off-by: Kumar Amber --- drivers/raw/ioat/ioat_common.c | 17 ++--- drivers/raw/ioat/ioat_rawdev.c | 18

[dpdk-dev] [PATCH v1] raw/ioat: add secondary process support

2020-11-20 Thread Kumar Amber
add the secondart process support in dsa and ioat for cbdma Signed-off-by: Kumar Amber --- drivers/raw/ioat/ioat_common.c | 18 +++--- drivers/raw/ioat/ioat_rawdev.c | 19 +++ 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/drivers/raw/ioat

[dpdk-dev] [PATCH v4] net/i40e: fix argument in RSS action

2020-11-12 Thread Kumar Amber
The driver must check for the queue number in the RSS action list and if not should return with a proper error message to user. Bugzilla ID: 573 Fixes: 9486d60b94b5 ("net/i40e: fix flow RSS queue index check") Cc: wei.zh...@intel.com Signed-off-by: Kumar Amber --- drivers/net/i40e/i

[dpdk-dev] [PATCH v3] net/i40e: fix argument in RSS action

2020-11-12 Thread Kumar Amber
The driver must check for the queue number in the RSS action list and if not should return with a proper error message to user. Bugzilla ID: 573 Fixes: 9486d60b94b5 ("net/i40e: fix flow RSS queue index check") Cc: wei.zh...@intel.com Signed-off-by: Kumar Amber --- drivers/net/i40e/i

[dpdk-dev] [PATCH v2] net/i40e: fix argument in RSS action

2020-11-11 Thread Kumar Amber
The driver must check for the queue number in the RSS action list and if not should return with a proper error message to user. Bugzilla ID: 573 Fixes: 9486d60b94b5 ("net/i40e: fix flow RSS queue index check") Cc: wei.zh...@intel.com Signed-off-by: Kumar Amber --- drivers/net/i40e/i

[dpdk-dev] [PATCH v1] net/i40e: argument in RSS action should have queue

2020-11-10 Thread Kumar Amber
The driver must check for the queue number in the RSS action list and if not should return with a proper error message to user. Signed-off-by: Kumar Amber --- drivers/net/i40e/i40e_flow.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net

[dpdk-dev] [PATCH v4] hash: added a new API to hash to query key id

2019-11-25 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly be returned by rte_hash_add_key and rte_hash_add_key_with_hash. When RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD is set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib

[dpdk-dev] [PATCH v3] hash: added a new API to hash to query key id

2019-11-25 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly returned by rte_hash_add_key and rte_hash_add_key_with_hash. When RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD is set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib

[dpdk-dev] [PATCH v3] hash: added a new API to hash to query key id

2019-11-22 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly returned by rte_hash_add_key and rte_hash_add_key_with_hash. When RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD is set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib

[dpdk-dev] [PATCH v2] hash: added a new API to hash to query key id

2019-11-22 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly returned by add_key_functions. When multi_key_add flag set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib/librte_hash/rte_cuckoo_hash.c| 15

[dpdk-dev] [PATCH v1] hash: added a new API to hash to query key id

2019-11-21 Thread Kumar Amber
Adding new API function to query the maximum key ID that could possibly returned by add_key_functions. When multi_key_add flag set, the maximum key id is larger than the entry count specified by the user. Signed-off-by: Kumar Amber --- lib/librte_hash/rte_cuckoo_hash.c| 15