[RFC] doc/linux_gsg: add amd configuration section

2023-10-10 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new setcion of linux getting started guide. Signed-off-by: Vipin Varghese --- doc/guides/linux_gsg/amd_platform.rst | 63 +++ doc/guides/linux_gsg/index.rst| 1 + 2 files changed, 64 insertions(+) create mode 100644 doc/guides

[RFC] doc/linux_gsg: add amd configuration section

2023-10-10 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new setcion of linux getting started guide. Signed-off-by: Vipin Varghese --- doc/guides/linux_gsg/amd_platform.rst | 63 +++ doc/guides/linux_gsg/index.rst| 1 + 2 files changed, 64 insertions(+) create mode 100644 doc/guides

[PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-18 Thread Vipin Varghese
. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese Suggested-by: Anoob Joseph Suggested-by: Jerin Jacob --- v2: - suggest use of pktmbuf_mtod for both va and pa by Anoob.

[PATCH v3] app/dma-perf: fix physical address seg-fault

2023-10-18 Thread Vipin Varghese
. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese Suggested-by: Anoob Joseph Suggested-by: Jerin Jacob --- v2: - suggest use of pktmbuf_mtod for both va and pa by Anoob.

[PATCH] doc: update AMD Linux guide for power

2024-07-12 Thread Vipin Varghese
Introduce sections into AMD Linux getting start guide for 1. MAX LCORE 2. CPU power Signed-off-by: Vipin Varghese --- --- doc/guides/linux_gsg/amd_platform.rst | 21 + 1 file changed, 21 insertions(+) diff --git a/doc/guides/linux_gsg/amd_platform.rst b/doc/guides

[PATCH] doc: update AMD Linux guide

2024-07-13 Thread Vipin Varghese
Introduce sections into AMD Linux getting start guide for 1. MAX LCORE 2. CPU power Signed-off-by: Vipin Varghese --- --- doc/guides/linux_gsg/amd_platform.rst | 21 + 1 file changed, 21 insertions(+) diff --git a/doc/guides/linux_gsg/amd_platform.rst b/doc/guides

[PATCH] app/testpmd: improve sse based macswap

2024-07-13 Thread Vipin Varghese
TEST MACSWAP 256B: - mellanox CX-7 2*200Gbps: 32.480 : 33.150 - intel E810 1 * 100Gbps: 45.29 : 44.571 - intel E810 2 * 200Gbps (2CQ-DA2): 45.033 : 45.117 using multiple queues and lcore there is linear increase in MPPs. Signed-off-by: Vipin Varg

[PATCH] app/testpmd: improve sse based macswap

2024-07-15 Thread Vipin Varghese
1C1T 64B: : 45.0 : 45.54 128B: : 44.48 : 44.43 256B: : 42.0 : 41.99 + TEST MACSWAP: 2Q 2C2T 64B: : 59.5 : 60.55 128B: : 56.78 : 58.1 256B: : 41.85 : 41.99 Signed-off-by: Vipin Varghese --- app/test-pmd/macswap_sse.h

[PATCH v2 0/3] app/testpmd: improve sse based macswap

2024-08-21 Thread Vipin Varghese
+++ TEST MACSWAP: 2Q 2C2T 64B: : 59.5 : 60.55 128B: : 56.78 : 58.1 256B: : 41.85 : 41.99 Signed-off-by: Vipin Varghese Vipin Varghese (3): app/testpmd: add register keyword app/testpmd: move offload update app/testpmd: interleave SSE SIMD app/

[PATCH v2 1/3] app/testpmd: add register keyword

2024-08-21 Thread Vipin Varghese
* NIC: broadcom P2100: loopback 2*100Gbps - IO: 47.23 : 46.0 - MAC-SWAP original: 45.75 : 43.8 - MAC-SWAP register mod 45.73 : 44.83 Signed-off-by: Vipin Varghese --- app/test-pmd/macswap_sse.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 3/3] app/testpmd: interleave SSE SIMD

2024-08-21 Thread Vipin Varghese
- MAC-SWAP original: 45.75 : 43.8 - MAC-SWAP register mod: 45.73 : 44.83 - MAC-SWAP register+ofl mod: 46.36 : 44.79 - MAC-SWAP register+ofl+interleave mod: 46.0 : 45.1 Signed-off-by: Vipin Varghese --- app/test-pmd/macswap_sse.h | 12 +++- 1 file changed, 7

