[PATCH v8 1/2] ethdev: support RSS based on RoCEv2 header

2025-05-29 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- V8 Changes: * Fixed doc V7 Changes; * Addressed review comments related to rss_type_table. app/test-pmd/config.c | 4 +++- doc/guides/rel

[PATCH v7 1/2] ethdev: support RSS based on RoCEv2 header

2025-05-29 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- V7 Changes; * Addressed review comments related to rss_type_table. app/test-pmd/config.c | 4 +++- doc/guides/rel_notes/release_25_07.rst

[PATCH v9 1/2] ethdev: support RSS based on RoCEv2 header

2025-05-29 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- V9 Changes: * Fix checkpatch warnings. V8 Changes: * Fixed doc V7 Changes; * Addressed review comments related to rss_type_table. app/test-pmd/config.c

[PATCH v9 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-05-29 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v8 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-05-29 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v7 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-05-29 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v7 3/3] test/graph: fix graph autotest second run test failure

2025-05-04 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob ---

[PATCH v7 1/3] graph: avoid global node ID counter

2025-05-04 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH v7 2/3] graph: add support for node free API

2025-05-04 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/gr

[PATCH v6 3/3] test/graph: fix graph autotest second run test failure

2025-05-04 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K Series-Acked-by: Jerin Jac

[PATCH v6 2/3] graph: add support for node free API

2025-05-04 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/gr

[PATCH v6 1/3] graph: avoid global node ID counter

2025-05-04 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH v6 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-05-04 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- * v6 Chaanges: - Formatting changes. drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertion

[PATCH v6 1/2] ethdev: support RSS based on RoCEv2 header

2025-05-04 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- app/test-pmd/config.c | 5 - doc/guides/rel_notes/release_25_07.rst | 4 lib/ethdev/rte_ethdev.h| 1 + 3 files ch

[PATCH v5 1/2] ethdev: support RSS based on RoCEv2 header

2025-05-04 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- app/test-pmd/config.c | 5 - doc/guides/rel_notes/release_25_07.rst | 4 lib/ethdev/rte_ethdev.h| 1 + 3 files ch

[PATCH v5 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-05-04 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v4 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-04-30 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v4 1/2] ethdev: support RSS based on RoCEv2 header

2025-04-30 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- * v4 Changes: - Fix checkpatch issues app/test-pmd/config.c | 5 - doc/guides/rel_notes/release_25_07.rst | 3 +++ lib/ethdev/rte_et

[PATCH v3 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-04-30 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v3 1/2] ethdev: support RSS based on RoCEv2 header

2025-04-30 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- V3 Changes: * Adopted review changes related to formating app/test-pmd/config.c | 5 - doc/guides/rel_notes/release_25_07.rst | 3 +++

[PATCH v2 2/2] drivers: add support for IB_BTH header for RSS in cnxk device

2025-04-29 Thread kirankumark
From: Kiran Kumar K Adding support for IB_BTH header for RSS in cnxk device. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 1 + drivers/net/cnxk/cnxk_ethdev.c | 3 +++ drivers/net/cnxk/cnxk_ethdev.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v2 1/2] ethdev: support RSS based on RoCEv2 header

2025-04-29 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- app/test-pmd/config.c | 120 + doc/guides/rel_notes/release_25_07.rst | 32 +-- lib/ethdev/rte_ethdev.h

[PATCH v2] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- *V2 Changes: - Address comment related to order of enum values app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_f

[PATCH v2] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- *V2 Changes: - Address comment related to order of enum values app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_f

[PATCH] ethdev: support RSS based on RoCEv2 header

2025-04-21 Thread kirankumark
From: Kiran Kumar K On supporting hardware, RoCEv2 header can be used to perform RSS in the ingress path. Signed-off-by: Kiran Kumar K --- app/test-pmd/config.c | 4 +++- lib/ethdev/rte_ethdev.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/

[PATCH] ethdev: add support for flow action pop E-tag

2025-04-21 Thread kirankumark
From: Kiran Kumar K Add support for the following OpenFlow-defined action. RTE_FLOW_ACTION_TYPE_OF_POP_ETAG: Pop E-tag from the packet. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdline_flow.c | 9 + lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 10 +-

