[PATCH v2] net/mlx5: fix out of order completions in ordinary Rx burst

2025-07-08 Thread Viacheslav Ovsiienko
ned-off-by: Viacheslav Ovsiienko --- v2: added Cc: stable --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +- drivers/net/mlx5/mlx5_devx.c| 7 +- drivers/net/mlx5/mlx5_ethdev.c | 8 +- drivers/net/mlx5/mlx5_rx.c | 284 +++- drivers/net/mlx5/mlx5_rx.h

[PATCH] net/mlx5: fix out of order completions in ordinary Rx burst

2025-07-08 Thread Viacheslav Ovsiienko
advance the RQ CI if and only if all the WQEs are handled in the covered range. This requires slide window to track handled WQEs. We support the out-of-order window size up to the full queue size. Fixes: 09c2555303be ("net/mlx5: support shared Rx queue") Signed-off-by: Viacheslav

[PATCH v2] net/mlx5: fix the maximal queue size query

2025-05-14 Thread Viacheslav Ovsiienko
updated accordingly. Fixes: 4c3d7961d900 ("net/mlx5: fix reported Rx/Tx descriptor limits") Cc: sta...@dpdk.org Reported-by: Edwin Brossette Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- v2 - minor fix for signed/unsigned comparison in debug assert --- driver

[PATCH] net/mlx5: fix the maximal queue size query

2025-04-29 Thread Viacheslav Ovsiienko
updated accordingly. Fixes: 4c3d7961d900 ("net/mlx5: fix reported Rx/Tx descriptor limits") Cc: sta...@dpdk.org Reported-by: Edwin Brossette Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/mlx5.h

[PATCH v2] net/mlx5: mitigate the Tx queue parameter adjustment

2025-04-24 Thread Viacheslav Ovsiienko
e capacity might not be impacted at all. Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- v2: diagnostics messages made less wordy --- drivers/net/mlx5/mlx5_txq.c | 74 +++-- 1 file changed, 22 insertions(+), 52 deletions(-) diff --git a/d

[PATCH] net/mlx5: mitigate the Tx queue parameter adjustment

2025-04-23 Thread Viacheslav Ovsiienko
e capacity might not be impacted at all. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_txq.c | 79 + 1 file changed, 27 insertions(+), 52 deletions(-) diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index 3e93517323..

[PATCH v2] net/mlx5: fix hypervisor detection in VLAN workaround

2024-12-06 Thread Viacheslav Ovsiienko
hypervisor type in non-x86 environments. Fixes: dfedf3e3f9d2 ("net/mlx5: add workaround for VLAN in virtual machine") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko -- v2: updated cooments to remove "white list" --- drivers/net/mlx5/linux/mlx5_vlan_os.c | 10 +-

[PATCH] net/mlx5: fix hypervisor detection in VLAN workaround

2024-12-03 Thread Viacheslav Ovsiienko
hypervisor type in non-x86 environments. Fixes: dfedf3e3f9d2 ("net/mlx5: add workaround for VLAN in virtual machine") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_vlan_os.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/

[PATCH v2] doc: add mlx5 xstats send scheduling counters description

2024-10-31 Thread Viacheslav Ovsiienko
: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 59 1 file changed, 59 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index b5522d50c5..5db4aeda1b 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst

[PATCH 1/1] doc: virtual function MTU settings has no meaning

2024-10-28 Thread Viacheslav Ovsiienko
ximal size. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 8d1a1311d4..c7dcb74da7 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -191,6 +1

[PATCH 1/1] doc: add mlx5 xstats send scheduling counters description

2024-10-28 Thread Viacheslav Ovsiienko
The mlx5 provides the scheduling send on time capability. The check the operating status of this feature the xstats counters are provided. This patch adds the counter descriptions and provides some meaningful information how to interpret the counter values in runtime. Signed-off-by: Viacheslav

[PATCH v2 4/4] net/mlx5: update dump script to show incomplete records

