[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 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 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 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 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] 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] 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 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 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 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] 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 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 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 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] 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

[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

[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

[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 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] 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] 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

[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 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

[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 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] 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] net/octeontx2: add check for PTP and HIGIG2

2020-01-12 Thread kirankumark
From: Kiran Kumar K For octeontx2 we won't support both PTP and HIGIG2 together. Added a check to verify this. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.c | 9 - drivers/net/octeontx2/otx2_ptp.c| 5 + 2 files changed, 13 insertions(+), 1 deletion(-) di

[dpdk-dev] [PATCH v2] net/octeontx2: add check for PTP and HIGIG2

2020-01-14 Thread kirankumark
From: Kiran Kumar K For octeontx2 we won't support both PTP and HIGIG2 together. Added a check to verify this. Signed-off-by: Kiran Kumar K --- V2 Changes: *Changed error message drivers/net/octeontx2/otx2_ethdev.c | 9 - drivers/net/octeontx2/otx2_ptp.c| 5 + 2 files changed,

[dpdk-dev] [PATCH v3] net/octeontx2: fix PTP and HIGIG2 coexistence

2020-01-14 Thread kirankumark
From: Kiran Kumar K octeontx2 PMD does not support both PTP and HIGIG2 together. added a check to enforce this and updated the Rx offload capabilities when Higig2 mode enabled fixes: 602009ee2dfb (net/octeontx2: support HIGIG2) Signed-off-by: Kiran Kumar K --- V3 Changes: * Fixed commit log V

[dpdk-dev] [PATCH] net/octeontx2: extend RSS supported offload types

2020-01-21 Thread kirankumark
From: Kiran Kumar K Extend RSS offload types for octeontx2. Add support to select L3 SRC, L3 DST, L4 SRC and L4 DST for RSS calculation. Add support to select L3 SRC or DST only, L4 SRC or DST only for RSS calculation. With this requirement there will be following combinations, IPV[4,6]_SRC_ONL

[dpdk-dev] [PATCH v2] net/octeontx2: extend RSS supported offload types

2020-01-23 Thread kirankumark
From: Kiran Kumar K Extend RSS offload types for octeontx2. Add support to select L3 SRC, L3 DST, L4 SRC and L4 DST for RSS calculation. Add support to select L3 SRC or DST only, L4 SRC or DST only for RSS calculation. With this requirement there will be following combinations, IPV[4,6]_SRC_ONL

[dpdk-dev] [PATCH] net/octeontx2: disable HIGIG on port stop

2020-01-24 Thread kirankumark
From: Kiran Kumar K If HIGIG mode is enabled on configure, This needs to be disabled on port stop. Adding support to send mbox message on port stop to configure the port to default. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.c | 9 +++-- 1 file changed, 7 insertions

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

2020-05-13 Thread kirankumark
From: Kiran Kumar K Fix memory leaks reported by coverity. Signed-off-by: Kiran Kumar K --- app/test/test_graph.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/test_graph.c b/app/test/test_graph.c index cf6df0744..ed69eda99 100644 --- a/app/test/test_graph

[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

[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 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] net/octeontx2: enable full flow control for HIGIG

2020-01-30 Thread kirankumark
From: Kiran Kumar K Due to following errata (NIX-35687) 2019-03-20 A0 CatA Link credit deadlock, We disabled Tx flow control. Add check to enable the full flow control in HIGIG mode. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_flow_ctrl.c | 1 + 1 file changed, 1 insertion(+)

[dpdk-dev] [PATCH v2] net/octeontx2: enable full flow control for HIGIG

2020-01-30 Thread kirankumark
From: Kiran Kumar K When HIGIG flow control enabled with CGX, We are disabling Tx flow control. Added check to enable the full flow control in HIGIG mode. Signed-off-by: Kiran Kumar K --- V2 changes: * Updated commit log drivers/net/octeontx2/otx2_flow_ctrl.c | 1 + 1 file changed, 1 insertio

[dpdk-dev] [PATCH] net/octeontx2: offload bad L2/L3/L4 UDP lengths detection

2020-03-07 Thread kirankumark
From: Kiran Kumar K Octeontx2 HW has support for detecting the bad L2/L3/L4 UDP lengths. Since DPDK does not have specific error flag for this, exposing it as bad checksum failure in mbuff:ol_flags to leverage this feature. These errors will be propagated to the ol_flags as follows. L2 length e

[dpdk-dev] [PATCH] ethdev: add DBDF action to RTE Flow

2020-03-10 Thread kirankumark
From: Kiran Kumar K Adding suuport to DBDF action in the RTE Flow. Application can specify the dbdf value using rte_flow_action_dbdf. Matched traffic will be sent to specified PCI DBDF device. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdline_flow.c| 64

[dpdk-dev] [PATCH] net/octeontx2: add flags based extraction support

2019-07-14 Thread kirankumark
From: Kiran Kumar K Adding support for flags based extraction in octeontx2 Flow. Patch supports extracting data greater than 32 bytes using lflags. When flags based extraction is enabled, lower 4 bits will be considered (16 flags) for indexing the flags, and will be used for extraction. Signed-o

[dpdk-dev] [PATCH] net/octeontx2: add ipv6 ext parsing support

2019-07-18 Thread kirankumark
From: Kiran Kumar K Adding support for ipv6_ext header parsing in the octeontx2 flow. Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 6 -- drivers/net/octeontx2/otx2_flow_parse.c | 7 +++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/gu

[dpdk-dev] [PATCH 1/3] ethdev: add NSH key field to flow API

2019-07-23 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_nsh in order to match the network service header based on RFC 8300. Signed-off-by: Kiran Kumar K --- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 39 2 files changed, 40 insertions(+) diff --

[dpdk-dev] [PATCH 3/3] ethdev: add AH key field to flow API

2019-07-23 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_ah in order to match the Authentication Header based on RFC 2402. Signed-off-by: Kiran Kumar K --- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 31 +++ 2 files changed, 32 insertions(+) diff --git a/l

[dpdk-dev] [PATCH 2/3] ethdev: add IGMP key field to flow API

2019-07-23 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_igmp in order to match the Internet Group Management Protocol based on RFC 2236. Signed-off-by: Kiran Kumar K --- lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 31 +++ 2 files changed, 32 insertions(+)

[dpdk-dev] [PATCH v2 1/3] ethdev: add NSH key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_nsh in order to match the network service header based on RFC 8300. Signed-off-by: Kiran Kumar K --- V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 18 ++ lib/librte_ethdev/rte_flow.c | 1 + lib/li

[dpdk-dev] [PATCH v2 2/3] ethdev: add IGMP key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_igmp in order to match the Internet Group Management Protocol based on RFC 2236. Signed-off-by: Kiran Kumar K --- V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 12 lib/librte_ethdev/rte_flow.c |

[dpdk-dev] [PATCH v2 3/3] ethdev: add AH key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_ah in order to match the Authentication Header based on RFC 2402. Signed-off-by: Kiran Kumar K --- V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 13 + lib/librte_ethdev/rte_flow.c | 1 + lib/librt

[dpdk-dev] [PATCH v3 3/3] ethdev: add AH key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_ah in order to match the Authentication Header based on RFC 2402. Signed-off-by: Kiran Kumar K --- V3 changes: * Fixed checkpatch issue V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 13 + lib/librte_eth

[dpdk-dev] [PATCH v3 2/3] ethdev: add IGMP key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_igmp in order to match the Internet Group Management Protocol based on RFC 2236. Signed-off-by: Kiran Kumar K --- V3 changes: * Fixed checkpatch issue V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 12

[dpdk-dev] [PATCH v3 1/3] ethdev: add NSH key field to flow API

2019-07-25 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_nsh in order to match the network service header based on RFC 8300. Signed-off-by: Kiran Kumar K --- V3 changes: * Fixed checkpatch issue V2 changes: * updated supported items in doc doc/guides/prog_guide/rte_flow.rst | 18 ++ lib/librte_

[dpdk-dev] [PATCH] net/octeontx2: add gre key parsing support

2019-07-26 Thread kirankumark
From: Kiran Kumar K Adding support to parse GRE KEY for octeontx2 Flow. Matching on GRE Key will only work, if checksum and routing bits in the GRE header are equal to 0. Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 96 + drivers/net/octeon

[dpdk-dev] [PATCH v5] ethdev: add HIGIG2 key field to flow API

2019-10-17 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH v6] ethdev: add HIGIG2 key field to flow API

2019-10-18 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH v7] ethdev: add HIGIG2 key field to flow API