[PATCH v5 3/3] test/graph: fix graph autotest second run test failure

2024-11-25 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c

[PATCH v5 1/3] graph: avoid global node ID counter

2024-11-25 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH v5 2/3] graph: add support for node free API

2024-11-25 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- v5: - Fix review comments. lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + l

[PATCH v4 3/3] test/graph: fix graph autotest second run test failure

2024-11-14 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c

[PATCH v4 2/3] graph: add support for node free API

2024-11-14 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/graph/node.c | 2

[PATCH v4 1/3] graph: avoid global node ID counter

2024-11-14 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH v3 2/3] graph: add support for node free API

2024-11-14 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/graph/node.c | 2

[PATCH v3 3/3] test/graph: fix graph autotest second run test failure

2024-11-13 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c

[PATCH v3 1/3] graph: avoid global node ID counter

2024-11-13 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH v2 3/3] test/graph: fix graph autotest second run test failure

2024-11-10 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c

[PATCH v2 2/3] graph: add support for node free API

2024-11-10 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/graph/node.c | 2

[PATCH v2 1/3] graph: avoid global node ID counter

2024-11-10 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH 3/3] test/graph: fix graph autotest second run test failure

2024-11-10 Thread kirankumark
From: Kiran Kumar K The graph autotest second run test is failing due to the node name is already present in the node list. Adding changes to free nodes at the time of test cleanup. Fixes: 6b89650418fe ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c

[PATCH 1/3] graph: avoid global node ID counter

2024-11-10 Thread kirankumark
From: Kiran Kumar K The node id is determined based on a global variable that is incremented every time a node is created. Adding changes to remove the global counter. Make sure that the node list is always ordered by increasing node ids. When creating a new node, pick a free id which is not allo

[PATCH 2/3] graph: add support for node free API

2024-11-10 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/graph/node.c | 2

[PATCH v3] ethdev: add Tx queue flow matching item

2023-05-18 Thread kirankumark
From: Kiran Kumar K Adding support for Tx queue flow matching item. This item is valid only for egress rules. An example use case would be that application can set different vlan insert rules with different PCP values based on Tx queue number. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdl

[PATCH v2] ethdev: add Tx queue flow matching item

2023-05-08 Thread kirankumark
From: Kiran Kumar K Adding support for Tx queue flow matching item. This item is valid only for egress rules. An example use case would be that application can set different vlan insert rules with different PCP values based on Tx queue number. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdl

[dpdk-dev][PATCH] ethdev: add send queue flow matching item

2023-04-19 Thread kirankumark
From: Kiran Kumar K Adding support for send queue flow matching item. This item is valid only for egress rules. An example use case would be that application can set different vlan insert rules with different PCP values based on tx queue number. Signed-off-by: Kiran Kumar K --- app/test-pmd/cm

[dpdk-dev][PATCH] net/cnxk: add support for L2 ether ptype for cnxk

2022-11-27 Thread kirankumark
From: Kiran Kumar K Adding lookup support for RTE_PTYPE_L2_ETHER in cnxk driver. Signed-off-by: Kiran Kumar K --- drivers/net/cnxk/cnxk_lookup.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/cnxk/cnxk_lookup.c b/drivers/net/cnxk/cnxk_lookup.c index f36fb8f27a..5acf73f

[dpdk-dev][PATCH] drivers: optimize the build time for cnxk

2022-11-10 Thread kirankumark
From: Kiran Kumar K While building cnxk, if build platform is cn9k, cn10k files are also being compiled and vice versa. This is causing more build time. Adding changes to avoid this by checking the platform and compile only platform specific files. If no platform is provided, both cn9k and cn10k

[dpdk-dev][PATCH v2 3/3] net/cnxk: adding cnxk support to configure custom sa index

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding cnxk device driver support to configure custom sa index. Custom sa index can be configured as part of the session create as SPI, and later original SPI can be updated using session update. Signed-off-by: Kiran Kumar K --- doc/api/doxy-api-index.md | 3 +-