[PATCH v2 2/3] app/testpmd: move offload update

2024-08-21 Thread Vipin Varghese
: broadcom P2100: loopback 2*100Gbps - MAC-SWAP original: 45.75 : 43.8 - MAC-SWAP register mod: 45.73 : 44.83 - MAC-SWAP register+ofl modified: 46.36 : 44.79 Signed-off-by: Vipin Varghese --- app/test-pmd/macswap_sse.h | 13 ++--- 1

[RFC 0/2] introduce LLC aware functions

2024-08-27 Thread Vipin Varghese
ough reaming lcores in each LLC. Vipin Varghese (2): eal: add llc aware functions eal/lcore: add llc aware for each macro lib/eal/common/eal_common_lcore.c | 279 -- lib/eal/include/rte_lcore.h | 89 ++ 2 files changed, 356 insertions(+),

[RFC 1/2] eal: add llc aware functions

2024-08-27 Thread Vipin Varghese
: Vipin Varghese --- lib/eal/common/eal_common_lcore.c | 279 -- 1 file changed, 267 insertions(+), 12 deletions(-) diff --git a/lib/eal/common/eal_common_lcore.c b/lib/eal/common/eal_common_lcore.c index 2ff9252c52..4ff8b9e116 100644 --- a/lib/eal/common

[RFC 2/2] eal/lcore: add llc aware for each macro

2024-08-27 Thread Vipin Varghese
- RTE_LCORE_FOREACH_LLC_FIRST_WORKER - RTE_LCORE_FOREACH_LLC_WORKER - RTE_LCORE_FOREACH_LLC_SKIP_FIRST_WORKER - RTE_LCORE_FOREACH_LLC_FIRST_N_WORKER - RTE_LCORE_FOREACH_LLC_SKIP_N_WORKER Signed-off-by: Vipin Varghese --- lib/eal/include/rte_lcore.h | 89 + 1 file changed, 89 insertions

[PATCH] app/dma-perf: replace pktmbuf with mempool objects

2023-12-12 Thread Vipin Varghese
3.32| 3.12 Signed-off-by: Vipin Varghese Tested-by: Thiyagrajan P --- app/test-dma-perf/benchmark.c | 74 +-- 1 file changed, 44 insertions(+), 30 deletions(-) diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-perf/benchmark.c index 9b1f58c78c..dc6f16cc01 10

[PATCH] doc: update size parameter details

2023-12-12 Thread Vipin Varghese
For configuration parameters `mem_size` and `buf_size` are represented as megabytes and bytes respectively in application. Update the documentation to represent the same. Signed-off-by: Vipin Varghese --- doc/guides/tools/dmaperf.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH] app/dma-perf: replace pktmbuf with mempool objects

2023-12-19 Thread Vipin Varghese
put for mempool objects. 4. remove pktmbuf_mtod for dma and cpu memcpy. Signed-off-by: Vipin Varghese --- app/test-dma-perf/benchmark.c | 74 +-- 1 file changed, 44 insertions(+), 30 deletions(-) diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-

[PATCH] app/dma-perf: add average latency per worker

2023-12-19 Thread Vipin Varghese
Modify the user display data with total average latency per worker. Signed-off-by: Vipin Varghese --- app/test-dma-perf/benchmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-perf/benchmark.c index 9b1f58c78c..8b6886af62

[PATCH v2] app/dma-perf: replace pktmbuf with mempool objects

2023-12-20 Thread Vipin Varghese
From: Vipin Varghese Replace pktmbuf pool with mempool, this allows increase in MOPS especially in lower buffer size. Using Mempool, allows to reduce the extra CPU cycles. Changes made are 1. pktmbuf pool create with mempool create. 2. create src & dst pointer array from the appropaite num

[PATCH] doc/linux_gsg: add amd configuration section

2024-01-24 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new setcion of linux getting started guide. Signed-off-by: Vipin Varghese --- MAINTAINERS | 4 ++ doc/guides/linux_gsg/amd_platform.rst | 70 +++ doc/guides/linux_gsg/index.rst| 1 + 3 files changed, 75

[PATCH] doc/linux_gsg: add amd configuration section

2024-01-24 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new section of linux getting started guide. Signed-off-by: Vipin Varghese --- MAINTAINERS | 4 ++ doc/guides/linux_gsg/amd_platform.rst | 70 +++ doc/guides/linux_gsg/index.rst| 1 + 3 files changed, 75