2024-10-14 Thread Viacheslav Ovsiienko
. To improve the dump fullness the following optional script arguments are added: -v [level] - provides the raw dump of the object record of the specified level (0 - bursts, 1 - WQEs, 2+ - mbufs) -a - dumps all bursts, including incomplete ones Signed-off-by: Viacheslav

[PATCH v2 3/4] net/mlx5: fix Tx tracing to use single clock source

2024-10-14 Thread Viacheslav Ovsiienko
. Fixes: a1e910f5b8d4 ("net/mlx5: introduce tracepoints") Fixes: 9725191a7e14 ("net/mlx5: add Tx datapath trace analyzing script") Cc: sta...@dpdk.org Signed-off-by: Tim Martin Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_trace.h| 9 ++--- driver

[PATCH v2 2/4] net/mlx5: fix real time counter reading from PCI BAR

2024-10-14 Thread Viacheslav Ovsiienko
;) Cc: sta...@dpdk.org Signed-off-by: Tim Martin Acked-by: Viacheslav Ovsiienko --- .mailmap | 1 + drivers/net/mlx5/mlx5.c | 4 drivers/net/mlx5/mlx5_tx.h | 34 +- drivers/net/mlx5/mlx5_txpp.c | 11 ++- 4 files c

[PATCH v2 1/4] net/mlx5/tools: fix trace dump multiple burst completions

2024-10-14 Thread Viacheslav Ovsiienko
completions with multiple bursts. Fixes: 9725191a7e14 ("net/mlx5: add Tx datapath trace analyzing script") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/tools/mlx5_trace.py | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH v2 0/4] net/mlx5: series to fix and improve tx trace capabilitie

2024-10-14 Thread Viacheslav Ovsiienko
Signed-off-by: Viacheslav Ovsiienko --- v1: https://inbox.dpdk.org/dev/20241009114028.973284-1-viachesl...@nvidia.com/ v2: move part of code between 2nd and 3rd patches to fix single patch compilation issue. Tim Martin (2): net/mlx5: fix real time counter reading from PCI BAR net/mlx5: fix

[PATCH 4/4] net/mlx5: update dump script to show incomplete records

2024-10-09 Thread Viacheslav Ovsiienko
. To improve the dump fullness the following optional script arguments are added: -v [level] - provides the raw dump of the object record of the specified level (0 - bursts, 1 - WQEs, 2+ - mbufs) -a - dumps all bursts, including incomplete ones Signed-off-by: Viacheslav

[PATCH 3/4] net/mlx5: fix Tx tracing to use single clock source

2024-10-09 Thread Viacheslav Ovsiienko
. Fixes: a1e910f5b8d4 ("net/mlx5: introduce tracepoints") Fixes: 9725191a7e14 ("net/mlx5: add Tx datapath trace analyzing script") Cc: sta...@dpdk.org Signed-off-by: Tim Martin Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_trace.h| 9 ++--- dr

[PATCH 2/4] net/mlx5: fix real time counter reading from PCI BAR

2024-10-09 Thread Viacheslav Ovsiienko
;) Cc: sta...@dpdk.org Signed-off-by: Tim Martin Acked-by: Viacheslav Ovsiienko --- .mailmap | 1 + drivers/net/mlx5/mlx5.c | 4 +++ drivers/net/mlx5/mlx5_tx.h | 53 +--- drivers/net/mlx5/mlx5_txpp.c | 11 ++-- 4 files changed, 56

[PATCH 0/4] net/mlx5: series to fix and improve tx trace capabilities

2024-10-09 Thread Viacheslav Ovsiienko
time parameter, read from the NIC to synchronize trace records with HW descriptors - update the trace dump script to see raw records and incomplete bursts Signed-off-by: Viacheslav Ovsiienko Tim Martin (2): net/mlx5: fix real time counter reading from PCI BAR net/mlx5: fix Tx tracing to use

[PATCH 1/4] net/mlx5/tools: fix trace dump multiple burst completions

2024-10-09 Thread Viacheslav Ovsiienko
completions with multiple bursts. Fixes: 9725191a7e14 ("net/mlx5: add Tx datapath trace analyzing script") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH v2 9/9] net/mlx5: fix flex item header length field translation