[dpdk-dev][PATCH v2 3/3] net/cnxk: adding cnxk support to configure custom sa index

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding cnxk device driver support to configure custom sa index. Custom sa index can be configured as part of the session create as SPI, and later original SPI can be updated using session update. Signed-off-by: Kiran Kumar K --- doc/api/doxy-api-index.md | 3 +-

[dpdk-dev][PATCH v2 2/3] net/cnxk: add devargs support to parse custom SA action

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding devargs support to parse custom sa action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1 Signed-off-by: Kiran Kumar K --- doc/guides/nics/cnxk.rst | 20 drivers/net/cnxk/cnxk_ethdev_devargs.c | 10 ++

[dpdk-dev][PATCH v2 1/3] common/cnxk: add ROC support to parse cnxk custom sa action

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index will be calculated based on SA_HI and SA_LO values. This allows the potential for a MCAM entry to match many SAs, rather than

[dpdk-dev][PATCH v2 2/3] net/cnxk: add devargs support to parse custom SA action

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding devargs support to parse custom sa action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1 Signed-off-by: Kiran Kumar K --- doc/guides/nics/cnxk.rst | 20 drivers/net/cnxk/cnxk_ethdev_devargs.c | 10 ++

[dpdk-dev][PATCH v2 1/3] common/cnxk: add ROC support to parse cnxk custom sa action

2022-05-03 Thread kirankumark
From: Kiran Kumar K Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index will be calculated based on SA_HI and SA_LO values. This allows the potential for a MCAM entry to match many SAs, rather than

[dpdk-dev][PATCH] test/crypto-perf: extend asymmetric crypto throughput test

2022-04-28 Thread kirankumark
From: Kiran Kumar K Extended support for asymmetric crypto perf throughput test. Added support for new modulus lengths. Added new parameter --modex-len. Supported lengths are 60, 128, 255, 448. Default length is 128. Signed-off-by: Kiran Kumar K --- app/test-crypto-perf/cperf_ops.c

[dpdk-dev][PATCH 3/3] net/cnxk: adding cnxk support to configure custom sa index

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding cnxk device driver support to configure custom sa index. Custom sa index can be configured as part of the session create as SPI, and later original SPI can be updated using session update. Signed-off-by: Kiran Kumar K --- doc/api/doxy-api-index.md | 3 +-

[dpdk-dev][PATCH 2/3] net/cnxk: add devargs support to parse custom SA action

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding devargs support to parse custom sa action. Devargs can be specified in the following way. -a 0002:02:00.0,custom_sa_act=1 Signed-off-by: Kiran Kumar K --- doc/guides/nics/cnxk.rst | 20 drivers/net/cnxk/cnxk_ethdev_devargs.c | 10 ++

[dpdk-dev][PATCH 1/3] common/cnxk: add ROC support to parse cnxk custom sa action

2022-04-21 Thread kirankumark
From: Kiran Kumar K Adding ROC Flow changes to parse custom SA action for cnxk device. When custom sa action is enabled, VTAG actions are not allowed. And custom SA index will be calculated based on SA_HI and SA_LO values. This allows the potential for a MCAM entry to match many SAs, rather than

[PATCH] test/crypto-perf: extend asymmetric crypto throughput test

2022-03-16 Thread kirankumark
From: Kiran Kumar K Extended support for asymmetric crypto perf throughput test. Added support for new modulus lengths. Added new parameter --modex-len. Supported lengths are 60, 128, 255, 448. Default length is 128. Signed-off-by: Kiran Kumar K --- app/test-crypto-perf/cperf_ops.c

[dpdk-dev] [PATCH] test/crypto-perf: fix crash issue with asym perf test

2021-10-28 Thread kirankumark
From: Kiran Kumar K While populating the crypto ops in case of asymmetric, result is being allocated from stack. This is causing crash in the application. And operation type is also not being initialized properly. Adding a fix by allocating the result from global memory and initialized the operat

[dpdk-dev] [PATCH] test/crypto-perf: fix crash issue with asym perf test

2021-10-28 Thread kirankumark
From: Kiran Kumar K While populating the crypto ops in case of asymmetric, result is being allocated from stack. This is causing crash in the application. And operation type is also not being initialized properly. Adding a fix by allocating the result from global memory and initialized the operat