[PATCH] usertools: suggest use of hwloc for new cpu

2023-08-11 Thread Vipin Varghese
Most modern processor now supports numa partitioning using sub NUMA CPU-IO & Last Level Cache within the same socket. As per the discussion in mailing list, suggesting the make use of hw-loc for such scenarios. Signed-off-by: Vipin Varghese --- --- usertools/cpu_layout.py | 10 +

[PATCH] usertools: suggest use of hwloc for new cpu

2023-08-11 Thread Vipin Varghese
Most modern processor now supports numa by partitioning NUMA based on CPU-IO & Last Level Cache within the same socket. As per the discussion in mailing list, suggesting the make use of hw-loc for such scenarios. Signed-off-by: Vipin Varghese --- --- usertools/cpu_layout.py | 10 +

[PATCH] dma/skeleton: fix pthread set affinity

2023-08-11 Thread Vipin Varghese
shim functions") Cc: roret...@linux.microsoft.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese --- --- drivers/dma/skeleton/skeleton_dmadev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/skeleton/skeleton_dmadev.c b/drivers/dma/skeleton/skeleton_dmad

[PATCH] app/dma-perf: fix physical address seg-fault

2023-08-15 Thread Vipin Varghese
ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese --- tested for both va and pa CMD: PA: dpdk-test-dma-perf --iova-mode=pa -- --config test.ini VA: dpdk-test-dma-perf --io

[PATCH] app/dma-perf: fix physical address seg-fault

2023-08-15 Thread Vipin Varghese
arguments. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese --- tested for both va and pa CMD: PA: dpdk-test-dma-perf --iova-mode=pa -- --config test.ini VA: dpdk-tes

[PATCH] app/dma-perf: fix physical address seg-fault

2023-08-16 Thread Vipin Varghese
arguments. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese --- tested for both va and pa CMD: PA: dpdk-test-dma-perf --iova-mode=pa -- --config test.ini VA: dpdk-tes

[PATCH v2] app/dma-perf: fix physical address seg-fault

2023-08-16 Thread Vipin Varghese
. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese Suggested-by: Anoob Joseph --- v2: - suggest use of pktmbuf_mtod for both va and pa. tested for both va and pa CMD: PA: dpd

[PATCH v2] app/dma-perf: fix physical address seg-fault

2023-08-16 Thread Vipin Varghese
. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese Suggested-by: Anoob Joseph --- v2: - suggest use of pktmbuf_mtod for both va and pa. tested for both va and pa CMD: PA: dpd

[PATCH v2] app/dma-perf: fix physical address seg-fault

2023-08-16 Thread Vipin Varghese
. Bugzilla ID: 1269 Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Cc: cheng1.ji...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vipin Varghese Suggested-by: Anoob Joseph --- v2: - suggest use of pktmbuf_mtod for both va and pa. tested for both va and pa CMD: PA: dpd

[PATCH] cfgfile: increase value length

2023-12-06 Thread Vipin Varghese
-dma-perf/ 3. app/test/ 4. examples/qos_sched/ The structure `rte_cfgfile_entry` is not included in DPDK libraries. Modifying from 256 to 2048 allows `app/test-dma-perf/main.c` helps to parse longer string as shared in https://bugs.dpdk.org/show_bug.cgi?id=1333 Signed-off-by: Vipin Varghese

[PATCH] app/dma-perf: calrify incorrect NUMA config

2024-03-06 Thread Vipin Varghese
Current commit decalres either `source or destination numa is greater than acture numa` as cause of error. Rephrase as `Source or Destination` is incorrect numa by checking which is greater than available numa. Signed-off-by: Vipin Varghese --- app/test-dma-perf/benchmark.c | 3 ++- 1 file

[PATCH v2] app/dma-perf: add average latency per worker

2024-03-06 Thread Vipin Varghese
Modify the user display data with total average latency per worker. Signed-off-by: Vipin Varghese V2 Changes: - keep one-digit precision is enough, suggested by Chengwen --- app/test-dma-perf/benchmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-dma-perf

[PATCH v3] app/dma-perf: add average latency per worker

2024-03-08 Thread Vipin Varghese
Modify the user information with total average latency per worker in both CSV and console logs. Signed-off-by: Vipin Varghese V3 Changes: - update CSV_TOTAL_LINE_FMT to change Avg Cycles / op per worker V2 Changes: - keep one-digit precision is enough, suggested by Chengwen --- app/test-dma