2024-09-18 Thread Viacheslav Ovsiienko
header - correct mask extension to the hardware required width 6-bits - correct adjusting the mask left margin offset, preventing dword offset Fixes: b293e8e49d78 ("net/mlx5: translate flex item configuration") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- driver

[PATCH v2 8/9] net/mlx5: fix non full word sample fields in flex item

2024-09-18 Thread Viacheslav Ovsiienko
ned shifts were wrongly performed for the pattern masks and values. Fixes: 6dac7d7ff2bf ("net/mlx5: translate flex item pattern into matcher") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/hws/mlx5dr_definer.c | 4 +-- drivers/net/mlx5/mlx5.h

[PATCH v2 7/9] net/mlx5: fix next protocol validation after flex item

2024-09-18 Thread Viacheslav Ovsiienko
t;net/mlx5: handle flex item in flows") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index a51d4dd1a4..b18bb430d7 100644 ---

[PATCH v2 6/9] app/testpmd: remove flex item init command leftover

2024-09-18 Thread Viacheslav Ovsiienko
There was a leftover of "flow flex init" command used for debug purposes and had no useful functionality in the production code. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline_flow.c | 12 1 file changed, 12 deletions(-) diff --git a/app/test-pmd/cmdline_fl

[PATCH v2 5/9] net/mlx5: fix number of supported flex parsers

2024-09-18 Thread Viacheslav Ovsiienko
Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index 6d163996e4..b1423b6868 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/m

[PATCH v2 4/9] net/mlx5: fix flex item tunnel mode handling

2024-09-18 Thread Viacheslav Ovsiienko
The RTE flex item can represent tunnel header itself, and split inner and outer items, it should be reflected in the item flags while PMD is processing the item array. Fixes: 8c0ca7527bc8 ("net/mlx5/hws: support flex item matching") Cc: sta...@dpdk.org Signed-off-by: Viacheslav

[PATCH v2 3/9] net/mlx5/hws: fix flex item support as tunnel header

2024-09-18 Thread Viacheslav Ovsiienko
The RTE flex item can represent the tunnel header and split the inner and outer layer items. HWS did not support this flex item specifics. Fixes: 8c0ca7527bc8 ("net/mlx5/hws: support flex item matching") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/ne

[PATCH v2 2/9] net/mlx5: add flex item query tunnel mode routine

2024-09-18 Thread Viacheslav Ovsiienko
Once parsing the RTE item array the PMD needs to know whether the flex item represents the tunnel header. The appropriate tunnel mode query API is added. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 2 ++ drivers/net/mlx5/mlx5_flow_flex.c | 27

[PATCH v2 1/9] net/mlx5: update flex parser arc types support

2024-09-18 Thread Viacheslav Ovsiienko
Add support for input IPv4 and for ESP output flex parser arcs. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_flex.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_flex.c b/drivers/net/mlx5/mlx5_flow_flex.c index

[PATCH v2 0/9] net/mlx5: cumulative fix series for flex item

2024-09-18 Thread Viacheslav Ovsiienko
: Viacheslav Ovsiienko Viacheslav Ovsiienko (9): net/mlx5: update flex parser arc types support net/mlx5: add flex item query tunnel mode routine net/mlx5/hws: fix flex item support as tunnel header net/mlx5: fix flex item tunnel mode handling net/mlx5: fix number of supported flex parsers

[PATCH 7/9] net/mlx5: fix next protocol validation after flex item

2024-09-11 Thread Viacheslav Ovsiienko
t;net/mlx5: handle flex item in flows") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index a51d4dd1a4..b18bb430d7 100644 ---

[PATCH 1/9] net/mlx5: update flex parser arc types support

2024-09-11 Thread Viacheslav Ovsiienko
Add support for input IPv4 and for ESP output flex parser arcs. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_flex.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_flex.c b/drivers/net/mlx5/mlx5_flow_flex.c index

[PATCH 8/9] net/mlx5: fix non full word sample fields in flex item

