When using other process to dump flow information, the modify field
information cannot be dumpped due to incorrect lcore value. Add loop
to get modify field information from all lcore to fix the issue.
Fixes: a7ac7fae4919 ("net/mlx5: enhance flow dump")
Cc: sta...@dpdk.org
Signed-of
> -Original Message-
> From: Thomas Monjalon
> Sent: Tuesday, November 1, 2022 5:37 PM
> To: Raslan Darawsheh ; Matan Azrad
> ; Slava Ovsiienko ; Sean
> Zhang (Networking SW)
> Cc: dev@dpdk.org
> Subject: Re: [PATCH] doc: support flow matching on represento
Add note for support of matching on port representor ID.
Fixes: 707d5e7d79e0 ("net/mlx5: support flow matching on representor ID")
Signed-off-by: Sean Zhang
---
v2 - add fixes line
---
doc/guides/nics/mlx5.rst | 1 +
doc/guides/rel_notes/release_22_11.rst | 1 +
2 fil
Add note for support of matching on port representor ID.
Signed-off-by: Sean Zhang
---
doc/guides/nics/mlx5.rst | 1 +
doc/guides/rel_notes/release_22_11.rst | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index d5f9375a4e
the flow will not be expanded and match on
traffic from any representor port.
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
The depending patches as below:
[1]
http://patches.dpdk.org/project/dpdk/cover/20220930125315.5079-1-suanmi...@nvidia.com
---
v4 - update the commit title
the flow will not be expanded and match on
traffic from any representor port.
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
The depending patches as below:
[1]
http://patches.dpdk.org/project/dpdk/cover/20220930125315.5079-1-suanmi...@nvidia.com
---
v3 - rebase to the latest version
Thanks Ivan for the comments, patch updated.
> -Original Message-
> From: Ivan Malov
> Sent: Wednesday, October 19, 2022 11:43 PM
> To: Sean Zhang (Networking SW)
> Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ;
> Matan Azrad ; Slava Ovsiienko
> ; Andrew Rybch
the flow will not be expanded and match on
traffic from any representor port.
Signed-off-by: Sean Zhang
---
The depending patches as below:
[1]
http://patches.dpdk.org/project/dpdk/cover/20220930125315.5079-1-suanmi...@nvidia.com
---
v2 - commit message updated and add missing feature in
low will not be expanded and match on
traffic from any representor port.
Signed-off-by: Sean Zhang
---
The depending patches as below:
[1]
http://patches.dpdk.org/project/dpdk/cover/20220930125315.5079-1-suanmi...@nvidia.com
---
drivers/net/mlx5/mlx5_flow.c|
This patch is to support modify ECN field in IPv4/IPv6 header.
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics/mlx5.rst | 1 +
doc/guides/rel_notes/release_22_07.rst | 1 +
drivers/net/mlx5/mlx5_flow_dv.c| 20
3 files
off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics/mlx5.rst | 4 ++--
drivers/net/mlx5/mlx5_flow.c | 5 +++-
drivers/net/mlx5/mlx5_flow.h | 2 ++
drivers/net/mlx5/mlx5_flow_dv.c| 49 ++
drivers/net/m
Flag outer_ip_ecn in header modify capabilities properties layout is
added in order to check if the firmware supports modification of ecn
field.
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1
This patch set adds support for modifying ECN fields in IPv4/IPv6
header, and also adds support for modify_filed action in meter.
---
v2 --- rebase and add missing doc
---
Sean Zhang (3):
common/mlx5: add modify ECN capability check
net/mlx5: add support to modify ECN field
net/mlx5: add
ess transfer group 0 pattern eth /
represented_port / end actions represented_port ethdev_id is 0 / end
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
v2 -- add missing doc
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/nics/mlx5.rst | 1 +
doc/gui
> -Original Message-
> From: Ferruh Yigit
> Sent: Thursday, June 2, 2022 7:45 PM
> To: Sean Zhang (Networking SW) ; Matan Azrad
> ; Slava Ovsiienko
> Cc: dev@dpdk.org
> Subject: Re: [v1 0/4] Add support for modifying ECN in IPv4/IPv6 header
>
> External
From: Jiawei Wang
This patch introduces the IPv4/IPv6 ECN modify field support, and
adds the testpmd CLI commands support.
Usage:
modify_field op set dst_type ipv4_ecn src_type ...
For example:
flow create 0 ingress group 1 pattern eth / ipv4 / end actions
modify_field op set
off-by: Sean Zhang
---
doc/guides/nics/mlx5.rst | 4 +--
drivers/net/mlx5/mlx5_flow.c | 5 ++-
drivers/net/mlx5/mlx5_flow.h | 2 ++
drivers/net/mlx5/mlx5_flow_dv.c| 49 +++---
drivers/net/mlx5/mlx5_flow_meter.c | 2 +-
5 files changed,
This patch is to support modify ECN field in IPv4/IPv6 header.
Signed-off-by: Sean Zhang
---
drivers/net/mlx5/mlx5_flow_dv.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 1e9bd63635..e416eb5701
Flag outer_ip_ecn in header modify capabilities properties layout is
added in order to check if the firmware supports modification of ecn
field.
Signed-off-by: Sean Zhang
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5
This patch set adds support for modifying ECN fields in IPv4/IPv6
header, and also adds support for modify_filed action in meter.
Jiawei Wang (1):
ethdev: add IPv4/IPv6 ECN header rewrite action
Sean Zhang (3):
common/mlx5: add modify ECN capability check
net/mlx5: add support to modify
ess transfer group 0 pattern eth /
represented_port / end actions represented_port ethdev_id is 0 / end
Signed-off-by: Sean Zhang
---
drivers/net/mlx5/mlx5_flow.h| 4 +
drivers/net/mlx5/mlx5_flow_dv.c | 160 +++-
2 files changed, 163 insertions(+), 1 delet
Thanks Thomas.
> -Original Message-
> From: Thomas Monjalon
> Sent: Friday, February 25, 2022 11:32 PM
> To: Sean Zhang (Networking SW)
> Cc: Matan Azrad ; Slava Ovsiienko
> ; dev@dpdk.org; Asaf Penso
> Subject: Re: [PATCH] net/mlx5: support matching o
Hi Raslan,
Rebased and new version sent out.
Thanks,
Sean
> -Original Message-
> From: Raslan Darawsheh
> Sent: Thursday, February 24, 2022 9:18 PM
> To: Sean Zhang (Networking SW) ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Matan Azrad
> ; Slava Ovsiienko
matching as before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.
Signed-off-by: Sean Zhang
Acked-by: Viacheslav Ovsiienko
---
v4 - code rebase
v3 - some code style change
v2 - replace default mask with nic mask
---
doc/guides/nics/mlx5.rst
Hi Thomas,
> -Original Message-
> From: Thomas Monjalon
> Sent: Thursday, February 17, 2022 4:34 PM
> To: Matan Azrad ; Slava Ovsiienko
> ; Sean Zhang (Networking SW)
>
> Cc: dev@dpdk.org
> Subject: Re: [PATCH] net/mlx5: support matching optional fields of GRE
matching as before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.
Signed-off-by: Sean Zhang
Acked-by: Slava Ovsiienko
---
v3 - some code style change
v2 - replace default mask with nic mask
---
doc/guides/nics/mlx5.rst | 10
> -Original Message-
> From: Ferruh Yigit
> Sent: Friday, February 11, 2022 5:37 PM
> To: Sean Zhang (Networking SW) ; NBU-Contact-
> Thomas Monjalon (EXTERNAL)
> Cc: dev@dpdk.org; Andrew Rybchenko ;
> Ori Kam ; Qi Zhang
> Subject: Re: [v2 0/4] Add support
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Friday, February 11, 2022 5:38 PM
> To: Sean Zhang (Networking SW) ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Olivier Matz
>
> Cc: dev@dpdk.org; Andrew Rybchenko ;
> Ori Kam
> Subject: Re: [v2 1/
before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.
Signed-off-by: Sean Zhang
---
doc/guides/nics/mlx5.rst | 8 +++
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +
drivers/net/mlx5/linux/mlx5_os.c | 2 +
drivers/net
cksum is 0x11 /
end .. (c_bit is unset for gre item, but checksum is
specified by gre_option item)
Signed-off-by: Sean Zhang
---
app/test-pmd/cmdline_flow.c | 72 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +++
2 fi
Add flow pattern items and header format for matching optional fields
(checksum/key/sequence) in GRE header. And the flags in gre item should
be correspondingly set with the new added items.
Signed-off-by: Sean Zhang
---
doc/guides/prog_guide/rte_flow.rst | 17 +
doc/guides
There are optional fields in GRE header(checksum/key/sequence), this
patch adds definition of structures of the optional fields.
Signed-off-by: Sean Zhang
---
lib/net/rte_gre.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/lib/net/rte_gre.h b/lib/net/rte_gre.h
ld be correspondingly
set. For example, if using gre_option to match checksum, the c_bit should
be set '1' (.. / gre c_bit is 1 / gre_option checksum is xx / ..).
change in v2:
-changed the struct defined in rte_flow for gre_option item.
-fixed raw encap issue.
Sean Zhang (4):
lib: ad
before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.
Signed-off-by: Sean Zhang
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +
drivers/net/mlx5/linux/mlx5_os.c | 2 +
drivers/net/mlx5/mlx5.h | 1 +
drivers/net
Add flow pattern items and header format for matching optional fields
(checksum/key/sequence) in GRE header. And the flags in gre item should
be correspondingly set with the new added items.
Signed-off-by: Sean Zhang
---
doc/guides/prog_guide/rte_flow.rst | 17 +
lib/ethdev
cksum is 0x11 /
end .. (c_bit is unset for gre item, but checksum is
specified by gre_option item)
Signed-off-by: Sean Zhang
---
app/test-pmd/cmdline_flow.c | 59 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +++
2 fi
ld be correspondingly
set. For example, if using gre_option to match checksum, the c_bit should
be set '1' (.. / gre c_bit is 1 / gre_option checksum is xx / ..).
Sean Zhang (4):
lib: add optional fields in GRE header
ethdev: support GRE optional fields
app/testpmd: add gre_option i
There are optional fields in GRE header(checksum/key/sequence), this
patch adds definition of structures of the optional fields.
Signed-off-by: Sean Zhang
---
lib/net/rte_gre.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/lib/net/rte_gre.h b/lib/net/rte_gre.h
index
Hi,
> -Original Message-
> From: Ori Kam
> Sent: Wednesday, January 19, 2022 6:57 PM
> To: NBU-Contact-Thomas Monjalon (EXTERNAL) ;
> Sean Zhang (Networking SW) ; Matan Azrad
> ; Ferruh Yigit
> Cc: Andrew Rybchenko ; dev@dpdk.org
> Subject: RE: [RFC 1/3] ethd
Hi Ori,
> -Original Message-
> From: Ori Kam
> Sent: Tuesday, January 11, 2022 3:24 PM
> To: Sean Zhang (Networking SW) ; Matan Azrad
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Ferruh Yigit ; Andrew
> Rybchenko
> Cc: dev@dpdk.org
> Subject: RE: [RFC 1/3] e
Hi Ori,
> -Original Message-
> From: Ori Kam
> Sent: Sunday, January 9, 2022 8:30 PM
> To: Sean Zhang (Networking SW) ; Matan Azrad
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Ferruh Yigit ; Andrew
> Rybchenko
> Cc: dev@dpdk.org
> Subject: RE: [RFC 1/3] e
before, but for patterns with checksum or sequence, validate
capability first and then use misc5 for the matching.
Signed-off-by: Sean Zhang
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +
drivers/net/mlx5/linux/mlx5_os.c | 2 +
drivers/net/mlx5/mlx5.h | 1 +
drivers/net
cksum is 0x11 /
end .. (c_bit is unset for gre item, but checksum is
specified by gre_option item)
Signed-off-by: Sean Zhang
---
app/test-pmd/cmdline_flow.c | 57 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 +++
2 fi
Add flow pattern items and header format for matching optional fields
(checksum/key/sequence) in GRE header. And the flags in gre item should
be correspondingly set with the new added items.
Signed-off-by: Sean Zhang
---
doc/guides/prog_guide/rte_flow.rst | 16
lib/ethdev
ld be correspondingly
set. For example, if using gre_option to match checksum, the c_bit should
be set '1' (.. / gre c_bit is 1 / gre_option checksum is xx / ..).
Sean Zhang (3):
ethdev: support GRE optional fields
app/testpmd: add gre_option item command
net/mlx5: support matching
ortmask=0x12 --vxlan-encap --port-id=0,3
This command means the rules created on both representor 0 of PF 0
and PF 1, the destination port for the first represontor is PF 0,
and the destination port for the other one it PF 1.
Signed-off-by: Sean Zhang
---
v2:
remove new added dst-ports parameter, reuse
> -Original Message-
> From: Wisam Monther
> Sent: Tuesday, October 12, 2021 4:16 PM
> To: Sean Zhang (Networking SW) ; NBU-Contact-
> Thomas Monjalon
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: RE: [PATCH] app/flow-perf: add destination ports parameter
>
Hi Wisam,
> -Original Message-
> From: Wisam Monther
> Sent: Tuesday, October 12, 2021 3:53 PM
> To: Sean Zhang (Networking SW) ; NBU-Contact-
> Thomas Monjalon
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: RE: [PATCH] app/flow-perf: add destination po
-transfer --ingress --transfer \
> --ether --portmask=0x12 --vxlan-encap --port-id --dst-ports=0,3
This command means the rules created on both representor 0 of PF 0
and PF 1, the destination port for the first represontor is PF 0,
and the destination port for the other one it PF 1.
Signed-off-by
Remove debug log inside of mlx5_list_init to avoid flooding debug
messages when creating hash list with large actual size.
Fixes: 9c373c524bae ("common/mlx5: move list utility from net driver")
Cc: sta...@dpdk.org
Signed-off-by: Sean Zhang
Acked-by: Matan Azrad
---
drivers/c
Remove debug log inside of mlx5_list_init to avoid flooding debug
messages when creating hash list with large actual size.
Fixes: 9c373c524bae ('common/mlx5: move list utility from net driver')
Cc: sta...@dpdk.org
Signed-off-by: Sean Zhang
Acked-by: Matan Azrad
---
drivers/c
51 matches
Mail list logo