[PATCH v2] app/dma-perf: calrify incorrect NUMA config

2024-03-10 Thread Vipin Varghese
In case incorrect NUMA configuration, the current commit shares 1) either `source or destination numa is greater` 2) instead of `actual NUMA` it is `acture NUMA` Current changes helps to rectify the same by using `PRINT_ERR` instead of printf. Signed-off-by: Vipin Varghese Changes: - inform

[PATCH v2] doc: update size parameter details

2024-03-11 Thread Vipin Varghese
For configuration parameters `mem_size` and `buf_size` are represented as megabytes and bytes respectively in application. Update the documentation and to represent the same. V2 Changes: - add mem_size and buf_size in config.ini, suggested by Chengwen. Signed-off-by: Vipin Varghese

[PATCH v3] app/dma-perf: calrify incorrect NUMA config

2024-03-19 Thread Vipin Varghese
) fix wording to incorrect 3) use PRINT_ERR macro Signed-off-by: Vipin Varghese --- V3 changes: - use snake-case instead of camel case for static scope functions. - convert console words to lower case. V2 changes: - inform incorrect numa - fix spelling from acture to actual - use PRINT_ERR

[PATCH] meson: update doc logic for Windows

2022-03-25 Thread Vipin Varghese
DPDK with option enable_docs=true for API or User Guide. This produces error ``` FAILED: doc/api/examples.dox sh -e dpdk/doc/api/generate_examples.sh dpdk/examples doc/api/examples.dox ``` Signed-off-by: Vipin Varghese --- doc/meson.build | 8 1 file changed, 8 insertions(+) diff --git a

[PATCH] usertools: enhance logic to display NUMA

2022-03-26 Thread Vipin Varghese
-NUMA to CPU cores. Signed-off-by: Vipin Varghese --- usertools/cpu_layout.py | 76 + 1 file changed, 47 insertions(+), 29 deletions(-) diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py index 891b9238fa..295f2c0e9b 100755 --- a/usertools

[dpdk-dev] [PATCH v6 1/9] app/procinfo: add usage for new debug

2018-12-02 Thread Vipin Varghese
Update the file with MACRO for stats border, usage text information and string comparision. Signed-off-by: Vipin Varghese --- V6: - add mempool iterate elements option - Vipin Varghese V3: - change the usage details - Vipin Varghese V2: - change word dbg to show - Stephen Hemminger

[dpdk-dev] [PATCH v6 2/9] app/procinfo: add compare for new options

2018-12-02 Thread Vipin Varghese
Add code for new debug options to compare usage strings and set enable flag. Signed-off-by: Vipin Varghese --- V6: - check for iter mempool - Vipin Varghese V3: - variables from debug to show - Vipin Varghese V2: - compare string from dbg to show - Stephen Hemminger --- app/proc-info

[dpdk-dev] [PATCH v6 0/9] app/proc-info: improve debug of proc-info tool

2018-12-02 Thread Vipin Varghese
ge for new functions * 2 : string compare for new functions * 3 : invocation for the new prototypes * 4 : show port * 5 : show tm * 6 : show crypto * 7 : ring element debug * 8 : mempool element debug * 9 : iterate mempoool elements Vipin Varghese (9): app/procinfo: add usage for new debug app/p

[dpdk-dev] [PATCH v6 3/9] app/procinfo: add prototype for debug instances

2018-12-02 Thread Vipin Varghese
Add prototype function calls for the show functions. Signed-off-by: Vipin Varghese --- V6: - add call to iter mempool - Vipin Varghese V3: - update function names from debug to show - Vipin Varghese V2: - removed if else ladder - Vipin Varghese --- app/proc-info/main.c | 50

[dpdk-dev] [PATCH v6 4/9] app/procinfo: add support for show port

2018-12-02 Thread Vipin Varghese
Function show_port is used for displaying the port PMD information under under primary process. The information shows basic, per queue and security. Signed-off-by: Vipin Varghese --- V5: - convert 100 to MAX_STRING_LEN - Reshma Pattan - RSS made for port - Reshma Pattan - update bdr_str to

[dpdk-dev] [PATCH v6 5/9] app/procinfo: add support for show tm

2018-12-02 Thread Vipin Varghese
Function show_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details with stats. Signed-off-by: Vipin Varghese --- V6: - replace or with logical or - Reshma Pathan & Konstantin Ananyev V3: - memset for struct elements - Vipin Varg