2024-09-11 Thread Viacheslav Ovsiienko
ned shifts were wrongly performed for the pattern masks and values. Fixes: 6dac7d7ff2bf ("net/mlx5: translate flex item pattern into matcher") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/hws/mlx5dr_definer.c | 4 +-- drivers/net/mlx5/mlx5.h

[PATCH 9/9] net/mlx5: fix flex item header length field translation

2024-09-11 Thread Viacheslav Ovsiienko
header - correct mask extension to the hardware required width 6-bits - correct adjusting the mask left margin offset, preventing dword offset Fixes: b293e8e49d78 ("net/mlx5: translate flex item configuration") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- driver

[PATCH 2/9] net/mlx5: add flex item query tunnel mode routine

2024-09-11 Thread Viacheslav Ovsiienko
Once parsing the RTE item array the PMD needs to know whether the flex item represents the tunnel header. The appropriate tunnel mode query API is added. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 2 ++ drivers/net/mlx5/mlx5_flow_flex.c | 27

[PATCH 6/9] app/testpmd: remove flex item init command leftover

2024-09-11 Thread Viacheslav Ovsiienko
There was a leftover of "flow flex init" command used for debug purposes and had no useful functionality in the production code. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline_flow.c | 12 1 file changed, 12 deletions(-) diff --git a/app/test-pmd/cmdline_fl

[PATCH 5/9] net/mlx5: fix number of supported flex parsers

2024-09-11 Thread Viacheslav Ovsiienko
Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index 6d163996e4..b1423b6868 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/m

[PATCH 3/9] net/mlx5/hws: fix flex item support as tunnel header

2024-09-11 Thread Viacheslav Ovsiienko
The RTE flex item can represent the tunnel header and split the inner and outer layer items. HWS did not support this flex item specifics. Fixes: 8c0ca7527bc8 ("net/mlx5/hws: support flex item matching") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- drivers/ne

[PATCH 4/9] net/mlx5: fix flex item tunnel mode handling

2024-09-11 Thread Viacheslav Ovsiienko
The RTE flex item can represent tunnel header itself, and split inner and outer items, it should be reflected in the item flags while PMD is processing the item array. Fixes: 8c0ca7527bc8 ("net/mlx5/hws: support flex item matching") Cc: sta...@dpdk.org Signed-off-by: Viacheslav

[PATCH] net/mlx5: fix error packets drop in the regular Rx

2024-02-20 Thread Viacheslav Ovsiienko
case of packet length exceeding the mbuf data buffer length it took the next element in the queue WQE ring, resulting in CQE/WQE consume indices synchronization lost. Fixes: aa67ed308458 ("net/mlx5: ignore non-critical syndromes for Rx queue") Cc: sta...@dpdk.org Signed-off-by: Viacheslav

[PATCH v3 6/6] net/mlx5: add modify field action IPsec support

2024-02-07 Thread Viacheslav Ovsiienko
Add mlx5 PMD support for the IPsec fields: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- doc

[PATCH v3 4/6] ethdev: add modify action support for IPsec fields

2024-02-07 Thread Viacheslav Ovsiienko
The following IPsec related field definitions added: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski

[PATCH v3 5/6] app/testpmd: add modify ESP related fields command line

2024-02-07 Thread Viacheslav Ovsiienko
Add new modify field destination type strings: - "esp_spi", to modify Security Parameter Index field - "esp_seq_num", to modify Sequence Number field - "esp_proto", to modify next protocol field in ESP trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Da

[PATCH v3 3/6] net/mlx5: add modify IPv4 protocol implementation

2024-02-07 Thread Viacheslav Ovsiienko
Add modify IPv4 protocol implementation for mlx5 PMD. Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_03.rst | 1 + drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/mlx5_flow_dv.c| 4 +++- 3 files changed, 5 insertions

[PATCH v3 2/6] app/testpmd: add modify IPv4 next protocol command line

2024-02-07 Thread Viacheslav Ovsiienko
Add new modify field action type string: "ipv4_proto". Signed-off-by: Viacheslav Ovsiienko Acked-by: Ori Kam Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_fl

