[PATCH v3 0/3] support match icmpv6 ID and sequence

2023-02-05 Thread Leo Xu
content of rte_icmp6.h into rte_icmp.h. Just keep one header file(rte_icmp.h) for icmp. * Correct some code style problems. Leo Xu (3): ethdev: add ICMPv6 ID and sequence net/mlx5: add ICMPv6 ID and sequence match support net/mlx5/hws: add ICMPv6 ID and sequence match support .mailmap

[PATCH v3 1/3] ethdev: add ICMPv6 ID and sequence

2023-02-05 Thread Leo Xu
-off-by: Leo Xu Acked-by: Ori Kam --- .mailmap| 1 + app/test-pmd/cmdline_flow.c | 70 + doc/guides/nics/features/default.ini| 2 + doc/guides/prog_guide/rte_flow.rst | 14 + doc/guides/rel_notes

[PATCH v3 2/3] net/mlx5: add ICMPv6 ID and sequence match support

2023-02-05 Thread Leo Xu
) Echo reply: type(129), code(0) type and code provided by application will be ignored. Signed-off-by: Leo Xu --- doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 4 +- doc/guides/rel_notes/release_23_03.rst | 4 ++ drivers/net/mlx5/mlx5_flow.c

[PATCH v3 3/3] net/mlx5/hws: add ICMPv6 ID and sequence match support

2023-02-05 Thread Leo Xu
), code(0) Echo reply: type(129), code(0) type and code provided by application will be ignored Signed-off-by: Leo Xu --- drivers/net/mlx5/hws/mlx5dr_definer.c | 88 +++ 1 file changed, 88 insertions(+) diff --git a/drivers/net/mlx5/hws/mlx5dr_definer.c b/drivers/net/mlx5

[PATCH 0/3] support match icmpv6 id and sequence

2022-12-12 Thread Leo Xu
Currently, rte_flow API does not support matching id and sequence fields of icmp6 echo packets. This patchset is used to support match icmpv6 id and sequence in rte_flow. It adds needed API in rte_flow, and gives corresponding implementation for mlx5 pmd. Leo Xu (3): ethdev: add ICMPv6 id and

[PATCH 1/3] ethdev: add ICMPv6 id and sequence

2022-12-12 Thread Leo Xu
pattern to support ICMPv6 identifier and sequence. Example of ICMPv6 echo pattern in testpmd command: pattern eth / ipv6 / icmp6_echo_request / end pattern eth / ipv6 / icmp6_echo_reply / end pattern eth / ipv6 / icmp6_echo_request ident is 20 seq is 30 / end Signed-off-by: Leo Xu Signed-off

[PATCH 2/3] net/mlx5: add ICMPv6 id and sequence match support

2022-12-12 Thread Leo Xu
) Echo reply: type(129), code(0) type and code provided by application will be ignored. Signed-off-by: Leo Xu --- doc/guides/nics/mlx5.rst| 2 +- drivers/net/mlx5/mlx5_flow.c| 61 ++ drivers/net/mlx5/mlx5_flow.h| 4 ++ drivers/net/mlx5/mlx5_flow_dv.c | 76

[PATCH 3/3] net/mlx5/hws: add ICMPv6 id and sequence match support

2022-12-12 Thread Leo Xu
correct inner function. 2. Member order of mlx5_ifc_header_icmp_bits doesn't follow ICMP format. Reorder them to make it more consistent. Signed-off-by: Leo Xu Signed-off-by: Shun Hao --- drivers/net/mlx5/steering/mlx5dr_definer.c | 110 ++--- drivers/net/mlx5/ste

[PATCH v2 0/3] support match icmpv6 ID and sequence

2022-12-19 Thread Leo Xu
Currently, rte_flow API does not support matching ID and sequence fields of icmp6 echo packets. This patchset is used to support match icmpv6 ID and sequence in rte_flow. It adds needed API in rte_flow, and gives corresponding implementation for mlx5 pmd. Leo Xu (3): ethdev: add ICMPv6 ID and

[PATCH v2 1/3] ethdev: add ICMPv6 ID and sequence

2022-12-19 Thread Leo Xu
pattern to support ICMPv6 identifier and sequence. Example of ICMPv6 echo pattern in testpmd command: pattern eth / ipv6 / icmp6_echo_request / end pattern eth / ipv6 / icmp6_echo_reply / end pattern eth / ipv6 / icmp6_echo_request ident is 20 seq is 30 / end Signed-off-by: Leo Xu Signed-off