[dpdk-dev] [PATCH v6 6/9] app/procinfo: add support for show crypto

2018-12-02 Thread Vipin Varghese
Function show_crypto is used for displaying the crypto PMD under the primary process. Signed-off-by: Vipin Varghese --- v4: - add space to compare - Vipin Varghese V3: - replace MACRO to function - Reshma Pathan & Stephen Hemminger - add memset for struct elements - Reshma Pathan - ch

[dpdk-dev] [PATCH v6 8/9] app/procinfo: add support for show iter mempool

2018-12-02 Thread Vipin Varghese
Function show_mempool is used for displaying valid MEMPOOL. Function iter_mempool is used for iterating mempool elements for a mempool for max of 256 bytes. In case of show_mempool for invalid name, whole list is dump. Signed-off-by: Vipin Varghese --- V6: - split iter mempool - Vipin

[dpdk-dev] [PATCH v6 7/9] app/procinfo: add support for debug ring

2018-12-02 Thread Vipin Varghese
Function show_ring is used for displaying the RING of the primary process. Signed-off-by: Vipin Varghese --- V3: - replace space to tab in printf - Reshma Pathan - change ring display information - Vipin Varghese --- app/proc-info/main.c | 34 +- 1 file

[dpdk-dev] [PATCH v6 9/9] doc/procinfo: add information for debug options

2018-12-02 Thread Vipin Varghese
Document update for debug options and information for PMD instances like port, traffic manager, crypto, mempool and ring instances. Signed-off-by: Vipin Varghese Acked-by: John McNamara --- V6: - add ack for v5 - John Mcnamara - update entry for mempool iter - Vipin Varghese V3: - update

[dpdk-dev] [PATCH v7 0/9] app/proc-info: improve debug of proc-info tool

2018-12-12 Thread Vipin Varghese
ge for new functions * 2 : string compare for new functions * 3 : invocation for the new prototypes * 4 : show port * 5 : show tm * 6 : show crypto * 7 : ring element debug * 8 : mempool element debug * 9 : iterate mempoool elements Vipin Varghese (9): app/procinfo: add usage for new debug app/p

[dpdk-dev] [PATCH v7 2/9] app/procinfo: add compare for new options

2018-12-12 Thread Vipin Varghese
Add code for new debug options to compare usage strings and set enable flag. Signed-off-by: Vipin Varghese --- V6: - check for iter mempool - Vipin Varghese V3: - variables from debug to show - Vipin Varghese V2: - compare string from dbg to show - Stephen Hemminger --- app/proc-info

[dpdk-dev] [PATCH v7 3/9] app/procinfo: add prototype for debug instances

2018-12-12 Thread Vipin Varghese
Add prototype function calls for the show functions. Signed-off-by: Vipin Varghese --- V6: - add call to iter mempool - Vipin Varghese V3: - update function names from debug to show - Vipin Varghese V2: - removed if else ladder - Vipin Varghese --- app/proc-info/main.c | 50

[dpdk-dev] [PATCH v7 1/9] app/procinfo: add usage for new debug

2018-12-12 Thread Vipin Varghese
Update the file with MACRO for stats border, usage text information and string comparision. Signed-off-by: Vipin Varghese --- V7: - update usage text with token ":" - Reshma Pattan - reword usage for 'iter-mempool' - Reshma Pattan V6: - add mempool iterate elements opt

[dpdk-dev] [PATCH v7 5/9] app/procinfo: add support for show tm

2018-12-12 Thread Vipin Varghese
Function show_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details with stats. Signed-off-by: Vipin Varghese --- V6: - replace or with logical or - Reshma Pathan & Konstantin Ananyev V3: - memset for struct elements - Vipin Varg

[dpdk-dev] [PATCH v7 6/9] app/procinfo: add support for show crypto

2018-12-12 Thread Vipin Varghese
Function show_crypto is used for displaying the crypto PMD under the primary process. Signed-off-by: Vipin Varghese --- v4: - add space to compare - Vipin Varghese V3: - replace MACRO to function - Reshma Pathan & Stephen Hemminger - add memset for struct elements - Reshma Pathan - ch

[dpdk-dev] [PATCH v7 4/9] app/procinfo: add support for show port