2019-10-19 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K Ac

[dpdk-dev] [PATCH v8] ethdev: add HIGIG2 key field to flow API

2019-10-20 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K Ac

[dpdk-dev] [PATCH v9] ethdev: add HIGIG2 key field to flow API

2019-10-21 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K Ac

[dpdk-dev] [PATCH v10] ethdev: add HIGIG2 key field to flow API

2019-10-21 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in Broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K Ac

[dpdk-dev] [PATCH 1/2] net/octeontx2: add support to enable switch type

2019-10-23 Thread kirankumark
From: Kiran Kumar K Adding support to configure specific switch types like high2 and dsa on a port. When this switch type is configured, it is expected that all the traffic on that port should be of specific type only. Change-Id: I41c47c4f8d844666cd6afe20a60397b83908e2f4 Signed-off-by: Kiran Kum

[dpdk-dev] [PATCH 2/2] net/octeontx2: add support to parse higig2 hdr

2019-10-23 Thread kirankumark
From: Kiran Kumar K Adding support to parse higig2 header in RTE flow for octeontx2. And added devargs to configure port for higig2. Change-Id: I6931c2905f90a841c2638251bdfa1e63c7d676e6 Signed-off-by: Kiran Kumar K --- doc/guides/nics/octeontx2.rst | 2 ++ drivers/common/octeontx2/h