[dpdk-dev] [PATCH] crypto/cnxk: fix bus error on RSA verify

2021-10-24 Thread kirankumark
From: Kiran Kumar K While creating RSA session, private key length is not being calculated properly. This is causing bus error on RSA verify. This patch fix the issue with length calculation. Fixes: 5a3513caeb455 ("crypto/cnxk: add asymmetric session") Signed-off-by: Kiran Kumar K --- drivers

[dpdk-dev] [PATCH 2/2] common/cnxk: sync mbox with AF

2021-10-24 Thread kirankumark
From: Kiran Kumar K Sync mbox with AF, And bump up the version. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_mbox.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h index bc40848450..22f

[dpdk-dev] [PATCH 1/2] common/octeontx2: sync mbox with AF

2021-10-24 Thread kirankumark
From: Kiran Kumar K Sync mbox with AF, And bump up the version. Signed-off-by: Kiran Kumar K --- drivers/common/octeontx2/otx2_mbox.h | 30 ++-- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/common/octeontx2/otx2_mbox.h b/drivers/common/octeon

[dpdk-dev] [PATCH v5] app/crypto-perf: add throughput test for asymmetric crypto

2021-09-16 Thread kirankumark
From: Kiran Kumar K Adding support for asymmetric crypto perf test. Only modex is supported for now. One new optype has been added. --optype modex ./dpdk-test-crypto-perf -c 0x3 -- --devtype crypto_cn9k --optype modex --ptest throughput Signed-off-by: Kiran Kumar K --- app/te

[dpdk-dev] [PATCH v4] app/crypto-perf: add throughput test for asymmetric crypto

2021-09-16 Thread kirankumark
From: Kiran Kumar K Adding support for asymmetric crypto perf test. Only modex is supported for now. One new optype has been added. --optype modex ./dpdk-test-crypto-perf --master-lcore 0 -l 0,1 --log-level=8 -- --devtype crypto_cn9k --optype modex Signed-off-by: Kiran Kuma

[dpdk-dev] [PATCH v3] app/crypto-perf: add throughput test for asymmetric crypto

2021-09-16 Thread kirankumark
From: Kiran Kumar K Adding support for asymmetric crypto perf test. Only modex is supported for now. Signed-off-by: Kiran Kumar K --- app/test-crypto-perf/cperf_ops.c | 59 ++- app/test-crypto-perf/cperf_options.h | 3 +- app/test-crypto-perf/cperf_options_parsin

[dpdk-dev] [PATCH v2] app/crypto-perf: add throughput test for asymmetric crypto

2021-08-15 Thread kirankumark
From: Kiran Kumar K Adding support for asymmetric crypto perf test. Only modex is supported for now. Signed-off-by: Kiran Kumar K --- app/test-crypto-perf/cperf_ops.c | 59 ++- app/test-crypto-perf/cperf_options.h | 3 +- app/test-crypto-perf/cperf_options_parsin

[dpdk-dev] [PATCH] app/crypto-perf: add throughput test for asymmetric crypto

2021-08-12 Thread kirankumark
From: Kiran Kumar K Adding support for asymmetric crypto perf test. Only modex is supported for now. Signed-off-by: Kiran Kumar K --- app/test-crypto-perf/cperf_ops.c | 59 ++- app/test-crypto-perf/cperf_options.h | 3 +- app/test-crypto-perf/cperf_options_parsin

[dpdk-dev] [PATCH 2/3] crypto/cnxk: update asym ECDSA messages in sync with ucode

2021-07-25 Thread kirankumark
From: Kiran Kumar K Adding changes to asymmetric ECDSA messages to align with the new ucode for cnxk device. Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cnxk_ae.h| 24 drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- 2 files changed, 21 insertions(+), 5 d

[dpdk-dev] [PATCH 3/3] common/cpt: update asym ECDSA messages in sync with ucode

2021-07-25 Thread kirankumark
From: Kiran Kumar K Adding changes to asymmetric ECDSA messages to align with the new ucode for octeontx2 device. Signed-off-by: Kiran Kumar K --- drivers/common/cpt/cpt_mcode_defines.h | 17 +- drivers/common/cpt/cpt_ucode_asym.h| 267 +++-- 2 files changed, 176 inser

