[dpdk-dev] [PATCH v2] drivers: fix build issues with redundant newline changes

2024-10-07 Thread jerinj
From: Jerin Jacob Certain section of the code in net/mvpp2 and ml/cnxk is enabled only when all depended library dependences where meet. Fixing those build errors. Fixes: f665790a5dba ("drivers: remove redundant newline from logs") Signed-off-by: Jerin Jacob --- v2: - Add https://patches.dpdk

[dpdk-dev] [PATCH] drivers: fix build issues with redundant newline changes

2024-10-07 Thread jerinj
From: Jerin Jacob Certain section of the code in net/mvpp2 and ml/cnxk is enabled only when all depended library dependences where meet. Fixing those build errors. Fixes: e99981af3463 ("drivers: replace logging helpers") Signed-off-by: Jerin Jacob --- drivers/ml/cnxk/mvtvm_ml_dev.c | 8 ++-

[dpdk-dev] [v2] ethdev: support Tx queue used count

2024-01-18 Thread jerinj
From: Jerin Jacob Introduce a new API to retrieve the number of used descriptors in a Tx queue. Applications can leverage this API in the fast path to inspect the Tx queue occupancy and take appropriate actions based on the available free descriptors. A notable use case could be implementing Ran

[dpdk-dev] [v1] ethdev: support Tx queue used count

2024-01-11 Thread jerinj
From: Jerin Jacob Introduce a new API to retrieve the number of used descriptors in a Tx queue. Applications can leverage this API in the fast path to inspect the Tx queue occupancy and take appropriate actions based on the available free descriptors. A notable use case could be implementing Ran

[dpdk-dev] [v6] doc: define qualification criteria for external library

2024-01-09 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html https://mails.dpdk.org/archives/dev/2024-January/284849.html Signed-off-by:

[dpdk-dev] [v5] doc: define qualification criteria for external library

2024-01-07 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html https://mails.dpdk.org/archives/dev/2024-January/284849.html Signed-off-by:

[dpdk-dev] [v4] doc: define qualification criteria for external library

2024-01-05 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html https://mails.dpdk.org/archives/dev/2024-January/284849.html Signed-off-by:

[dpdk-dev] [v3] doc: define qualification criteria for external library

2024-01-05 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html https://mails.dpdk.org/archives/dev/2024-January/284849.html Signed-off-by:

[dpdk-dev] [RFC] ethdev: support Tx queue free descriptor query

2023-12-19 Thread jerinj
From: Jerin Jacob Introduce a new API to retrieve the number of available free descriptors in a Tx queue. Applications can leverage this API in the fast path to inspect the Tx queue occupancy and take appropriate actions based on the available free descriptors. A notable use case could be implem

[dpdk-dev] [PATCH 2/2] devtools: forbid rte symbols in cnxk base driver

2023-10-04 Thread jerinj
From: Jerin Jacob cnxk base code is shared between different driver environments. Forbid the direct usage of rte_ symbols instead use plt_ symbol as alternatives. roc_platform.[ch] files abstract the difference of driver environment, hence skip those files for rules check. Suggested-by: David

[dpdk-dev] [PATCH 1/2] devtools: support skipping forbid rule check

2023-10-04 Thread jerinj
From: Jerin Jacob In some case, a set of files in directory may need to skip forbid rules check. Added an infrastructure to enable the same using SKIP_FILES variable. Signed-off-by: Jerin Jacob --- devtools/check-forbidden-tokens.awk | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-

[dpdk-dev] [PATCH v2 2/2] common/cnxk: fix direct rte symbol usage in REE

2023-10-04 Thread jerinj
From: Jerin Jacob The common code is shared between different driver environments, introduce missing plt_ abstractions of missing rte_ symbols and use plt symbols to avoid changing roc_* files. Fixes: c88d3638c7fc ("common/cnxk: support REE") Cc: sta...@dpdk.org Signed-off-by: Jerin Jacob ---

[dpdk-dev] [PATCH v2 1/2] common/cnxk: fix direct rte symbol usage