[dpdk-dev] [PATCH v2 1/2] net/octeontx2: add support to enable switch type

2019-10-23 Thread kirankumark
From: Kiran Kumar K Adding support to configure specific switch types like high2 and dsa on a port. When this switch type is configured, it is expected that all the traffic on that port should be of specific type only. Signed-off-by: Kiran Kumar K --- V2 Changes: * Fixed checkpatch issue doc/

[dpdk-dev] [PATCH v2 2/2] net/octeontx2: add support to parse higig2 hdr

2019-10-23 Thread kirankumark
From: Kiran Kumar K Adding support to parse higig2 header in RTE flow for octeontx2. And added devargs to configure port for higig2. Signed-off-by: Kiran Kumar K --- V2 Changes: * Fixed checkpatch issue doc/guides/nics/octeontx2.rst | 2 ++ drivers/common/octeontx2/hw/otx2_npc.h |

[dpdk-dev] [PATCH v2] app/test-pmd: add support for tx and rx desc statu

2019-10-29 Thread kirankumark
From: Kiran Kumar K Adding support to check TX and RX descriptor status. Signed-off-by: Kiran Kumar K --- V2 Changes: * Merged rx and tx command line tags * added desc tag for descriptor id * Added help string app/test-pmd/cmdline.c | 100 doc/guides/

[dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support

2019-07-07 Thread kirankumark
From: Kiran Kumar K Adding PF and VF action support for octeontx2 Flow. If RTE_FLOW_ACTION_TYPE_PF action is set from VF, then the packet will be sent to the parent PF. If RTE_FLOW_ACTION_TYPE_VF action is set and original is specified, then the packet will be sent to the original VF, otherwise t

[dpdk-dev] [PATCH] ethdev: add HIGIG2 key field to flow API

2019-10-13 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH] ethdev: add HIGIG2 key field to flow API

2019-10-14 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH v3] ethdev: add HIGIG2 key field to flow API

2019-10-15 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH v4] ethdev: add HIGIG2 key field to flow API

2019-10-16 Thread kirankumark
From: Kiran Kumar K Add new rte_flow_item_higig2_hdr in order to match higig2 header. It is a layer 2.5 protocol and used in broadcom switches. Header format is based on the following document. http://read.pudn.com/downloads558/doc/comm/2301468/HiGig_protocol.pdf Signed-off-by: Kiran Kumar K --

