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
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
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
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
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
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..
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 +-
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/
: 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
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
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
.
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
.
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
;)
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
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
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
.
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
.
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
;)
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
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
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
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
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
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
---
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
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
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
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
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
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
: 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
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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(+),
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(+),
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
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
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
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
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
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
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
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
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
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
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
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
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/
'
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/
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 - 100 of 1018 matches
Mail list logo