2023-10-04 Thread jerinj
From: Jerin Jacob The common code is shared between different driver environments, introduce missing plt_ abstractions of missing rte_ symbols and use plt symbols to avoid changing roc_* files. Fixes: 3d4e27fd7ff0 ("use abstracted bit count functions") Fixes: a7ba40b2b1bf ("drivers: convert to i

[dpdk-dev] [PATCH] common/cnxk: fix direct rte symbol usage

2023-10-03 Thread jerinj
From: Jerin Jacob The common code is shared between different driver environments, introduce missing plt_ abstractions of missing rte_ symbols and use plt symbols to avoid changing roc_* files. Also update the thread name for outbound soft expiry thread in a7ba40b2b1bf7. Fixes: 3d4e27fd7ff0 ("u

[dpdk-dev] [PATCH v2] doc: define qualification criteria for external library

2023-09-27 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a techboard meeting minutes [1] and past learnings from mailing list discussion. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html Signed-off-by: Jerin Jacob --- v2: - Added "Meson build integration" and "

[dpdk-dev] [PATCH] doc: define qualification criteria for external library

2023-09-27 Thread jerinj
From: Jerin Jacob Define qualification criteria for external library based on a Techboard meeting minutes [1]. [1] http://mails.dpdk.org/archives/dev/2019-June/135847.html Signed-off-by: Jerin Jacob --- doc/guides/contributing/index.rst | 1 + doc/guides/contributing/library_dep

[dpdk-dev] [PATCH] maintainers: update tree for marvell drivers

2023-08-14 Thread jerinj
From: Jerin Jacob Marvell's cnxk dmadev driver, cn9k regexdev driver, cnxk mldev driver, cnxk bphy rawdev driver and cnxk gpio rawdev driver are merging through main tree now. Offering to help by merging it through next-net-mrvl tree to save cycles for main tree maintainers. Signed-off-by: Jerin

[dpdk-dev] [PATCH v1] doc: add inbuilt graph nodes data flow

2023-06-23 Thread jerinj
From: Jerin Jacob Added diagram to depict the data flow between inbuilt graph nodes. In order to avoid graphviz package dependency to DPDK documentation, manual step added to create a svg file from the dot file. The details for the same is documented in graph_inbuilt_node_flow.svg as a comment.

[dpdk-dev] [PATCH v1] doc: fix ip6 node API doxygen generation

2023-06-20 Thread jerinj
From: Jerin Jacob Add ip6 node public API to doxygen list. Fixes: 20365d793e45 ("node: add IPv6 lookup node") Cc: Sunil Kumar Kori Cc: Amit Prakash Shukla Cc: Nithin Dabilpuram Signed-off-by: Jerin Jacob --- doc/api/doxy-api-index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH v2] drivers/cnxk: improve the build time for non arm64 build

2023-06-12 Thread jerinj
From: Jerin Jacob Specialized fast path routines are not applicable to non arm64 build, removing those function contained files to improve the build time on non arm64 build. Signed-off-by: Jerin Jacob Acked-by: Nithin Dabilpuram --- v2: - Just resending to go through CI again. drivers/event/

[dpdk-dev] [PATCH v3] doc: remove warning with doxygen 1.9.7

2023-06-02 Thread jerinj
From: Jerin Jacob Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option changed to TIMESTAMP [2]. Fixed the following warning[1] by removing TIMESTAMP options all together as all new versions(since 1.8.9) of doxygen this option is disabled by default. Another option was considered to h

[dpdk-dev] [PATCH v1] doc: remove warning with doxygen 1.9.7

2023-06-02 Thread jerinj
From: Jerin Jacob Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option changed to TIMESTAMP [2]. Fixed the following warning[1] by providing the correct configuration option based on doxygen version. [1] Warning: Tag 'HTML_TIMESTAMP' at line 115 of file 'doc/api/doxy-api.conf' has be

[dpdk-dev] [PATCH v1] doc: remove warning with doxygen 1.9.7

2023-05-31 Thread jerinj
From: Jerin Jacob Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option changed to TIMESTAMP [2]. Fixed the following warning[1] by providing the correct configuration option based on doxygen version. [1] Warning: Tag 'HTML_TIMESTAMP' at line 115 of file 'doc/api/doxy-api.conf' has be

[dpdk-dev] [PATCH v1] drivers/cnxk: improve the build time for non arm64 build

2023-05-29 Thread jerinj
From: Jerin Jacob Specialized fast path routines are not applicable to non arm64 build, removing those function contained files to improve the build time on non arm64 build. Signed-off-by: Jerin Jacob --- drivers/event/cnxk/cn10k_eventdev.c | 5 + drivers/event/cnxk/cn9k_eventdev.c | 4

[dpdk-dev] [PATCH v1] doc: process for new library approval in principle

2023-05-18 Thread jerinj
From: Jerin Jacob Based on techboard meeting[1] action item, defining the process for a new library approval in principle. [1] https://mails.dpdk.org/archives/dev/2023-January/260035.html Signed-off-by: Jerin Jacob --- RFC..v1: - Fix the review comments by Konstantin, Keven, Thomas at http://p

[dpdk-dev] [PATCH v2] examples/ntb: fix build issue with GCC 13

2023-05-04 Thread jerinj
From: Jerin Jacob Fix the following build issue by not allowing nb_ids to be zero. nb_ids can be zero based on rte_rawdev_xstats_get() API documentation but it is not valid for the case when second argument is NULL. examples/ntb/ntb_fwd.c: In function 'ntb_stats_display': examples/ntb/ntb_fwd.c:

[dpdk-dev] [PATCH v1] examples/ntb: fix build issue with GCC 13

2023-05-02 Thread jerinj
From: Jerin Jacob Fix the following build issue by not allowing nb_ids to be zero. nb_ids can be zero based on rte_rawdev_xstats_get() API documentation but it is not valid for the case when second argument is NULL. examples/ntb/ntb_fwd.c: In function 'ntb_stats_display': examples/ntb/ntb_fwd.c:

[dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC 13

2023-05-02 Thread jerinj
From: Jerin Jacob Fix the following build issue by initializing req to NULL for the local variable. In function 'thread_msg_handle', inlined from 'thread_main' at ../examples/ip_pipeline/thread.c:3130:6: ../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used uninitialized [-Wmaybe-u

[dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC 13

2023-05-02 Thread jerinj
From: Jerin Jacob Fix the following build issue by initializing req to NULL for the local variable. In function 'thread_msg_handle', inlined from 'thread_main' at ../examples/ip_pipeline/thread.c:3130:6: ../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used uninitialized [-Wmaybe-u

[dpdk-dev] [PATCH v1] examples/ntb: fix build issue with GCC 13

2023-05-02 Thread jerinj
From: Jerin Jacob Fix the following build issue by not allowing nb_ids to be zero. nb_ids can be zero based on rte_rawdev_xstats_get() API documentation but it is not valid for the case when second argument is NULL. examples/ntb/ntb_fwd.c: In function 'ntb_stats_display': examples/ntb/ntb_fwd.c:

[PATCH] net/hns3: fix build warning

2023-04-03 Thread jerinj
From: Jerin Jacob aarch64 gcc 12.2.0 build complain with below warning[1]. Move the new_link initialization upwards to fix the warning. Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o drivers/net/hns3/hns3_ethdev.c: In function ‘hns3_dev_link_update’: drivers/net/hns3

[dpdk-dev] [PATCH] doc: deprecation notice to remove net/bnx2x driver

2023-03-17 Thread jerinj
From: Jerin Jacob Starting from DPDK 23.07, the Marvell QLogic bnx2x driver will be removed. This decision has been made to alleviate the burden of maintaining a discontinued product. Signed-off-by: Jerin Jacob --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+)

[dpdk-dev] [PATCH] doc: deprecation notice to remove LiquidIO ethdev driver

2023-03-08 Thread jerinj
From: Jerin Jacob The LiquidIO product line(drivers/net/liquidio) has been substituted with CN9K/CN10K OCTEON product line smart NICs located in drivers/net/octeon_ep/. DPDK v20.08 has categorized the LiquidIO driver as UNMAINTAINED because of the absence of updates in the driver. Due to the abov

[dpdk-web] [RFC PATCH] process: new library approval in principle

2023-02-13 Thread jerinj
From: Jerin Jacob Based on TB meeting[1] action item, defining the process for new library approval in principle. [1] https://mails.dpdk.org/archives/dev/2023-January/260035.html Signed-off-by: Jerin Jacob --- content/process/_index.md | 33 + 1 file changed, 3

[dpdk-dev] [PATCH v3 12/12] mldev: support to get debug info and test device

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions for ML device debug APIs. The APIs are used to dump ML device debug information and to run selftest. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 39 ++ lib/mldev/rt

[dpdk-dev] [PATCH v3 11/12] mldev: support to retrieve error information

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to get error information for an ML op. This information can include both drive specific error message and error code. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 31 +++ li

[dpdk-dev] [PATCH v3 10/12] mldev: support device extended statistics

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to handle device extended stats. xstats supported are driver specific and can include stats specific to ML device or ML model and I/O. Added prototypes for functions to be called by the device drivers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: J

[dpdk-dev] [PATCH v3 09/12] mldev: support device statistics

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to get and reset device stats. Device stats include number of requests enqueued, dequeued and errors. Added function prototypes to used by driver implementations. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v3 08/12] mldev: support inference enqueue and dequeue

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added implementations of fast-path functions to enqueue and dequeue ML requests from an ML device queue-pair. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 75 ++ lib/mldev/rte_mldev

[dpdk-dev] [PATCH v3 07/12] mldev: support ML op pool and ops

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added library functions to create and free ML op pool. Create function allocates new ML op pool and initializes ML ops to their defaults. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 69

[dpdk-dev] [PATCH v3 06/12] mldev: support input and output data handling

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added library functions to handle model input and output data. The APIs can be used to get the size of I/O buffers, quantize input data and dequantize output data. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 94

[dpdk-dev] [PATCH v3 05/12] mldev: support handling ML models

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added RTE functions to handle ML models. These APIs can load, unload, start, and stop an ML model. Additional APIs to update model parameters and get model information are added. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v3 04/12] mldev: support ML device queue-pair setup

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added APIs to create a queue-pair attached to ML device. Queue pairs are created with a user specified ID. Added function prototypes to be used by ML drivers for queue pair create and destroy. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mlde

[dpdk-dev] [PATCH v3 03/12] mldev: support ML device handling functions

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added ML device handling APIs. These APIs are used to get device information, configure, start, stop and close ML devices. Added function prototypes to PMD layer which are used by the ML driver implementations in the poll mode driver. Signed-off-by: Srikanth Yalavarthi

[dpdk-dev] [PATCH v3 02/12] mldev: support PMD functions for ML device

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added PMD functions to handle ML devices. The rte_mldev_pmd.* files are for drivers only and should be private to DPDK, and are not installed for application use. Added implementation for rte_ml_dev_init. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob -

[dpdk-dev] [PATCH v3 01/12] mldev: introduce machine learning device library

2023-02-07 Thread jerinj
From: Jerin Jacob Add mldev API specification to standardize and use the machine learning device and inference operations in vendor neutral way. Following operations are abstracted through APIs - ML device capability probe - ML device configuration - ML device queue pair configuration - ML devi

[dpdk-dev] [PATCH v3 00/12] mldev: introduce machine learning device library

2023-02-07 Thread jerinj
From: Jerin Jacob Machine learning inference library == Definition of machine learning inference Inference in machine learning is the process of making an output prediction based on new input data using a pre-trained machin

[dpdk-dev] [PATCH v2 11/12] mldev: support to retrieve error information

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added functions to get error information for an ML op. This information can include both drive specific error message and error code. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 31 +++ li

[dpdk-dev] [PATCH v2 12/12] mldev: support to get debug info and test device

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added functions for ML device debug APIs. The APIs are used to dump ML device debug information and to run selftest. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 39 ++ lib/mldev/rt

[dpdk-dev] [PATCH v2 10/12] mldev: support device extended statistics

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added functions to handle device extended stats. xstats supported are driver specific and can include stats specific to ML device or ML model and I/O. Added prototypes for functions to be called by the device drivers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: J

[dpdk-dev] [PATCH v2 09/12] mldev: support device statistics

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added functions to get and reset device stats. Device stats include number of requests enqueued, dequeued and errors. Added function prototypes to used by driver implementations. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v2 08/12] mldev: support inference enqueue and dequeue

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added implementations of fast-path functions to enqueue and dequeue ML requests from an ML device queue-pair. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 76 ++ lib/mldev/rte_mldev

[dpdk-dev] [PATCH v2 07/12] mldev: support ML op pool and ops

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added library functions to create and free ML op pool. Create function allocates new ML op pool and initializes ML ops to their defaults. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 69

[dpdk-dev] [PATCH v2 06/12] mldev: support input and output data handling

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added library functions to handle model input and output data. The APIs can be used to get the size of I/O buffers, quantize input data and dequantize output data. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 94

[dpdk-dev] [PATCH v2 05/12] mldev: support handling ML models

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added RTE functions to handle ML models. These APIs can load, unload, start, and stop an ML model. Additional APIs to update model parameters and get model information are added. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v2 04/12] mldev: support ML device queue-pair setup

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added APIs to create a queue-pair attached to ML device. Queue pairs are created with a user specified ID. Added function prototypes to be used by ML drivers for queue pair create and destroy. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mlde