2018-12-12 Thread Vipin Varghese
Function show_port is used for displaying the port PMD information under under primary process. The information shows basic, per queue and security. Signed-off-by: Vipin Varghese --- V5: - convert 100 to MAX_STRING_LEN - Reshma Pattan - RSS made for port - Reshma Pattan - update bdr_str to

[dpdk-dev] [PATCH v7 8/9] app/procinfo: add support for show iter mempool

2018-12-12 Thread Vipin Varghese
Function show_mempool is used for displaying valid MEMPOOL. Function iter_mempool is used for iterating mempool elements for a mempool for max of 256 bytes. In case of show_mempool for invalid name, whole list is dump. Signed-off-by: Vipin Varghese --- V6: - split iter mempool - Vipin

[dpdk-dev] [PATCH v7 7/9] app/procinfo: add support for debug ring

2018-12-12 Thread Vipin Varghese
Function show_ring is used for displaying the RING of the primary process. Signed-off-by: Vipin Varghese --- V3: - replace space to tab in printf - Reshma Pathan - change ring display information - Vipin Varghese --- app/proc-info/main.c | 34 +- 1 file

[dpdk-dev] [PATCH v7 9/9] doc/procinfo: add information for debug options

2018-12-12 Thread Vipin Varghese
Document update for debug options and information for PMD instances like port, traffic manager, crypto, mempool and ring instances. Signed-off-by: Vipin Varghese Acked-by: John McNamara --- V6: - add ack for v5 - John Mcnamara - update entry for mempool iter - Vipin Varghese V3: - update

[dpdk-dev] [PATCH v8 1/7] app/procinfo: prepare for new debug functions

2019-01-07 Thread Vipin Varghese
Update code base and meson build file to accomadate changes for the new functionality. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan --- app/proc-info/main.c | 13 + app/proc-info/meson.build | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app

[dpdk-dev] [PATCH v8 2/7] app/procinfo: add support for show port

2019-01-07 Thread Vipin Varghese
Function show_port is used for displaying the port PMD information under primary process. The information shows basic, per queue and security. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 106

[dpdk-dev] [PATCH v8 3/7] app/procinfo: add support for show tm

2019-01-07 Thread Vipin Varghese
Function show_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details with statistics. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 290

[dpdk-dev] [PATCH v8 4/7] app/procinfo: add support for show crypto

2019-01-07 Thread Vipin Varghese
Function show_crypto is used for displaying the crypto PMD under primary process. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 94 +- doc/guides/tools/proc_info.rst | 6 ++- 2 files changed

[dpdk-dev] [PATCH v8 0/7] app/proc-info: enhance debug of proc-info tool

2019-01-07 Thread Vipin Varghese
Information = Patch series has 7 patches as shared below: Vipin Varghese (7): app/procinfo: prepare for new debug functions app/procinfo: add support for show port app/procinfo: add support for show tm app/procinfo: add support for show crypto app/procinfo: add support

[dpdk-dev] [PATCH v8 5/7] app/procinfo: add support for debug ring

2019-01-07 Thread Vipin Varghese
Function show_ring is used for displaying information of RING instance of the primary process. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 52 +- doc/guides/tools/proc_info.rst | 8

[dpdk-dev] [PATCH v8 6/7] app/procinfo: add support for show mempool

2019-01-07 Thread Vipin Varghese
Function show_mempool is used for displaying valid MEMPOOL. In case of invalid or no name, whole list is dump. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 65 +- doc/guides/tools

[dpdk-dev] [PATCH v8 7/7] app/procinfo: add support for iter mempool

2019-01-07 Thread Vipin Varghese
Function iter_mempool is used for iterating slected mempool elements and display the contents of elements for a max of 256 bytes. In case of invalid or no name for mempool, no information is displayed. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc

[dpdk-dev] [PATCH v9 0/6] app/proc-info: enhance debug of proc-info tool

2019-01-10 Thread Vipin Varghese
Monjalon - split patch for iter_mempool - Reshma Pattan - add ack for code - Reshma Pattan V7: - update usage text with token ":" - Reshma Pattan - reword usage for 'iter-mempool' - Reshma Pattan V6: - add mempool iterate elements option - Vipin Varghese - check for

[dpdk-dev] [PATCH v9 1/6] app/procinfo: add support for show port

2019-01-10 Thread Vipin Varghese
Function show_port is used for displaying the port PMD information under primary process. The information shows basic, per queue and security. Also helper MACRO 'MAX_STRING_LEN, STATS_BDR_FMT and STATS_BDR_STR' and meson build file is updated for new functionality. Signed-off-by: Vipi

