dpdk.org
Signed-off-by: Haifei Luo
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_utils.c b/drivers/net/mlx5/mlx5_utils.c
index e28db2ec43..93c10f20a7 100644
--- a/drivers/net/mlx5/mlx5_utils
hange.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_ethdev_os.c | 55 ++---
1 file changed, 50 insertions(+), 5 deletions(-)
diff --git a/drivers/net/mlx5/linux/mlx5_ethdev_os.c
b/drivers/net/mlx5/linux/mlx5_ethdev_os.c
index dd5a0c5..a9b94f8 100644
--- a/dr
1. Add validation for item NSH.
It will fail if HCA cap for NSH is false.
2. Add item_flags for NSH.
3. For vxlan-gpe if next header is NSH, set next_protocol as NSH.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 39
Add support for item NSH. The CLI is: nsh
Example:
flow create 0 transfer group 1
pattern eth / ipv6 / udp dst is 4790 /
vxlan-gpe / nsh / eth / ipv4 / tcp / end
actions port_id id 1 / end
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
Enhance the validation so that configuring vxlan-gpe's next protocol as NSH
is supported.
1. The spec's protocol can have value and nic_mask's protocol is 0xff.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c | 13 +
Add NSH supporting field in two places:
1. New HCA capability indicating NSH is supported
2. New field in "mlx5_ifc_per_protocol_networking_offload_caps_bits"
structure
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_devx_
ff-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
app/test-pmd/cmdline_flow.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 95c0a19beb..8a4e06c50a 100644
--- a/app/test-pmd/cmdline_flow.c
+++
f NSH.
Enhance the validation for the case matching item NSH is supported.
Add NSH support in net/mlx5.
V2: Add Ack info in commit message.
V3: Add more Ack in commi message.
V4: Add nsh in feature ini file.
Haifei Luo (5):
app/testpmd: support for VXLAN-GPE's next protocol
common/mlx5:
1. Add validation for item NSH.
It will fail if HCA cap for NSH is false.
2. Add item_flags for NSH.
3. For vxlan-gpe if next header is NSH, set next_protocol as NSH.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 39
Add support for item NSH. The CLI is: nsh
Example:
flow create 0 transfer group 1
pattern eth / ipv6 / udp dst is 4790 /
vxlan-gpe / nsh / eth / ipv4 / tcp / end
actions port_id id 1 / end
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
Enhance the validation so that configuring vxlan-gpe's next protocol as NSH
is supported.
1. The spec's protocol can have value and nic_mask's protocol is 0xff.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c | 13 +
Add NSH supporting field in two places:
1. New HCA capability indicating NSH is supported
2. New field in "mlx5_ifc_per_protocol_networking_offload_caps_bits"
structure
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_devx_
ff-by: Haifei Luo
Acked-by: Dariusz Sosnowski
Acked-by: Suanming Mou
---
app/test-pmd/cmdline_flow.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 94827bcc4a..d25f941259 100644
--- a/app/test-pmd/cmdline_flow.c
+++
f NSH.
Enhance the validation for the case matching item NSH is supported.
Add NSH support in net/mlx5.
V2: Add Ack info in commit message.
V3: Add more Ack in commi message.
Haifei Luo (5):
app/testpmd: support for VXLAN-GPE's next protocol
common/mlx5: extend HCA attribute query for NSH
1. Add validation for item NSH.
It will fail if HCA cap for NSH is false.
2. Add item_flags for NSH.
3. For vxlan-gpe if next header is NSH, set next_protocol as NSH.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
---
drivers/net/mlx5/mlx5_flow.c| 39
Add support for item NSH. The CLI is: nsh
Example:
flow create 0 transfer group 1
pattern eth / ipv6 / udp dst is 4790 /
vxlan-gpe / nsh / eth / ipv4 / tcp / end
actions port_id id 1 / end
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
---
app/test-pmd
Enhance the validation so that configuring vxlan-gpe's next protocol as NSH
is supported.
1. The spec's protocol can have value and nic_mask's protocol is 0xff.
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
---
drivers/net/mlx5/mlx5_flow.c | 13 ++---
1
Add NSH supporting field in two places:
1. New HCA capability indicating NSH is supported
2. New field in "mlx5_ifc_per_protocol_networking_offload_caps_bits"
structure
Signed-off-by: Haifei Luo
Acked-by: Dariusz Sosnowski
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
driv
ff-by: Haifei Luo
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 94827bcc4a..d25f941259 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_f
f NSH.
Enhance the validation for the case matching item NSH is supported.
Add NSH support in net/mlx5.
V2: Add Ack info in commit message.
Haifei Luo (5):
app/testpmd: support for VXLAN-GPE's next protocol
common/mlx5: extend HCA attribute query for NSH
net/mlx5: enhance the validatio
1. Add validation for item NSH.
It will fail if HCA cap for NSH is false.
2. Add item_flags for NSH.
3. For vxlan-gpe if next header is NSH, set next_protocol as NSH.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/mlx5_flow.c| 39 +
drivers/net/mlx5
Add support for item NSH. The CLI is: nsh
Example:
flow create 0 transfer group 1
pattern eth / ipv6 / udp dst is 4790 /
vxlan-gpe / nsh / eth / ipv4 / tcp / end
actions port_id id 1 / end
Signed-off-by: Haifei Luo
---
app/test-pmd/cmdline_flow.c | 16
1
Enhance the validation so that configuring vxlan-gpe's next protocol as NSH
is supported.
1. The spec's protocol can have value and nic_mask's protocol is 0xff.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/mlx5_flow.c | 13 ++---
1 file changed, 6 insertions(+), 7 del
Add NSH supporting field in two places:
1. New HCA capability indicating NSH is supported
2. New field in "mlx5_ifc_per_protocol_networking_offload_caps_bits"
structure
Signed-off-by: Haifei Luo
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
drivers/common/mlx5/mlx5_devx_
ff-by: Haifei Luo
---
app/test-pmd/cmdline_flow.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 94827bcc4a..d25f941259 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -385,6 +385,7 @@ enum
f NSH.
Enhance the validation for the case matching item NSH is supported.
Add NSH support in net/mlx5.
Haifei Luo (5):
app/testpmd: support for VXLAN-GPE's next protocol
common/mlx5: extend HCA attribute query for NSH
net/mlx5: enhance the validation for item VXLAN-GPE
app/testpmd: suppo
ned-off-by: Haifei Luo
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5.h| 2 +-
drivers/net/mlx5/mlx5_flow.c | 41 ---
drivers/net/mlx5/mlx5_flow.h | 7 +-
drivers/net/mlx5/mlx5_flow_dv
ec_type,id,actions_number,actions
Encap_decap: rec_type,id,buf
Signed-off-by: Haifei Luo
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5.h | 2 +-
drivers/net/mlx5/mlx5_flow.c| 161 ++--
drivers/net/mlx5/mlx5_flow.h| 5 ++
driv
,buf
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/mlx5.h | 15
drivers/net/mlx5/mlx5_flow.c | 165 ++-
2 files changed, 179 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 32b2817bf2..c958fd7a9a 100644
n warning.
Signed-off-by: Haifei Luo
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 85 +
doc/guides/rel_notes/release_21_05.rst | 3 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 24
3 files changed, 112 insertions(+)
diff --git a
r_actions color type red / end
In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR,
the meter policy action list: green -> green, yellow -> yellow, red -> red.
V2: rebase the latest code.
V3: update the document.
V4: add sample in the document.
Signed-off-by: H
HI Ferruh,
Added the docs in V3 and please kindly check. Thank you.
-Original Message-
From: Haifei Luo
Sent: Wednesday, May 12, 2021 9:42 AM
To: Ferruh Yigit ; Matan Azrad ; Ori
Kam ; Slava Ovsiienko ; Xiaoyun Li
Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon ; Raslan
Darawsheh
r_actions color type red / end
In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR,
the meter policy action list: green -> green, yellow -> yellow, red -> red.
V2: rebase the latest code.
V3: update the document.
Signed-off-by: Haifei Luo
Acked-by: Ori Kam
---
HI Ferruh,
Will update the doc and send V3. Thank you.
-Original Message-
From: Ferruh Yigit
Sent: Wednesday, May 12, 2021 3:22 AM
To: Haifei Luo ; Matan Azrad ; Ori Kam
; Slava Ovsiienko ; Xiaoyun Li
Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon ; Raslan
Darawsheh
Subject: Re
type yellow / end r_actions color type red / end
In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR,
the meter policy action list: green -> green, yellow -> yellow, red -> red.
V2: rebase the latest code.
Signed-off-by: Haifei Luo
Acked-by: Ori Kam
---
app
type yellow / end r_actions color type red / end
In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR,
the meter policy action list: green -> green, yellow -> yellow, red -> red.
Signed-off-by: Haifei Luo
---
app/test-pmd/cmdline_fl
add mlx5 APIs for single flow dump feature
Signed-off-by: Haifei Luo
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/linux/meson.build | 6 --
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
drivers/common/mlx5
;
} __rte_packed;
If flow_ptr is 0, all flows for the specified port will be dumped.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_os.h | 3 +++
drivers/net/mlx5/linux/mlx5_socket.c | 47
drivers/net/mlx5/mlx5.h | 10
drivers/net
ries=16367
V2: Rebase to fix apply patch failure.
V3: Fix commments. Modify data structures sent to DPDK application.
Haifei Luo (2):
common/mlx5: add mlx5 APIs for single flow dump feature
net/mlx5: add mlx5 APIs for single flow dump feature
drivers/common/mlx5/linux/meson.build | 6 +++-
HI Thomas,
#1, okay. Will change the place for comments.
#2, yes, I can change the description.
Thank you so much.
-Original Message-
From: Thomas Monjalon
Sent: Wednesday, April 14, 2021 6:33 PM
To: Haifei Luo
Cc: dev@dpdk.org; Ori Kam ; Slava Ovsiienko
; Raslan Darawsheh
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
---
app/test-pmd/cmdline_flow.c
Previous implementations support dump all the flows. Add new arg
rte_flow in rte_flow_dev_dump to dump one flow.
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
Acked-by: Ori Kam
---
app/test-pmd/config.c | 2 +-
doc/guides/nics/mlx5.rst | 9 ++---
doc
comments. Modify title and enhance API's description.
V6: Distribute the release notes updates to the patches that
introduces the change.
Haifei Luo (2):
ethdev: dump single flow rule
app/testpmd: add CLIs for single flow dump feature
app/test-pmd/cmdline_flow.c
Hi Ferruh,
"Can you please distribute the release notes updates to the patches that
introduces the change?"
okay
-Original Message-
From: Ferruh Yigit
Sent: Wednesday, April 14, 2021 4:24 PM
To: Haifei Luo ; dev@dpdk.org
Cc: Ori Kam ; Slava Ovsiienko ;
Raslan Darawsheh
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
---
app/test-pmd/cmdline_flow.c
comments. Modify title and enhance API's description.
Haifei Luo (3):
ethdev: dump single flow rule
app/testpmd: add CLIs for single flow dump feature
doc: add single flow dump to guides
app/test-pmd/cmdline_flow.c | 55 +
Add testpmd CLIs and APIs changes in release_notes.
Signed-off-by: Haifei Luo
---
doc/guides/rel_notes/release_21_05.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_05.rst
b/doc/guides/rel_notes/release_21_05.rst
index a0b9079..e3ae470 100644
--- a
Previous implementations support dump all the flows. Add new arg
rte_flow in rte_flow_dev_dump to dump one flow.
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
Acked-by: Ori Kam
---
app/test-pmd/config.c| 2 +-
doc/guides/nics/mlx5.rst | 9 ++---
drivers/net
HI Thomas,
#1, okay , will modify title as " ethdev: dump single flow rule " .
#2, yes, it can pass NULL. Will modify as you described.
Thank you so much for the comments.
-Original Message-
From: Thomas Monjalon
Sent: Wednesday, April 14, 2021 4:58 PM
To: Haifei Lu
Hi Thomas,
I will remove it from prog_guide/rte_flow.rst. Is it okay ? Thank you.
-Original Message-
From: Thomas Monjalon
Sent: Wednesday, April 14, 2021 5:01 PM
To: Ori Kam
Cc: dev@dpdk.org; Haifei Luo ; Slava Ovsiienko
; Raslan Darawsheh ;
Xueming(Steven) Li ; Haifei Luo
Modify API mlx5_flow_dev_dump to support the feature.
Modify mlx5_socket since one extra arg flow_ptr is added.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_socket.c | 30 --
drivers/net/mlx5/mlx5_flow.c | 30 --
2
uot;)
http://patchwork.dpdk.org/project/dpdk/list/?series=16362
V2: rebase to fix apply patch failure.
Haifei Luo (2):
common/mlx5: add mlx5 APIs for single flow dump feature
net/mlx5: add mlx5 APIs for single flow dump feature
drivers/common/mlx5/linux/meson.build | 6 --
drivers/common/mlx5/linux/m
add mlx5 APIs for single flow dump feature
Signed-off-by: Haifei Luo
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/linux/meson.build | 6 --
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
drivers/common/mlx5
Add testpmd CLI and API changes in release_notes.
Signed-off-by: Haifei Luo
---
doc/guides/rel_notes/release_21_05.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_05.rst
b/doc/guides/rel_notes/release_21_05.rst
index a0b9079..e3ae470 100644
--- a
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
---
app/test-pmd/cmdline_flow.c
Previous implementations support dump all the flows. Add new arg
rte_flow in rte_flow_dev_dump to dump one flow.
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
Acked-by: Ori Kam
---
app/test-pmd/config.c| 2 +-
doc/guides/nics/mlx5.rst | 9 ++---
doc
ut rte API. V1 has one API rte_flow_dump,
remove it and update rte_flow_dev_dump by adding one arg rte_flow.
V3: split into two series. One is for ethdev/testpmd/doc, the other is
for drivers.
V4: Fix comments. Remove "Flow dump" from features/default.ini and
features/mlx5.ini.
Haifei L
Hi Ferruh,
Okay , I will remove it from feature list. Thank you.
-Original Message-
From: Ferruh Yigit
Sent: Wednesday, April 14, 2021 4:24 PM
To: Haifei Luo ; dev@dpdk.org
Cc: Ori Kam ; Slava Ovsiienko ;
Raslan Darawsheh ; Xueming(Steven) Li
; ajit.khapa...@broadcom.com; Matan
uot;)
http://patchwork.dpdk.org/project/dpdk/list/?series=16355
Haifei Luo (2):
common/mlx5: add mlx5 APIs for single flow dump feature
net/mlx5: add mlx5 APIs for single flow dump feature
drivers/common/mlx5/linux/meson.build | 6 --
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/c
Modify API mlx5_flow_dev_dump to support the feature.
Modify mlx5_socket since one extra arg flow_ptr is added.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_socket.c | 30 --
drivers/net/mlx5/mlx5_flow.c | 30 --
2
add mlx5 APIs for single flow dump feature
Signed-off-by: Haifei Luo
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/linux/meson.build | 6 --
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
drivers/common/mlx5
HI David,
Thank you for the description and I will modify accordingly.
-Original Message-
From: David Marchand
Sent: Wednesday, April 14, 2021 2:21 PM
To: Haifei Luo
Cc: Kinsella, Ray ; dev@dpdk.org; Ori Kam ;
Slava Ovsiienko ; Raslan Darawsheh
; Xueming(Steven) Li ; Matan Azrad
Add "Flow dump" in features/default.ini and features/mlx5.ini.
Add testpmd CLI and API changes in release_notes.
Signed-off-by: Haifei Luo
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/rel_notes/release_21_05.rst | 5
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
---
app/test-pmd/cmdline_flow.c
ut rte API. V1 has one API rte_flow_dump,
remove it and update rte_flow_dev_dump by adding one arg rte_flow.
V3: split into two series. One is for ethdev/testpmd/doc, the other is
for drivers.
Haifei Luo (3):
ethdev: modify rte API for single flow dump
app/testpmd: add CLIs for single flo
Previous implementations support dump all the flows. Add new arg
rte_flow in rte_flow_dev_dump to dump one flow.
Signed-off-by: Haifei Luo
Acked-by: Ajit Khaparde
Acked-by: Ori Kam
---
app/test-pmd/config.c| 2 +-
doc/guides/nics/mlx5.rst | 9 ++---
doc
HI David,
In current release, is the exports file necessary? I will keep the
modification if yes. Thank you.
drivers/common/mlx5/rte_common_mlx5_exports.def
-Original Message-
From: Kinsella, Ray
Sent: Wednesday, April 14, 2021 12:44 AM
To: Haifei Luo ; dev@dpdk.org
Cc: Ori Kam
HI Slava,
Yes for "we define 36/72 bytes array?".
Correction for my last comment, not byte , and it is one "int" for
port_id , 8 "int" for flowptr.
Sorry for the possible confusion.
-----Original Message-
From: Haifei Luo
Sent: Tuesday, Ap
es
for flowptr. In DPDK, then we parse the message this way.
For #2, I will move them to the beginning.
-Original Message-
From: Slava Ovsiienko
Sent: Monday, April 12, 2021 3:38 PM
To: Haifei Luo ; dev@dpdk.org
Cc: Ori Kam ; Raslan Darawsheh ;
Xueming(Steven) Li ; Haifei Luo
Add "Flow dump" in features/default.ini and features/mlx5.ini.
Add testpmd CLI and API changes in release_notes.
Signed-off-by: Haifei Luo
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/rel_notes/release_21_05.rst | 5
add mlx5 APIs for single flow dump feature
Signed-off-by: Haifei Luo
---
drivers/common/mlx5/linux/meson.build | 2 ++
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
drivers/common/mlx5/mlx5_devx_cmds.c
Modify API mlx5_flow_dev_dump to support the feature.
Modify mlx5_socket since one extra arg flow_ptr is added.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_socket.c | 30 --
drivers/net/mlx5/mlx5_flow.c | 29 +++--
2
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
---
app/test-pmd/cmdline_flow.c | 55 +---
Previous implementations support dump all the flows. Add new arg
rte_flow in rte_flow_dev_dump to dump one flow.
Signed-off-by: Haifei Luo
---
app/test-pmd/config.c| 2 +-
doc/guides/nics/mlx5.rst | 9 ++---
doc/guides/prog_guide/rte_flow.rst | 24
dump 0 rule 0
For RTE API, add one arg rte_flow in rte_flow_dev_dump.
Accordingly, add this arg in related dev_dump and driver APIs.
Haifei Luo (5):
ethdev: modify rte API for single flow dump
app/testpmd: add CLIs for single flow dump feature
common/mlx5: add mlx5 APIs for single flow dump f
nds-on: series=16037 ("Support meter policy API ")
https://patchwork.dpdk.org/project/dpdk/list/?series=16037
Signed-off-by: Haifei Luo
---
app/test-flow-perf/actions_gen.c | 6 ++-
app/test-flow-perf/actions_gen.h | 3 +-
app/test-flow-perf/config.h | 6 +--
app/test-flow-perf/flow_g
Add API mlx5_flow_dump_rule to support the feature.
Modify mlx5_socket since one extra arg flow_ptr is added.
Signed-off-by: Haifei Luo
---
drivers/net/mlx5/linux/mlx5_socket.c | 27 ++---
drivers/net/mlx5/mlx5.h | 3 +++
drivers/net/mlx5/mlx5_flow.c
add mlx5 APIs for single flow dump feature
Signed-off-by: Haifei Luo
---
drivers/common/mlx5/linux/meson.build | 4
drivers/common/mlx5/linux/mlx5_glue.c | 13 +
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
drivers/common/mlx5/mlx5_devx_cmds.c | 10 ++
drivers/common
Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0
Signed-off-by: Haifei Luo
---
app/test-pmd/cmdline_flow.c | 55 +---
Previous implementations support dump all the flows.Add new ones
to dump one flow.
New API added: rte_flow_dump.
Signed-off-by: Haifei Luo
---
doc/guides/nics/mlx5.rst| 10 +++--
doc/guides/prog_guide/rte_flow.rst | 44 +
lib/librte_ethdev
so new APIs(rte_flow_dump,mlx5_flow_dump_rule, and etc) are added
in rte and drivers to support it.
Haifei Luo (4):
ethdev: add rte API for single flow dump
app/testpmd: add CLIs for single flow dump feature
common/mlx5: add mlx5 APIs for single flow dump feature
net/mlx5: add mlx5 APIs for
81 matches
Mail list logo