[dpdk-dev] [PATCH v3] kni: add IOVA va support for kni

2019-04-15 Thread kirankumark
From: Kiran Kumar K With current KNI implementation kernel module will work only in IOVA=PA mode. This patch will add support for kernel module to work with IOVA=VA mode. The idea is to get the physical address from iova address using api iommu_iova_to_phys. Using this API, we will get the physi

[dpdk-dev] [PATCH v4] kni: add IOVA va support for kni

2019-04-21 Thread kirankumark
From: Kiran Kumar K With current KNI implementation kernel module will work only in IOVA=PA mode. This patch will add support for kernel module to work with IOVA=VA mode. The idea is to get the physical address from iova address using api iommu_iova_to_phys. Using this API, we will get the physi

[dpdk-dev] [PATCH v5] kni: add IOVA va support for kni

2019-04-21 Thread kirankumark
From: Kiran Kumar K With current KNI implementation kernel module will work only in IOVA=PA mode. This patch will add support for kernel module to work with IOVA=VA mode. The idea is to get the physical address from iova address using api iommu_iova_to_phys. Using this API, we will get the physi

[dpdk-dev] [PATCH] net/octeontx2: add tx desc status dev ops

2019-09-02 Thread kirankumark
From: Kiran Kumar K Adding support for tx descriptor status dev ops for octeontx2. Signed-off-by: Kiran Kumar K --- doc/guides/nics/features/octeontx2.ini | 1 + drivers/net/octeontx2/otx2_ethdev.c | 1 + drivers/net/octeontx2/otx2_ethdev.h | 1 + drivers/net/octeontx2/otx2_ethdev_

[dpdk-dev] [PATCH] app/test-pmd: add support for tx and rx desc statu

2019-09-02 Thread kirankumark
From: Kiran Kumar K Adding support to check TX and RX descriptor status. Signed-off-by: Kiran Kumar K --- app/test-pmd/cmdline.c | 111 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++ 2 files changed, 119 insertions(+) diff --git a/app/test-pmd/

[dpdk-dev] [PATCH 1/2] ethdev: enable support for GTPU eth flow type

2019-09-02 Thread kirankumark
From: Kiran Kumar K Adding support to enable GTPU eth flow type for RSS hash index calculation. Signed-off-by: Kiran Kumar K --- lib/librte_ethdev/rte_ethdev.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h

[dpdk-dev] [PATCH 2/2] net/octeontx2: enable GTPU for RSS hash index

2019-09-02 Thread kirankumark
From: Kiran Kumar K Adding support to parse GTPU flag for RSS hash index calculation in octeontx2. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_rss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/octeontx2/otx2_rss.c b/drivers/net/octeontx2/otx2_rss.c index

[dpdk-dev] [PATCH] net/octeontx2: add tx desc status dev ops

2019-09-05 Thread kirankumark
From: Kiran Kumar K Adding support for tx descriptor status dev ops for octeontx2. Signed-off-by: Kiran Kumar K --- doc/guides/nics/features/octeontx2.ini | 1 + drivers/net/octeontx2/otx2_ethdev.c | 1 + drivers/net/octeontx2/otx2_ethdev.h | 1 + drivers/net/octeontx2/otx2_ethdev_

[dpdk-dev] [PATCH v3] net/octeontx2: add tx desc status dev ops

2019-09-06 Thread kirankumark
From: Kiran Kumar K Adding support for tx descriptor status dev ops for octeontx2. Signed-off-by: Kiran Kumar K --- V3 Changes: * Added version info in subject V2 Changes: * Fixed check for num of tx desc doc/guides/nics/features/octeontx2.ini | 1 + drivers/net/octeontx2/otx2_ethdev.c

[dpdk-dev] [PATCH] net/octeontx2: extract nvgre as ltype

2019-09-11 Thread kirankumark
From: Kiran Kumar K Adding change to sync RTE Flow with KPU profile to extract NVGRE as ltype. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_flow_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/octeontx2/otx2_flow_parse.c b/drivers/net/oct

[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 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 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 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] 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] 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 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 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 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 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 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] 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 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 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 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

  1   2   >