[PATCH v3 1/6] ethdev: add modify IPv4 next protocol field

2024-02-07 Thread Viacheslav Ovsiienko
Add IPv4 next protocol modify field definition. Signed-off-by: Viacheslav Ovsiienko Acked-by: Ori Kam Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_03.rst | 4 lib/ethdev/rte_flow.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a

[PATCH v2 4/6] ethdev: add modify action support for IPsec fields

2024-02-07 Thread Viacheslav Ovsiienko
The following IPsec related field definitions added: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski

[PATCH v2 5/6] app/testpmd: add modify ESP related fields command line

2024-02-07 Thread Viacheslav Ovsiienko
Add new modify field destination type strings: - "esp_spi", to modify Security Parameter Index field - "esp_seq_num", to modify Sequence Number field - "esp_proto", to modify next protocol field in ESP trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Da

[PATCH v2 6/6] net/mlx5: add modify field action IPsec support

2024-02-07 Thread Viacheslav Ovsiienko
Add mlx5 PMD support for the IPsec fields: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- doc

[PATCH v2 3/6] net/mlx5: add modify IPv4 protocol implementation

2024-02-07 Thread Viacheslav Ovsiienko
Add modify IPv4 protocol implementation for mlx5 PMD. Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_03.rst | 1 + drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/mlx5_flow_dv.c| 4 +++- 3 files changed, 5 insertions

[PATCH v2 2/6] app/testpmd: add modify IPv4 next protocol command line

2024-02-07 Thread Viacheslav Ovsiienko
Add new modify field action type string: "ipv4_proto". Signed-off-by: Viacheslav Ovsiienko Acked-by: Ori Kam Acked-by: Dariusz Sosnowski --- app/test-pmd/cmdline_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_fl

[PATCH v2 1/6] ethdev: add modify IPv4 next protocol field

2024-02-07 Thread Viacheslav Ovsiienko
Add IPv4 next protocol modify field definition. Signed-off-by: Viacheslav Ovsiienko Acked-by: Ori Kam Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_24_03.rst | 4 lib/ethdev/rte_flow.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a

[PATCH 6/6] net/mlx5: add modify field action IPsec support

2024-02-06 Thread Viacheslav Ovsiienko
Add mlx5 PMD support for the IPsec fields: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko --- doc/guides/rel_notes/release_24_03

[PATCH 5/6] app/testpmd: add modify ESP related fields command line

2024-02-06 Thread Viacheslav Ovsiienko
Add new modify field destination type strings: - "esp_spi", to modify Security Parameter Index field - "esp_seq_num", to modify Sequence Number field - "esp_proto", to modify next protocol field in ESP trailer Signed-off-by: Viacheslav Ovsiienko --- app/te

[PATCH 4/6] ethdev: add modify action support for IPsec fields

2024-02-06 Thread Viacheslav Ovsiienko
The following IPsec related field definitions added: - RTE_FLOW_FIELD_ESP_SPI - SPI value in IPsec header - RTE_FLOW_FIELD_ESP_SEQ_NUM - sequence number in header - RTE_FLOW_FIELD_ESP_PROTO - next protocol value in trailer Signed-off-by: Viacheslav Ovsiienko --- doc/guides/rel_notes

[PATCH 3/6] net/mlx5: add modify IPv4 protocol implementation

2024-02-06 Thread Viacheslav Ovsiienko
Add modify IPv4 protocol implementation for mlx5 PMD. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/rel_notes/release_24_03.rst | 1 + drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/mlx5_flow_dv.c| 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 2/6] app/testpmd: add modify IPv4 next protocol command line

2024-02-06 Thread Viacheslav Ovsiienko
Add new modify field action type string: "ipv4_proto". Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 4062879552..03b418a5d8 100644 --- a/ap

[PATCH 1/6] ethdev: add modify IPv4 next protocol field

2024-02-06 Thread Viacheslav Ovsiienko
Add IPv4 next protocol modify field definition. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/rel_notes/release_24_03.rst | 1 + lib/ethdev/rte_flow.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_24_03.rst b/doc