[dpdk-dev] [PATCH v2 03/12] mldev: support ML device handling functions

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added ML device handling APIs. These APIs are used to get device information, configure, start, stop and close ML devices. Added function prototypes to PMD layer which are used by the ML driver implementations in the poll mode driver. Signed-off-by: Srikanth Yalavarthi

[dpdk-dev] [PATCH v2 02/12] mldev: support PMD functions for ML device

2023-02-06 Thread jerinj
From: Srikanth Yalavarthi Added PMD functions to handle ML devices. The rte_mldev_pmd.* files are for drivers only and should be private to DPDK, and are not installed for application use. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/meson.build | 9 +++

[dpdk-dev] [PATCH v2 01/12] mldev: introduce machine learning device library

2023-02-06 Thread jerinj
From: Jerin Jacob Add mldev API specification to standardize and use the machine learning device and inference operations in vendor neutral way. Following operations are abstracted through APIs - ML device capability probe - ML device configuration - ML device queue pair configuration - ML devi

[dpdk-dev] [PATCH v2 00/12] mldev: introduce machine learning device library

2023-02-06 Thread jerinj
From: Jerin Jacob Machine learning inference library == Definition of machine learning inference Inference in machine learning is the process of making an output prediction based on new input data using a pre-trained machin

[dpdk-dev] [PATCH v1 12/12] mldev: support to get debug info and test device

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added library functions for ML device debug APIs. The APIs are used to dump ML device debug information and to run selftest. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 39 ++ lib/