[dpdk-dev] [PATCH 1/3] common/cnxk: add const values to ec groups

2021-07-25 Thread kirankumark
From: Kiran Kumar K New ucode expects const values A and B for asymmetric ECDSA messages. Adding roc support for this. Signed-off-by: Kiran Kumar K --- drivers/common/cnxk/roc_ae.c | 70 ++-- drivers/common/cnxk/roc_ae.h | 17 - 2 files changed, 84 inser

[dpdk-dev] [PATCH] crypto/cnxk: add null check for rsa param key data

2021-07-25 Thread kirankumark
From: Kiran Kumar K Coverity is reporting FORWARD_NULL issue when qt data is NULL. Adding NULL check for this. Coverity issue: 371893 Fixes: 5a3513caeb455 ("crypto/cnxk: add asymmetric session ops") Signed-off-by: Kiran Kumar K --- drivers/crypto/cnxk/cnxk_ae.h | 6 +- 1 file changed, 5 i

[dpdk-dev] [PATCH] net/octeontx2: add support for 24B custom L2 header parsing

2020-12-20 Thread kirankumark
From: Kiran Kumar K Adding support to parse 24B custom L2 header. Added devargs support to configure the PKIND, and removed the restriction to support custom headers on non SDP interface. Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 2 +- drivers/common/octeo

[dpdk-dev] [PATCH] net/octeontx2: fix rss flow create

2020-10-09 Thread kirankumark
From: Kiran Kumar K While creating flow with action type RSS, action type is not being set to RSS, and action type is being set to unicast. Therefore it breaks RSS functionality. This patch add changes to program the RSS action properly. Fixes: 4092e4845d ("net/octeontx2: add flow operations")

[dpdk-dev] [PATCH v8 3/3] net/octeontx2: add rss hash level support

2020-09-16 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c| 13 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/net/oct

[dpdk-dev] [PATCH v8 2/3] app/testpmd: support ethdev rss level config

2020-09-16 Thread kirankumark
From: Kiran Kumar K Adding support to set RSS level from ethdev config. level-default will requests the default behavior. level-outer will requests RSS to be performed on the outermost packet encapsulation level. level-inner will request RSS to be performed on the specified inner packet encapsula

[dpdk-dev] [PATCH v8 1/3] ethdev: add level support for RSS offload types

2020-09-16 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer encapsulation level for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers. This functionality already exists in rte_flow through level parameter in RSS action configur

[dpdk-dev] [PATCH v7 1/3] ethdev: add level support for RSS offload types

2020-08-31 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer encapsulation level for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers. This functionality already exists in rte_flow through level parameter in RSS action configur

[dpdk-dev] [PATCH v7 2/3] app/testpmd: support ethdev rss level config

2020-08-31 Thread kirankumark
From: Kiran Kumar K Adding support to set RSS level from ethdev config. level-0 will requests the default behavior. level-1 will requests RSS to be performed on the outermost packet encapsulation level. level-2 will request RSS to be performed on the specified inner packet encapsulation level, fr

[dpdk-dev] [PATCH v7 3/3] net/octeontx2: add rss hash level support

2020-08-31 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeontx2/

[dpdk-dev] [PATCH] net/octeontx2: move ESP parsing to LE layer

2020-08-27 Thread kirankumark
From: Kiran Kumar K Add support to parse NAT-T-ESP by moving the ESP parsing to LE. Signed-off-by: Kiran Kumar K --- drivers/common/octeontx2/hw/otx2_npc.h | 2 +- drivers/net/octeontx2/otx2_flow_parse.c | 10 +- drivers/net/octeontx2/otx2_lookup.c | 6 +++--- 3 files changed, 9

[dpdk-dev] [PATCH] net/octeontx2: add support VLAN insert and strip action

2020-08-24 Thread kirankumark
From: Kiran Kumar K Adding support for RTE Flow VLAN insert and strip actions for octeontx2 device. Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 68 +++-- drivers/net/octeontx2/otx2_flow.c | 126 drivers/net/octeontx2/otx2_f

[dpdk-dev] [PATCH v6 1/3] ethdev: add level support for RSS offload types