[PATCH 1/1] net/mlx5: fix inline data length for multisegment packets

2023-11-10 Thread Viacheslav Ovsiienko
ere were just not enough data in the packet to satisfy the criteria). Fixes: 18a1c20044c0 ("net/mlx5: implement Tx burst template") Fixes: ec837ad0fc7c ("net/mlx5: fix multi-segment inline for the first segments") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko Acked-

[PATCH v6 2/2] doc: add mlx5 datapath tracing feature description

2023-07-11 Thread Viacheslav Ovsiienko
the internal delay issues). The patch adds the documentation for feature usage. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 74 1 file changed, 74 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[PATCH v6 0/2] net/mlx5: introduce Tx datapath tracing

2023-07-11 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko -- v2: - comment addressed: "dump_trace" command is replaced with "save_trace" - Windows build failure add

[PATCH v6 1/2] net/mlx5: add Tx datapath trace analyzing script

2023-07-11 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 307

[PATCH v5 4/4] doc: add mlx5 datapath tracing feature description

2023-07-05 Thread Viacheslav Ovsiienko
the internal delay issues). The patch adds the documentation for feature usage. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 78 1 file changed, 78 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[PATCH v5 3/4] net/mlx5: add Tx datapath trace analyzing script

2023-07-05 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 307

[PATCH v5 0/4] net/mlx5: introduce Tx datapath tracing

2023-07-05 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko -- v2: - comment addressed: "dump_trace" command is replaced with "save_trace" - Windows build failure add

[PATCH v5 2/4] net/mlx5: add comprehensive send completion trace

2023-07-05 Thread Viacheslav Ovsiienko
completion timestamp for dedicated operation. The add code is under conditional compilation RTE_ENABLE_TRACE_FP flag and does not impact the release code. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +++- drivers/net/mlx5/mlx5_devx.c| 8 +++- drivers/net

[PATCH v5 1/4] net/mlx5: introduce tracepoints for mlx5 drivers

2023-07-05 Thread Viacheslav Ovsiienko
the human readable form of trace results the dedicated post-processing script is presumed. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5_rx.h| 19 - drivers/net/mlx5/mlx5_rxtx.h | 19 + drivers/net/mlx5/mlx5_tr

[PATCH v4 4/4] doc: add mlx5 datapath tracing feature description

2023-07-05 Thread Viacheslav Ovsiienko
the internal delay issues). The patch adds the documentation for feature usage. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 78 1 file changed, 78 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[PATCH v4 3/4] net/mlx5: add Tx datapath trace analyzing script

2023-07-05 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 307

[PATCH v4 1/4] net/mlx5: introduce tracepoints for mlx5 drivers

2023-07-05 Thread Viacheslav Ovsiienko
the human readable form of trace results the dedicated post-processing script is presumed. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_rx.h | 19 -- drivers/net/mlx5/mlx5_rxtx.h | 19 ++ drivers/net/mlx5/mlx5_tx.c | 29 +++ drivers/net/mlx5

[PATCH v4 2/4] net/mlx5: add comprehensive send completion trace

2023-07-05 Thread Viacheslav Ovsiienko
completion timestamp for dedicated operation. The add code is under conditional compilation RTE_ENABLE_TRACE_FP flag and does not impact the release code. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +++- drivers/net/mlx5/mlx5_devx.c| 8 +++- drivers/net

[PATCH v4 0/4] net/mlx5: introduce Tx datapath tracing

2023-07-05 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko -- v2: - comment addressed: "dump_trace" command is replaced with "save_trace" - Windows build failure add

[PATCH] eal: fix file descriptor leakage with unhandled messages

2023-06-28 Thread Viacheslav Ovsiienko
were presented in the message. The patch closes the descriptors (if any) in unhandled messages. Fixes: 783b6e54971 ("eal: add synchronous multi-process communication") Cc: sta...@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- lib/eal/common/eal_common_proc.c | 14 +- 1 fi

