t action any port from sharing domain
can be specified. To share or not the created action is up to
application, no API change is needed.
Signed-off-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c | 6 ++
lib/ethdev/rte_flow.h | 11 +++
2 files changed, 17 insertions(+)
diff --git
to release that RTC we will get the following syndrome:
0xaa0093 - destroy_rtc_object: rtc in use or doesn't exist.
In order to resolve that we clean the current pointed RTC from that ft
and only after that setting it to the new RTC value.
Signed-off-by: Erez Shitrit
Acked-by: Viach
From: Erez Shitrit
This patch fixes the matcher disconnection handling, by removing the RTC
references from flow table if the currently removed matcher was the last
one for the given table. As a result RTC in this matcher can be
correctly freed, since there are no dangling references to the RTC.
Add query port capabilities to share steering objects
between multiple ports of the same physical NIC.
Signed-off-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_devx_cmds.c | 13 +
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
2 files changed, 14 insertions(+)
diff --git a
Add host port option for sharing steering objects between
multiple ports of the same physical NIC.
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5.c | 6 +++
drivers/net/mlx5/mlx5.h | 2 +
drivers/net/mlx5/mlx5_flow_hw.c | 78
In the cross vHCA sharing mode the host counter pool
should be used in counter related routines. The local
port pool is used to store the dedicated DR action
handle, per queue counter caches and query data are
ignored and not allocated on local pool.
Signed-off-by: Viacheslav Ovsiienko
Host port id parameter is added to "flow configure" command.
Signed-off-by: Viacheslav Ovsiienko
---
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 88108498e0..b88756903b 10
ingress actions_template_id 18
template shared_indirect 0 0 / queue index 0 / end
mask count / queue index 0 / end
Signed-off-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline_flow.c | 53 -
1 file changed, 52 insertions(+), 1 deletion(-)
diff
The patch updates the Release Notes and documentation
for the indirect RTE Flow actions as shared ones between
ports on the same physical NIC.
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/rel_notes/release_23_03.rst | 6 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +++-
2
From: Hamdan Igbaria
Add the support to match on SPI and sequence
number fields of ESP header.
The match on ESP header in harwdare steering
is supported only if firmware reports the device
supports IPsec offload.
Signed-off-by: Hamdan Igbaria
Acked-by: Viacheslav Ovsiienko
---
drivers
n the elts array.
On the device stop mlx4 PMD freed only the part of elts according
tail and head pointers, leaking the rest of buffers, remained in
the elts array.
Fixes: a2ce2121c01c ("net/mlx4: separate Tx configuration functions")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiien
: 2eb4d0107acc ("net/mlx5: refactor PCI probing on Linux")
Fixes: d5c06b1b10ae ("net/mlx5: query vport index match mode and parameters")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_os.c | 3 ++-
1 file changed, 2 insertions(+), 1 delet
with Verbs API the doorbell record offset was
configured correctly.
Fixes: 86d259cec852 ("net/mlx5: separate Tx queue object creations")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_devx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
There was a typo - the device context was wrongly provided
instead of counter's one for the DevX query operation.
Fixes: e6988afdc75a ("net/mlx5: fix imissed statistics")
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_os.c | 4 ++--
1 file changed, 2 i
v1:
http://patches.dpdk.org/project/dpdk/patch/20210426124250.42771-2-michae...@nvidia.com/
V2: patch rebase
Michael Baum (5):
net/mlx5: support flow count action handle
app/testpmd: remove indirect RSS action query
app/testpmd: support indirect counter action query
net/mlx5: fix flow ag
From: Michael Baum
The port_action_handle_query function supports query operation for
indirect RSS action.
No driver currently supports this operation, and this support is
unnecessary.
Remove it.
Signed-off-by: Michael Baum
Acked-by: Matan Azrad
---
app/test-pmd/config.c | 7 ---
1 file
From: Michael Baum
Existing API supports counter action to count traffic of a single flow.
The user can share the count action among different flows using the
shared flag and the same counter ID in the count action configuration.
Recent patch [1] introduced the indirect action API.
Using this AP
From: Michael Baum
Counter action query was implemented as part of flow query, but was not
implemented as part of indirect action query.
This patch adds the required implementation.
Signed-off-by: Michael Baum
Acked-by: Matan Azrad
---
app/test-pmd/config.c | 145 ++--
From: Michael Baum
A FLOW_AGE event should be invoked when a new aged-out flow is detected
by the PMD after the last user get-aged query calling.
The PMD manages 2 flags for this information and check them in order to
decide if an event should be invoked:
MLX5_AGE_EVENT_NEW - a new aged-out flow
From: Michael Baum
The driver support 2 mechanisms in order to support AGE action:
1. Aging by counter - HW counter will be configured to the flow traffic,
the driver polls the counter values efficiently to detect flow timeout.
2. Aging by ASO flow hit bit - HW ASO flow-hit bit is allocated for t
: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
v1:
http://patches.dpdk.org/project/dpdk/patch/20210607093726.14546-1-viachesl...@nvidia.com/
v2: commit message was clarified
drivers/common/mlx5/linux/meson.build | 4 ++
drivers/common/mlx5/linux/mlx5_glue.c | 57 -
drivers
entor")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/linux/mlx5_nl.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/common/mlx5/linux/mlx5_nl.c
b/drivers/common/mlx5/linux/mlx5_nl.c
index f0d04f9473..
etach functions")
Signed-off-by: Viacheslav Ovsiienko
---
app/test-pmd/testpmd.c | 32
1 file changed, 32 insertions(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 8ed1b97dec..b4ec182423 100644
--- a/app/test-pmd/testpmd.c
+++ b/ap
: cacb44a09962 ("net/mlx5: add no-inline Tx flag")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_tx.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_tx.h b/drivers/net/mlx5/mlx5_tx.h
index 7d3ff8407c..e8b1c0f108 10
: cacb44a09962 ("net/mlx5: add no-inline Tx flag")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_tx.h | 28 +---
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_tx.h b/drivers/net/mlx5/mlx5_tx.h
index
(it follows the introduced API
variation in underlying library), it covers the major compatibility
issue and is highly desired to be ported to DPDK LTS.
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
v1:
http://patches.dpdk.org/project/dpdk/patch
port action for LAG")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
drivers/common/mlx5/linux/meson.build | 2 ++
drivers/common/mlx5/linux/mlx5_glue.c | 2 +-
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
di
o add/remove MAC addresses")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/linux/mlx5_nl.c | 69 +++--
1 file changed, 55 insertions(+), 14 deletions(-)
diff --git a/drivers/common/mlx5/linux/mlx5_nl.c
b/drivers/common/mlx5/linux/mlx5_
.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
drivers/common/mlx5/linux/meson.build | 2 +
drivers/common/mlx5/linux/mlx5_glue.c | 55
drivers/common/mlx5/linux/mlx5_glue.h | 16 ++-
drivers/net/mlx5/linux/mlx5_os.c | 60 --
.
As mlx5dv_query_devx_port is being removed all the dependencies on
the HAVE_MLX5DV_DR_DEVX_PORT compilation flag are reconsidered.
Fixes: 6cfe84fbe7b1 ("net/mlx5: fix port action for LAG")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
drivers/c
: sta...@dpdk.org
Fixes: 34fa7c0268e7 ("net/mlx5: add drop action to Direct Verbs E-Switch")
Fixes: 65b3cd0dc39b ("net/mlx5: create global drop action")
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Matan Azrad
---
drivers/net/mlx5/linux/mlx5_os.c | 24 +---
There are some leftovers of removed code - there are
no drop queue handling routines anymore.
Fixes: 78be885295b8 ("net/mlx5: handle drop queues as regular queues")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5.h | 2 --
1 file changed, 2 deletion
actions rss queues 0 end key_len 40 / end
Fixes: ac8d22de2394 ("ethdev: flatten RSS configuration in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx4/mlx4_flow.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx4/mlx
.
Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_
Due to updated modify field actionimmediate value buffer
pattern [1] the implicit shift for the metadata is not
needed anymore and should be removed.
[1] commit 40c8fb1fd3b3 ("net/mlx5: update modify field action")
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow
with reference Clock Queue and inter-queue synchronizing
operations. Since ConnectX-7 the new wait descriptor format is
introduced where the timestamp can be promoted to hardware directly.
The patchset adds support for this new hardware option in PMD.
Signed-off-by: Viacheslav Ovsiienko
The patch provides check for send scheduling on time hardware capability.
With this capability enabled hardware is able to handle Wait WQEs
with directly specified timestamp values. No Clock Queue is needed
anymore to handle send scheduling.
Signed-off-by: Viacheslav Ovsiienko
---
drivers
The wait on time configuration flag is copied to the Tx queue
structure due to performance considerations. Timestamp
mask is preparted and stored in queue structure as well.
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_verbs.c | 2 ++
drivers/net/mlx5/mlx5.h
time. This patch update the Tx datapath to handle
this new hardware wait capability.
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_verbs.c | 4 +-
drivers/net/mlx5/mlx5_tx.h | 72 +
drivers/net/mlx5/mlx5_txq.c | 7 ++-
3 files
Updated:
- send scheduling feature description for mlx5
- release notes
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/nics/mlx5.rst | 5 +
doc/guides/rel_notes/release_22_03.rst | 6 ++
2 files changed, 11 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc
: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c | 83 ---
1 file changed, 70 insertions(+), 13 deletions(-)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 8cb7a069c8..100983ca59 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev
y: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c| 40
lib/ethdev/rte_flow_driver.h | 8
lib/ethdev/version.map | 4
3 files changed, 52 insertions(+)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_fl
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.h | 222 +++
iguration refactored
- testpmd updated
- documentation updated
- PMD patches are removed temporarily (updating WIP, be presented in rc2)
- v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD code is introduced
Signed-off-by: Viacheslav Ovsiienko
Gregory Etelson (4)
format from STDIN or input
file and convert it into C object using jansson library calls.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/meson.build | 5 +
app/test-pmd/testpmd.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a/app/test-pmd
gory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline.c | 2 +
app/test-pmd/cmdline_flow.c | 763 +++-
app/test-pmd/testpmd.c | 2 +-
app/test-pmd/testpmd.h | 16 +
doc/guides/te
- mlx5 PMD updated
v3: - comments addressed
- documentation updated
- typos fixed
Signed-off-by: Viacheslav Ovsiienko
Viacheslav Ovsiienko (5):
ethdev: update modify field flow action
ethdev: fix missed experimental tag for modify field action
app/testpmd: update modify field f
deprecation notice has been removed.
[1] commit 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Fixes: 2ba49b5f3721 ("doc: announce change to ethdev modify action data")
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/prog_guide/r
EXPERIMENTAL tag was missed in rte_flow_action_modify_data
structure description.
Fixes: 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.h | 3 +++
1 file changed, 3 insertions(+)
diff -
ned-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 736029c4fd..6827d9228f 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/ap
32 / end
4. Assign destination MAC with EA:11:0B:AD:0B:ED value:
flow create 0 egress group 1
pattern eth / end
actions modify_field op set
dst_type mac_dst
src_type value
src_value EA110BAD0BED
width 48 / end
Signed-off-by: V
immediate value offset is expected
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
drivers/net/mlx5/mlx5_flow_dv.c | 50 +++--
1 file changed, 29 insertions(+), 21 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
32 / end
4. Assign destination MAC with EA:11:0B:AD:0B:ED value:
flow create 0 egress group 1
pattern eth / end
actions modify_field op set
dst_type mac_dst
src_type value
src_value EA110BAD0BED
width 48 / end
Signed-off-by: V
immediate value offset is expected
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 123 +++-
1 file changed, 42 insertions(+), 81 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index c6370cd1d6
nd cleanup
Viacheslav Ovsiienko (5):
ethdev: update modify field flow action
ethdev: fix missed experimental tag for modify field action
app/testpmd: update modify field flow action support
app/testpmd: fix hex string parser in flow commands
net/mlx5: update modify field action
app/test-pmd/cmdl
EXPERIMENTAL tag was missed in rte_flow_action_modify_data
structure description.
Fixes: 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
lib/ethdev/rte_flow.h
ned-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 736029c4fd..6827d9228f 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/ap
deprecation notice has been removed.
[1] commit 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Fixes: 2ba49b5f3721 ("doc: announce change to ethdev modify action data")
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
d
y: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c| 40
lib/ethdev/rte_flow_driver.h | 8
lib/ethdev/version.map | 4
3 files changed, 52 insertions(+)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_fl
ly (updating WIP, be presented in rc2)
- v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD code is introduced
Signed-off-by: Viacheslav Ovsiienko
Gregory Etelson (4):
ethdev: support flow elements with variable length
ethdev: implement RTE flex item API
app/
order to handle this item (and potentially other new ones
with variable pattern length) in RTE flow copy and conversion routines
the helper function is introduced.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c | 83
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.h | 222 +++
gory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline.c | 2 +
app/test-pmd/cmdline_flow.c | 764 +++-
app/test-pmd/testpmd.c | 2 +-
app/test-pmd/testpmd.h | 16 +
doc/guides/te
format from STDIN or input
file and convert it into C object using jansson library calls.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/meson.build | 5 +
app/test-pmd/testpmd.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a/app/test-pmd
ds removed as not supported and non-complete
API
- tunnel mode configuration refactored
- testpmd updated
- documentation updated
- PMD patches are removed temporarily (updating WIP, be presented in rc2)
- v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD cod
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.h | 222
to handle this item (and potentially other new ones
with variable pattern length) in RTE flow copy and conversion routines
the helper function is introduced.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
lib/ethdev/rte_flow.c | 81
y: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c| 40
lib/ethdev/rte_flow_driver.h | 8
lib/ethdev/version.map | 4
3 files changed, 52 insertions(+)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_fl
format from STDIN or input
file and convert it into C object using jansson library calls.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
app/test-pmd/meson.build | 5 +
app/test-pmd/testpmd.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a
gory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline.c | 2 +
app/test-pmd/cmdline_flow.c | 764 +++-
app/test-pmd/testpmd.c | 2 +-
app/test-pmd/testpmd.h | 16 +
doc/guides/te
d variable in mlx5
Viacheslav Ovsiienko (5):
ethdev: update modify field flow action
ethdev: fix missed experimental tag for modify field action
app/testpmd: update modify field flow action support
app/testpmd: fix hex string parser in flow commands
net/mlx5: update modify field action
ap
deprecation notice has been removed.
[1] commit 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Fixes: 2ba49b5f3721 ("doc: announce change to ethdev modify action data")
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
d
EXPERIMENTAL tag was missed in rte_flow_action_modify_data
structure description.
Fixes: 73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Cc: sta...@dpdk.org
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
lib/ethdev/rte_flow.h
32 / end
4. Assign destination MAC with EA:11:0B:AD:0B:ED value:
flow create 0 egress group 1
pattern eth / end
actions modify_field op set
dst_type mac_dst
src_type value
src_value EA110BAD0BED
width 48 / end
Signed-off-by: V
ned-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 736029c4fd..6827d9228f 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/ap
immediate value offset is expected (the source
subfield is located at the same offset as in destination)
Signed-off-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 128 +++-
1 file changed, 44 insertions(+), 84 deletions(-)
diff --git a/drivers/net
tation updated
- PMD patches are removed temporarily (updating WIP, be presented in rc2)
- v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD code is introduced
Signed-off-by: Viacheslav Ovsiienko
Gregory Etelson (5):
ethdev: support flow elements with variab
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.h | 222
to handle this item (and potentially other new ones
with variable pattern length) in RTE flow copy and conversion routines
the helper function is introduced.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
lib/ethdev/rte_flow.c | 81
From: Gregory Etelson
testpmd flow creation is constructed from these procedures:
1. receive string with flow rule description;
2. parse input string and build flow parameters: port_id value,
flow attributes, items array, actions array;
3. create a flow rule from flow rule parameters.
y: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
lib/ethdev/rte_flow.c| 40
lib/ethdev/rte_flow_driver.h | 8
lib/ethdev/version.map | 2 ++
3 files changed, 50 insertions(+)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_fl
format from STDIN or input
file and convert it into C object using jansson library calls.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
app/test-pmd/meson.build | 5 +
app/test-pmd/testpmd.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a
gory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmd_flex_item.c| 548
app/test-pmd/cmdline.c | 2 +
app/test-pmd/cmdline_flow.c | 223 +++-
app/test-pmd/meson.build| 1 +
app/test-p
potentially other new ones
with variable pattern length) in flow copy and conversion routines
the helper function is introduced.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
lib/ethdev/rte_flow.c | 66 ++-
1 file
v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD code is introduced
Signed-off-by: Viacheslav Ovsiienko
Gregory Etelson (2):
app/testpmd: add dedicated flow command parsing routine
app/testpmd: add flex item CLI commands
Viacheslav Ovsiienko (2):
ethdev:
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.c |
provides a caller with parsed data. This is a preparation step
for introducing flex item command processing.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline_flow.c | 24
app/test-pmd/testpmd.h | 5 +
2 files changed, 29
tionality
is disabled.
Jansson development files must be present:
jansson.pc, jansson.h libjansson.[a,so]
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmd_flex_item.c| 548
app/test-pmd/cmdline.c | 2
non-complete
API
- tunnel mode configuration refactored
- testpmd updated
- documentation updated
- PMD patches are removed temporarily (updating WIP, be presented in rc2)
- v1 -> v2:
- testpmd CLI to handle flex item is provided
- draft PMD code is introduced
Signed-off
handle this item (and potentially other new ones
with variable pattern length) in flow copy and conversion routines
the helper function is introduced.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
lib/ethdev/rte_flow.c | 66
tionality
is disabled.
Jansson development files must be present:
jansson.pc, jansson.h libjansson.[a,so]
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmd_flex_item.c| 548
app/test-pmd/cmdline.c | 2
tch = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/prog_guide/rte_flow.rst | 25 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_flow.c |
provides a caller with parsed data. This is a preparation step
for introducing flex item command processing.
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline_flow.c | 24
app/test-pmd/testpmd.h | 5 +
2 files changed, 29
ned-off-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline_flow.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 529ead6b2a..9e7fe1ae9f 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@
32 / end
4. Assign destination MAC with EA:11:0B:AD:0B:ED value:
flow create 0 egress group 1
pattern eth / end
actions modify_field op set
dst_type mac_dst
src_type value
src_value EA110BAD0BED
width 48 / end
Signed-off-by: V
73b68f4c54a0 ("ethdev: introduce generic modify flow action")
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/prog_guide/rte_flow.rst | 8
doc/guides/rel_notes/release_21_11.rst | 7 +++
lib/ethdev/rte_flow.h | 15 ---
3 files changed, 27
y Etelson (2):
ethdev: support flow elements with variable length
ethdev: implement RTE flex item API
Viacheslav Ovsiienko (1):
ethdev: introduce configurable flexible item
doc/guides/prog_guide/rte_flow.rst | 24 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_e
From: Gregory Etelson
RTE flow API provides RAW item type for packet patterns of variable
length. The RAW item structure has fixed size members that describe the
variable pattern length and methods to process it.
A new RTE flow item type with variable length pattern that does not
fit the RAW ite
tem item_to_match = {
.type = RTE_FLOW_ITEM_TYPE_FLEX,
.spec = &spec_flex,
.mask = &mask_flex,
};
Signed-off-by: Viacheslav Ovsiienko
---
doc/guides/prog_guide/rte_flow.rst | 24 +++
doc/guides/rel_notes/release_21_11.rst | 7 +
lib/ethdev/rte_e
From: Gregory Etelson
RTE flex item API was introduced in
"ethdev: introduce configurable flexible item" patch.
The API allows DPDK application to define parser for custom
network header in port hardware and offload flows that will match
the custom header elements.
Signed-off-by: Gregory Etelso
1 - 100 of 1012 matches
Mail list logo