2020-08-21 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v6 3/3] net/octeontx2: add rss hash level support

2020-08-21 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeontx2/

[dpdk-dev] [PATCH v6 2/3] app/testpmd: support ethdev rss level config

2020-08-21 Thread kirankumark
From: Kiran Kumar K Adding support to set RSS level from ethdev config. level-inner is default and will set the RSS level to inner layers. level-outer will set the RSS level to outer layers. level-inner-outer will set the RSS level to both inner and outer layers. Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH] net/octeontx2: set max vtag insertion size

2020-08-20 Thread kirankumark
From: Kiran Kumar K When TX side VTAG insertion is enabled, As we are not setting the max vtag insertion size an interrupt has been received. This patch will fix the issue by configuring the max vtag insertion size to 8B. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_tm.c | 5 +++

[dpdk-dev] [PATCH v5 2/2] net/octeontx2: add rss hash level support

2020-08-18 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeontx2/

[dpdk-dev] [PATCH v5 1/2] ethdev: add level support for RSS offload types

2020-08-18 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v4 2/2] net/octeontx2: add rss hash level support

2020-08-18 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- V4 Changes: * Replace ETH_RSS_LEVEL_OUTER | ETH_RSS_LEVEL_INNER_OUTER with ETH_RSS_LEVEL_MASK drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c| 9 +

[dpdk-dev] [PATCH v4 1/2] ethdev: add level support for RSS offload types

2020-08-18 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v3 1/2] ethdev: add level support for RSS offload types

2020-08-18 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v3 2/2] net/octeontx2: add rss hash level support

2020-08-18 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 4 +++- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeont

[dpdk-dev] [PATCH] net/octeontx2: add support for VLAN based RSS hash

2020-08-13 Thread kirankumark
From: Kiran Kumar K Adding support for VLAN based RSS hash. 2 bytes of SPI will be considered for hashing. Signed-off-by: Kiran Kumar K --- drivers/common/octeontx2/otx2_mbox.h | 2 ++ drivers/net/octeontx2/otx2_ethdev.h | 2 +- drivers/net/octeontx2/otx2_rss.c | 3 +++ 3 files changed, 6

[dpdk-dev] [PATCH v2 1/2] ethdev: add level support for RSS offload types

2020-08-08 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v2 2/2] net/octeontx2: add rss hash level support

2020-08-08 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 4 +++- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeont

[dpdk-dev] [PATCH 2/2] net/octeontx2: add rss hash level support

2020-08-07 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 4 +++- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeont

[dpdk-dev] [PATCH 1/2] ethdev: add level support for RSS offload types

2020-08-07 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

[dpdk-dev] [PATCH v4] test/graph: fix coverity issues

2020-05-15 Thread kirankumark
From: Kiran Kumar K Fix memory leak and weak crypto issues reported by coverity. Coverity issue: 358439, 358448, 358451 Fixes: 6b89650418 ("test/graph: add functional tests") Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob --- V4 Changes: * Added space before bracket in Fixes. app/test/t

[dpdk-dev] [PATCH v3] test/graph: fix coverity issues

2020-05-14 Thread kirankumark
From: Kiran Kumar K Fix memory leak and weak crypto issues reported by coverity. Coverity issue: 358439, 358448, 358451 Fixes: 6b89650418("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- app/test/test_graph.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH v2] test/graph: fix memory leak

2020-05-14 Thread kirankumark
From: Kiran Kumar K Fix memory leaks reported by coverity. Coverity issue: 358439, 358451, 358448. Fixes: 6b89650418("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- V2 changes: * Added Coverity issue and Fixes info. app/test/test_graph.c | 7 +-- 1 file changed, 5 in

[dpdk-dev] [PATCH v2] test/graph: fix memory leak

2020-05-14 Thread kirankumark
From: Kiran Kumar K Fix memory leaks reported by coverity. Coverity issue: 358439, 358451, 358448. Fixes: 6b89650418("test/graph: add functional tests") Signed-off-by: Kiran Kumar K --- V2 changes: * Added Coverity issue and Fixes info. app/test/test_graph.c | 7 +-- 1 file changed, 5 in

  1   2   >