[PATCH v3 2/4] net/mlx5: add comprehensive send completion trace

2023-06-28 Thread Viacheslav Ovsiienko
completion timestamp for dedicated operation. The add code is under conditional compilation RTE_ENABLE_TRACE_FP flag and does not impact the release code. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +++- drivers/net/mlx5/mlx5_devx.c| 8 +++- drivers/net

[PATCH v3 4/4] doc: add mlx5 datapath tracing feature description

2023-06-28 Thread Viacheslav Ovsiienko
the internal delay issues). The patch adds the documentation for feature usage. Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 77 1 file changed, 77 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[PATCH v3 3/4] net/mlx5: add Tx datapath trace analyzing script

2023-06-28 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 271

[PATCH v3 1/4] net/mlx5: introduce tracepoints for mlx5 drivers

2023-06-28 Thread Viacheslav Ovsiienko
the human readable form of trace results the dedicated post-processing script is presumed. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_rx.h | 19 -- drivers/net/mlx5/mlx5_rxtx.h | 19 ++ drivers/net/mlx5/mlx5_tx.c | 29 +++ drivers/net/mlx5

[PATCH v3 0/4] net/mlx5: introduce Tx datapath tracing

2023-06-28 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko -- v2: - comment addressed: "dump_trace" command is replaced with "save_trace" - Windows build failure add

[PATCH v2] app/testpmd: add dump command help message

2023-06-28 Thread Viacheslav Ovsiienko
There was missing "dump_x" commands help message. Patch updates "help display" section of the help message. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 68 ++ 1 file changed, 68 insertions(+) diff --git a/app/

[PATCH] app/testpmd: add dump command help message

2023-06-27 Thread Viacheslav Ovsiienko
There was missing "dump_x" commands help message. Patch adds support for "help dump" command to see one. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 43 -- 1 file changed, 41 insertions(+), 2 deletions(-) d

[PATCH v5] app/testpmd: add trace dump command

2023-06-27 Thread Viacheslav Ovsiienko
te--MM-DD-xx-HH-MM-SS format. This command is useful to get the trace date without exiting testpmd application and to get the multiple dumps to observe the situation in dynamics. Signed-off-by: Viacheslav Ovsiienko -- v1: https://inbox.dpdk.org/dev/20230609152847.32496-2-viachesl...@nvi

[PATCH v4] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
te--MM-DD-xx-HH-MM-SS format. This command is useful to get the trace date without exiting testpmd application and to get the multiple dumps to observe the situation in dynamics. Signed-off-by: Viacheslav Ovsiienko -- v1: https://inbox.dpdk.org/dev/20230609152847.32496-2-viachesl...@nvi

[PATCH v3] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
te--MM-DD-xx-HH-MM-SS format. This command is useful to get the trace date without exiting testpmd application and to get the multiple dumps to observe the situation in dynamics. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 5 - 1 file changed, 4 insertions(+),

[PATCH] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
te--MM-DD-xx-HH-MM-SS format. This command is useful to get the trace date without exiting testpmd application and to get the multiple dumps to observe the situation in dynamics. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 5 - 1 file changed, 4 insertions(+),

[PATCH v2 3/5] net/mlx5: add Tx datapath tracing

2023-06-13 Thread Viacheslav Ovsiienko
ing allows to get information how packets are pushed into hardware descriptors, time stamping for scheduled wait and send completions, etc. To provide the human readable form of trace results the dedicated post-processing script is presumed. Signed-off-by: Viacheslav Ovsiienko --- driver

[PATCH v2 5/5] net/mlx5: add Tx datapath trace analyzing script

2023-06-13 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 271

[PATCH v2 1/5] app/testpmd: add trace save command

2023-06-13 Thread Viacheslav Ovsiienko
The "save_trace" CLI command is added to trigger saving the trace dumps to the trace directory. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/app/test-pmd/cmdline.c b/ap

[PATCH v2 4/5] net/mlx5: add comprehensive send completion trace