[dpdk-dev] [PATCH v1 11/12] mldev: support to retrieve error information

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added functions to get error information for an ML op. This information can include both drive specific error message and error code. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 31 +++ li

[dpdk-dev] [PATCH v1 10/12] mldev: support device extended statistics

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added functions to handle device extended stats. xstats supported are driver specific and can include stats specific to ML device or ML model and I/O. Added prototypes for functions to be called by the device drivers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: J

[dpdk-dev] [PATCH v1 09/12] mldev: support device statistics

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added functions to get and reset device stats. Device stats include number of requests enqueued, dequeued and errors. Added function prototypes to used by driver implementations. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v1 08/12] mldev: support inference enqueue and dequeue

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added implementations of fast-path functions to enqueue and dequeue ML requests from an ML device queue-pair. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 76 ++ lib/mldev/rte_mldev

[dpdk-dev] [PATCH v1 07/12] mldev: support op pool and its operations

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added RTE library functions to create and free ML op pool. Create function allocates new ML op pool and initializes ML ops to their defaults. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 69

[dpdk-dev] [PATCH v1 05/12] mldev: support handling ML models

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added RTE functions to handle ML models. These APIs can load, unload, start, and stop an ML model. Additional APIs to update model parameters and get model information are added. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v1 06/12] mldev: support input and output data handling

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added RTE library functions to handle model input and output data. The APIs can be used to get the size of I/O buffers, quantize input data and dequantize output data. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 94