[dpdk-dev] [PATCH v9 2/6] app/procinfo: add support for show tm

2019-01-10 Thread Vipin Varghese
Function show_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details with statistics. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 290

[dpdk-dev] [PATCH v9 3/6] app/procinfo: add support for show crypto

2019-01-10 Thread Vipin Varghese
Function show_crypto is used for displaying the crypto PMD under primary process. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 94 +- doc/guides/tools/proc_info.rst | 6 ++- 2 files changed

[dpdk-dev] [PATCH v9 4/6] app/procinfo: add support for debug ring

2019-01-10 Thread Vipin Varghese
Function show_ring is used for displaying information of RING instance of the primary process. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 52 +- doc/guides/tools/proc_info.rst | 8

[dpdk-dev] [PATCH v9 6/6] app/procinfo: add support for iter mempool

2019-01-10 Thread Vipin Varghese
Function iter_mempool is used for iterating slected mempool elements and display the contents of elements for a max of 256 bytes. In case of invalid or no name for mempool, no information is displayed. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc

[dpdk-dev] [PATCH v9 5/6] app/procinfo: add support for show mempool

2019-01-10 Thread Vipin Varghese
Function show_mempool is used for displaying valid MEMPOOL. In case of invalid or no name, whole list is dump. Signed-off-by: Vipin Varghese Acked-by: Reshma Pattan Acked-by: John McNamara --- app/proc-info/main.c | 65 +- doc/guides/tools

[dpdk-dev] [PATCH] net/ixgbe_ipsec: prevent ic_session leak on failure

2018-10-12 Thread Vipin Varghese
For function ixgbe_crypto_create_session, fetches ic_session from the mempool. But on failure scenarios, the object is not released back to mempool. Using rte_mempool_put the ic_session is put back to mempool. Signed-off-by: Vipin Varghese --- drivers/net/ixgbe/ixgbe_ipsec.c | 4 1 file

[dpdk-dev] [PATCH] doc/proc_info: update support for vdev stats

2018-10-12 Thread Vipin Varghese
With the latest release, support for vdev ethernet devices like pcap, tun and tap are been added. Hence collecting statistics using proc-info is possible now. Signed-off-by: Vipin Varghese --- doc/guides/tools/proc_info.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc

[dpdk-dev] [PATCH] examples/service_cores: check lcores before test run

2018-10-12 Thread Vipin Varghese
. Signed-off-by: Vipin Varghese --- examples/service_cores/main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/examples/service_cores/main.c b/examples/service_cores/main.c index 2cd572904..c7c792810 100644 --- a/examples/service_cores/main.c +++ b/examples/service_cores/main.c @@ -118,6

[dpdk-dev] [PATCH] doc/qos_meter: update application information

2018-10-12 Thread Vipin Varghese
THe change adds special note for colour blind and porfile_table actions. In colour blind mode, the previous colour value is always 0. For DROP action, one needs to edit the profile_table entries apporpiately. Signed-off-by: Vipin Varghese --- doc/guides/sample_app_ug/qos_metering.rst | 5

[dpdk-dev] [PATCH] doc/tm: update support for pf only

2018-10-15 Thread Vipin Varghese
Documentation is updated to highlight the support for DPDK ethernet interface for Traffic Manager is currently limited to PF only. Signed-off-by: Vipin Varghese --- doc/guides/prog_guide/traffic_management.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] [PATCH] doc/tm: update support for pf only

2018-10-15 Thread Vipin Varghese
Documentation is updated to highlight the support for DPDK ethernet interface for Traffic Manager is currently limited to PF only. Signed-off-by: Vipin Varghese --- doc/guides/prog_guide/traffic_management.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] [PATCH] doc/testpmd: update need for pf in tm

2018-10-15 Thread Vipin Varghese
TM test under testpmd is only supported for PF driver for ethernet NIC in dpdk. Signed-off-by: Vipin Varghese --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides

[dpdk-dev] [PATCH v1 1/9] app/procinfo: add usage for new debug

2018-10-23 Thread Vipin Varghese
Update the file with MACRO for stats border, usage text information and string comparision. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index c20effa4f

[dpdk-dev] [PATCH v1 2/9] app/procinfo: add compare for new options