2023-06-13 Thread Viacheslav Ovsiienko
completion timestamp for dedicated operation. The add code is under conditional compilation RTE_ENABLE_TRACE_FP flag and does not impact the release code. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +++- drivers/net/mlx5/mlx5_devx.c| 8 +++- drivers/net

[PATCH v2 0/5] net/mlx5: introduce Tx datapath tracing

2023-06-13 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko -- v2: - comment addressed: "dump_trace" command is replaced with "save_trace" - Windows build failure addr

[PATCH v2 2/5] common/mlx5: introduce tracepoints for mlx5 drivers

2023-06-13 Thread Viacheslav Ovsiienko
There is an intention to engage DPDK tracing capabilities for mlx5 PMDs monitoring and profiling in various modes. The patch introduces tracepoints for the Tx datapath in the ethernet device driver. Signed-off-by: Viacheslav Ovsiienko --- drivers/common/mlx5/meson.build | 1 + drivers/common

[PATCH 5/5] net/mlx5: add Tx datapath trace analyzing script

2023-06-09 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 271

[PATCH 4/5] net/mlx5: add comprehensive send completion trace

2023-06-09 Thread Viacheslav Ovsiienko
completion timestamp for dedicated operation. The add code is under conditional compilation RTE_ENABLE_TRACE_FP flag and does not impact the release code. Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_verbs.c | 8 +++- drivers/net/mlx5/mlx5_devx.c| 8 +++- drivers/net

[PATCH 3/5] net/mlx5: add Tx datapath tracing

2023-06-09 Thread Viacheslav Ovsiienko
ing allows to get information how packets are pushed into hardware descriptors, time stamping for scheduled wait and send completions, etc. To provide the human readable form of trace results the dedicated post-processing script is presumed. Signed-off-by: Viacheslav Ovsiienko --- driver

[PATCH 1/5] app/testpmd: add trace dump command

2023-06-09 Thread Viacheslav Ovsiienko
The "dump_trace" CLI command is added to trigger saving the trace dumps to the trace directory. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdli

[PATCH 2/5] common/mlx5: introduce tracepoints for mlx5 drivers

2023-06-09 Thread Viacheslav Ovsiienko
There is an intention to engage DPDK tracing capabilities for mlx5 PMDs monitoring and profiling in various modes. The patch introduces tracepoints for the Tx datapath in the ethernet device driver. Signed-off-by: Viacheslav Ovsiienko --- drivers/common/mlx5/meson.build | 1 + drivers/common

[PATCH 0/5] net/mlx5: introduce Tx datapath tracing

2023-06-09 Thread Viacheslav Ovsiienko
lement contains the list of built WQEs with specific opcodes, and each WQE contains the list of the encompassed packets to send. Signed-off-by: Viacheslav Ovsiienko Viacheslav Ovsiienko (5): app/testpmd: add trace dump command common/mlx5: introduce tracepoints for mlx5 drivers net/mlx5

[PATCH v3] eal: choose IOVA mode according to compilation flags

2023-06-08 Thread Viacheslav Ovsiienko
ime option, resulting into initialization failure. Also, for FreeBSD and Windows EALs the IOVE mode checks were added or moved to be after the mode selection code block for final checking. Signed-off-by: Viacheslav Ovsiienko Reviewed-by: Morten Brørup --- lib/eal/freebsd/

[PATCH] eal: add warning for incompatibe requested IOVA mode

2023-06-06 Thread Viacheslav Ovsiienko
' mode in runtime and the 'enable_iova_as_pa=false' meson option was configured on build. Signed-off-by: Viacheslav Ovsiienko --- lib/eal/common/eal_common_bus.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/eal/common/eal_common_bus.c b/lib/eal/

[PATCH v2] eal: choose IOVA mode according to compilation flags

2023-06-06 Thread Viacheslav Ovsiienko
ime option, resulting into initialization failure. Signed-off-by: Viacheslav Ovsiienko --- lib/eal/linux/eal.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c index ae323cd492..9856ec9d12 100644 --- a/lib/eal/linux/eal.c +++ b/lib/eal/l

  1   2   3   4   5   6   7   8   9   10   >