[PATCH v2 2/3] net/mlx5: add ICMPv6 ID and sequence match support

2022-12-19 Thread Leo Xu
) Echo reply: type(129), code(0) type and code provided by application will be ignored. Signed-off-by: Leo Xu --- doc/guides/nics/mlx5.rst | 2 +- doc/guides/rel_notes/release_23_03.rst | 6 ++ drivers/net/mlx5/mlx5_flow.c | 61 + drivers/net/mlx5

[PATCH v2 3/3] net/mlx5/hws: add ICMPv6 ID and sequence match support

2022-12-19 Thread Leo Xu
correct inner function. 2. Member order of mlx5_ifc_header_icmp_bits doesn't follow ICMP format. Reorder them to make it more consistent. Signed-off-by: Leo Xu --- drivers/net/mlx5/hws/mlx5dr_definer.c | 88 +++ 1 file changed, 88 insertions(+) diff --git a/drivers/net

RE: [PATCH v2 0/3] support match icmpv6 ID and sequence

2023-01-30 Thread Leo Xu (Networking SW)
Hi, PSB > -Original Message- > From: Ferruh Yigit > Sent: Thursday, January 26, 2023 6:47 PM > To: Leo Xu (Networking SW) > Cc: Matan Azrad ; dev@dpdk.org; Slava Ovsiienko > > Subject: Re: [PATCH v2 0/3] support match icmpv6 ID and sequence > > External

RE: [PATCH v2 1/3] ethdev: add ICMPv6 ID and sequence

2023-01-30 Thread Leo Xu (Networking SW)
Hi, PSB > -Original Message- > From: Ferruh Yigit > Sent: Thursday, January 26, 2023 6:45 PM > To: Leo Xu (Networking SW) ; dev@dpdk.org > Cc: Bing Zhao ; Ori Kam ; Aman Singh > ; Yuying Zhang ; > NBU-Contact-Thomas Monjalon (EXTERNAL) ; Andrew > Rybchenko ; O

RE: [PATCH v2 1/3] ethdev: add ICMPv6 ID and sequence

2023-01-30 Thread Leo Xu (Networking SW)
Hi Thomas, Thanks for those comments. PSB > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, January 18, 2023 5:31 PM > To: Leo Xu (Networking SW) > Cc: dev@dpdk.org; Bing Zhao ; Ori Kam > ; Aman Singh ; Yuying > Zhang ; Ferruh Yigit ; > Andrew

RE: [PATCH v2 3/3] net/mlx5/hws: add ICMPv6 ID and sequence match support

2023-01-30 Thread Leo Xu (Networking SW)
Hi Thomas, PSB > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, January 18, 2023 4:58 PM > To: Leo Xu (Networking SW) > Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > > Subject: Re: [PATCH v2 3/3] net/mlx5/hws: add ICMPv6 ID and sequence match &g

RE: [PATCH v2 2/3] net/mlx5: add ICMPv6 ID and sequence match support

2023-01-30 Thread Leo Xu (Networking SW)
Hi Thomas, PSB > -Original Message- > From: Thomas Monjalon > Sent: Wednesday, January 18, 2023 4:55 PM > To: Leo Xu (Networking SW) > Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > > Subject: Re: [PATCH v2 2/3] net/mlx5: add ICMPv6 ID and sequence match &g

RE: [PATCH v2 1/3] ethdev: add ICMPv6 ID and sequence

2023-02-02 Thread Leo Xu (Networking SW)
Hi Thomas PSB > 31/01/2023 07:53, Leo Xu (Networking SW): > > From: Thomas Monjalon > > > 20/12/2022 08:44, Leo Xu: > > > > +/** > > > > + * ICMP6 header > > > > + */ > > > > +struct rte_icmp6_hdr { > > > > +

RE: [PATCH v2 1/3] ethdev: add ICMPv6 ID and sequence

2023-02-02 Thread Leo Xu (Networking SW)
> 02/02/2023 19:33, Leo Xu (Networking SW): > > > 31/01/2023 07:53, Leo Xu (Networking SW): > > > > From: Thomas Monjalon > > > > > 20/12/2022 08:44, Leo Xu: > > > > > > +/** > > > > > > + * ICMP6 header > >