[dpdk-dev] [PATCH v1 04/12] mldev: support device queue-pair setup

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added APIs to create a queue-pair attached to ML device. Queue pairs are created with a user specified ID. Added function prototypes to be used by ML drivers for queue pair create and destroy. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mlde

[dpdk-dev] [PATCH v1 01/12] mldev: introduce machine learning device library

2022-11-14 Thread jerinj
From: Jerin Jacob Add mldev API specification to standardize and use the machine learning device and inference operations in vendor neutral way. Following operations are abstracted through APIs - ML device capability probe - ML device configuration - ML device queue pair configuration - ML devi

[dpdk-dev] [PATCH v1 03/12] mldev: support device handling functions

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added device handling APIs. These APIs are used to get device information, configure, start, stop and close ML devices. Added function prototypes to PMD layer which are used by the ML driver implementations in the poll mode driver. Signed-off-by: Srikanth Yalavarthi Si

[dpdk-dev] [PATCH v1 02/12] mldev: add PMD functions for ML device

2022-11-14 Thread jerinj
From: Srikanth Yalavarthi Added PMD functions to handle ML devices. The rte_mldev_pmd.* files are for drivers only and should be private to DPDK, and are not installed for application use. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/meson.build | 9 +++

[dpdk-dev] [PATCH v1 00/12] mldev: introduce machine learning device library