2018-10-23 Thread Vipin Varghese
Add code for new debug options to compare usage strings and set enable flag. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 92854f5ba..5505d3fe3 100644

[dpdk-dev] [PATCH v1 3/9] app/procinfo: add prototype for debug instances

2018-10-23 Thread Vipin Varghese
Add prototype and function calls for the debug functions. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 41 + 1 file changed, 41 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 5505d3fe3..5511fcb71 100644 --- a/app

[dpdk-dev] [PATCH v1 6/9] app/procinfo: add code for debug crypto

2018-10-23 Thread Vipin Varghese
Function debug_crypto is used for displaying the crypto PMD under the primary process. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 70 +++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info

[dpdk-dev] [PATCH v1 4/9] app/procinfo: add code for debug port

2018-10-23 Thread Vipin Varghese
Function debug_port is used for displaying the port PMD under the primary process. This covers basic and per queue configuration. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 113 ++- 1 file changed, 112 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v1 5/9] app/procinfo: add code for debug tm

2018-10-23 Thread Vipin Varghese
Function debug_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 247 ++- 1 file changed, 246 insertions(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH v1 7/9] app/procinfo: add code for debug ring

2018-10-23 Thread Vipin Varghese
Function debug_ring is used for displaying the RING of the primary process. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 0f2045858

[dpdk-dev] [PATCH v1 8/9] app/procinfo: add code for debug mempool

2018-10-23 Thread Vipin Varghese
Function debug_mempool is used for displaying the MEMPOOL of the primary process. For valid mempool name elements are iterated for max of 256 bytes. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 47 +++- 1 file changed, 46 insertions(+), 1

[dpdk-dev] [PATCH v1 9/9] doc/proc_info: add information for debug options

2018-10-23 Thread Vipin Varghese
Document update for debug options and inforamtion for PMD instances port, traffic manager, crypto, mempool and ring isntances. Signed-off-by: Vipin Varghese --- doc/guides/tools/proc_info.rst | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 2/9] app/procinfo: add compare for new options

2018-10-23 Thread Vipin Varghese
Add code for new debug options to compare usage strings and set enable flag. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index b62b314b2..0da148c8c 100644

[dpdk-dev] [PATCH v2 3/9] app/procinfo: add prototype for debug instances

2018-10-23 Thread Vipin Varghese
Add prototype and function calls for the debug functions. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 41 + 1 file changed, 41 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 0da148c8c..e2791aaab 100644 --- a/app

[dpdk-dev] [PATCH v2 1/9] app/procinfo: add usage for new debug

2018-10-23 Thread Vipin Varghese
Update the file with MACRO for stats border, usage text information and string comparision. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index c20effa4f

[dpdk-dev] [PATCH v2 6/9] app/procinfo: add code for debug crypto

2018-10-23 Thread Vipin Varghese
Function debug_crypto is used for displaying the crypto PMD under the primary process. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 70 +++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info

[dpdk-dev] [PATCH v2 5/9] app/procinfo: add code for debug tm

2018-10-23 Thread Vipin Varghese
Function debug_tm is used for displaying the tm PMD under the primary process. This covers basic and per node|level details. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 247 ++- 1 file changed, 246 insertions(+), 1 deletion(-) diff --git a

[dpdk-dev] [PATCH v2 4/9] app/procinfo: add code for debug port

2018-10-23 Thread Vipin Varghese
Function debug_port is used for displaying the port PMD under the primary process. This covers basic and per queue configuration. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 113 ++- 1 file changed, 112 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH v2 7/9] app/procinfo: add code for debug ring

2018-10-23 Thread Vipin Varghese
Function debug_ring is used for displaying the RING of the primary process. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index d48334bd0

[dpdk-dev] [PATCH v2 8/9] app/procinfo: add code for debug mempool

2018-10-23 Thread Vipin Varghese
Function debug_mempool is used for displaying the MEMPOOL of the primary process. For valid mempool name elements are iterated for max of 256 bytes. Signed-off-by: Vipin Varghese --- app/proc-info/main.c | 47 +++- 1 file changed, 46 insertions(+), 1

[dpdk-dev] [PATCH v2 9/9] doc/procinfo: add information for debug options

2018-10-23 Thread Vipin Varghese
Document update for debug options and inforamtion for PMD instances port, traffic manager, crypto, mempool and ring instances. Signed-off-by: Vipin Varghese --- doc/guides/tools/proc_info.rst | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a

  1   2   3   >