2022-11-14 Thread jerinj
From: Jerin Jacob Machine learning inference library == Definition of machine learning inference Inference in machine learning is the process of making an output prediction based on new input data using a pre-trained machin

[dpdk-dev] [PATCH] lib: fix doxygen syntax issues

2022-11-09 Thread jerinj
From: Jerin Jacob Fix following syntax error reported by doxygen 1.9.5 version. lib/eal/include/rte_uuid.h:89: error: RTE_UUID_STRLEN has @param documentation sections but no arguments (warning treated as error, aborting now) lib/power/rte_power.h:169: error: rte_power_freq_up has @param docume

[dpdk-dev] [RFC PATCH 1/1] mldev: introduce machine learning device library

2022-08-03 Thread jerinj
From: Jerin Jacob Add mldev API specification to standardize and use the machine learning device and inference operations in vendor neutral way. Following operations are abstracted through APIs - ML device capability probe - ML device configuration - ML device queue pair configuration - ML devi

[dpdk-dev] [RFC PATCH 0/1] mldev: introduce machine learning device library

2022-08-03 Thread jerinj
From: Jerin Jacob Machine learning inference library == Definition of machine learning inference Inference in machine learning is the process of making an output prediction based on new input data using a pre-trained machin

[dpdk-dev] [PATCH v1] ethdev: support congestion management

2022-07-13 Thread jerinj
From: Jerin Jacob NIC HW controllers often come with congestion management support on various HW objects such as Rx queue depth or mempool queue depth. Also, it can support various modes of operation such as RED (Random early discard), WRED etc on those HW objects. This patch adds a framework t

[dpdk-dev] [PATCH v2] build: ccache support for cross build

2022-06-08 Thread jerinj
From: Jerin Jacob By default, ccache is not used for cross build[1]. Update all cross files to use ccache if it is available in build machine. Also, updated devtools/test-meson-builds.sh script to find the correct DPDK_TARGET due to change in cross file syntax. [1] https://mesonbuild.com/Machin

[dpdk-dev] [PATCH v1] build: ccache support for cross build

2022-06-02 Thread jerinj
From: Jerin Jacob By default, ccache is not used for cross build[1]. Update all cross files to use ccache if it is available in build machine. [1] https://mesonbuild.com/Machine-files.html Signed-off-by: Jerin Jacob --- config/arm/arm32_armv8_linux_gcc | 4 ++-- config/arm/arm64_arm

[dpdk-dev] [RFC PATCH] ethdev: support congestion management

2022-05-30 Thread jerinj
From: Jerin Jacob NIC HW controllers often come with congestion management support on various HW objects such as Rx queue depth or mempool queue depth. Also, it can support various modes of operation such as RED (Random early discard), WRED etc on those HW objects. This patch adds a framework t

[dpdk-dev] [PATCH] doc: update cnxk native compilation steps

2022-05-18 Thread jerinj
From: Jerin Jacob Update cnxk platform documentation to use -Dplatform meson option for native builds. Signed-off-by: Jerin Jacob --- doc/guides/platform/cnxk.rst | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/guides/platform/cnxk.rst b/doc/guides/platfor

[dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0

2022-05-01 Thread jerinj
From: Jerin Jacob Latest sphinx checks c language syntax more aggressively. Fix the following warning by correcting c language syntax. doc/guides/prog_guide/event_ethernet_rx_adapter.rst:243: WARNING: Could not lex literal_block as "c". Highlighting skipped. Fixes: 3c838062b91f ("eventdev: intr

[dpdk-dev] [PATCH v5] ethdev: mtr: support protocol based input color selection

2022-05-01 Thread jerinj
From: Jerin Jacob Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field. All of

[dpdk-dev] [PATCH v4] ethdev: mtr: support protocol based input color selection

2022-04-21 Thread jerinj
From: Jerin Jacob Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field. All of

[dpdk-dev] [PATCH v3 2/2] net/cnxk: align perfetchs to CN10K cache model

2022-02-24 Thread jerinj
From: Pavan Nikhilesh Align perfetchs for CN10K cache model for vWQE in Rx and Tx. Move mbuf->next NULL assignment to Tx path and enabled it only when multi segments offload is enabled to reduce L1 pressure. Add macros to detect corrupted mbuf->next values when MEMPOOL_DEBUG is set. Signed-off-b

[dpdk-dev] [PATCH v3 1/2] net/cnxk: optimize Rx packet size extraction

2022-02-24 Thread jerinj
From: Pavan Nikhilesh In vWQE mode, the mbuf address is calculated without using the iova list. Packet length can also be calculated by using NIX_PARSE_S by which we can completely eliminate reading 2nd cache line depending on the offloads enabled. Signed-off-by: Pavan Nikhilesh Acked-by: Jeri

[dpdk-dev] [PATCH v2] net/cnxk: unify file names

2022-02-22 Thread jerinj
From: Jerin Jacob Except for the cn*_rte_flow* files, none of the other file has rte in the file name, remove the rte to unify the file name across the directory. Signed-off-by: Jerin Jacob Acked-by: Kiran Kumar K --- v2..v1: -Missed renaming cn10k_rte* and cn9k_rte* and fixed it drivers/

[dpdk-dev] [v22.07] [PATCH v2] ethdev: mtr: support input color selection

2022-02-14 Thread jerinj
From: Jerin Jacob Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field. All of

[dpdk-dev] [v22.07] [PATCH] ethdev: mtr: support input color selection

2022-02-14 Thread jerinj
From: Jerin Jacob Currently, meter object supports only DSCP based on input color table, The patch enhance that to support VLAN based input color table, color table based on inner field for the tunnel use case, and support for fallback color per meter if packet based on a different field. All of

[dpdk-dev] [PATCH] net/cnxk: unify the file name

2022-02-09 Thread jerinj
From: Jerin Jacob expect cn*_rte_flow* files, none of the other file has rte in the file name, remove the rte to unify the file name across the directory. Signed-off-by: Jerin Jacob --- drivers/net/cnxk/cn10k_rte_flow.c | 2 +- drivers/net/cnxk/cn9k_rte_flow.c

[dpdk-dev] [PATCH v5 2/2] app/testpmd: add queue based pfc CLI options

2022-02-08 Thread jerinj
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[dpdk-dev] [PATCH v5 1/2] ethdev: support queue-based priority flow control

2022-02-08 Thread jerinj
From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based on V

[dpdk-dev] [PATCH v4 2/2] app/testpmd: add queue based pfc CLI options

2022-02-07 Thread jerinj
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[dpdk-dev] [PATCH v4 1/2] ethdev: support queue-based priority flow control

2022-02-07 Thread jerinj
From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based on V

[dpdk-dev] [PATCH v3 2/2] app/testpmd: add queue based pfc CLI options

2022-01-31 Thread jerinj
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[dpdk-dev] [PATCH v3 1/2] ethdev: support queue-based priority flow control

2022-01-31 Thread jerinj
From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based on V

[dpdk-dev] [PATCH v2 2/2] app/testpmd: add queue based pfc CLI options

2022-01-13 Thread jerinj
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[dpdk-dev] [PATCH v2 1/2] ethdev: support queue-based priority flow control

2022-01-13 Thread jerinj
From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based on V

[dpdk-dev] [PATCH v5 4/5] regex/cn9k: use cnxk infrastructure

2021-12-11 Thread jerinj
From: Liron Himi update driver to use the REE cnxk code replace octeontx2/otx2 with cn9k Signed-off-by: Liron Himi Acked-by: Jerin Jacob --- MAINTAINERS | 8 +- devtools/check-abi.sh | 4 + doc/guides/platform/cnxk.rst

[dpdk-dev] [PATCH v5 3/5] common/cnxk: add REE support

2021-12-11 Thread jerinj
From: Liron Himi extend cnxk infrastructure to support REE Signed-off-by: Liron Himi Acked-by: Jerin Jacob --- drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_api.h | 4 + drivers/common/cnxk/roc_constants.h | 2 + drivers/common/cnxk/roc_platform.c | 1 + dr

  1   2   3   4   5   6   7   8   9   10   >