Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/9/2025 3:08 PM, Burakov, Anatoly wrote: On 5/9/2025 3:02 PM, Burakov, Anatoly wrote: On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account

Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other

[PATCH v10 2/3] cmdline: add floating point support

2025-05-09 Thread Anatoly Burakov
Add support for parsing floating point numbers in cmdline library, as well as unit tests for the new functionality. Use C library for parsing. Signed-off-by: Anatoly Burakov --- Notes: v7 -> v8: - Fixed leftover comment about needing bigger epsilon value - Fixed debug prints to avoid

Re: [PATCH] net/ice: update log message

2025-05-09 Thread Burakov, Anatoly
On 5/2/2025 5:25 PM, Pillai, Dhanya R wrote: Added log message for ddp package load failure. Judging by the code, the log message already existed, so technically it's not "adding" anything. IMO a better wording would be: "Clarified log message for DDP package load failure". mailmap: updat

[PATCH] regexdev: enable to be compiled on Windows

2025-05-09 Thread Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well. Signed-off-by: Andre Muezerie --- lib/regexdev/meson.build | 6 -- 1 file changed, 6 deletions(-) diff --git a/lib/regexdev/meson.build b/lib/regexdev/meson.build index 426e764ece..7e12d8cd6d 100644 --- a/lib/regexd

[PATCH v2 10/13] node: add IP6 FIB route add

2025-05-09 Thread Ankur Dwivedi
Adds a public function to add IP6 route to FIB. The applications should call this function to add IP6 routes to FIB. Signed-off-by: Ankur Dwivedi --- lib/node/ip6_lookup_fib.c | 35 +++ lib/node/rte_node_ip6_api.h | 19 +++ 2 files changed, 54 in

[PATCH v10 3/3] app/testpmd: add sleep command

2025-05-09 Thread Anatoly Burakov
Test-pmd already has a way to run a list of commands from file, but there is no way to pause execution for a specified amount of time between two commands. This may be necessary for simple automation, particularly for waiting on some asynchronous operation such as link status update. Add a simple

[PATCH v10 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Anatoly Burakov
Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other than base-10 numbers, whereas C standard li

Re: [PATCH v8 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/9/2025 3:02 PM, Burakov, Anatoly wrote: On 5/8/2025 3:16 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "n

RE: Addressing ninja build error message

2025-05-09 Thread Loftus, Ciara
Hi Vivek, Could you please send me meson-logs/meson-log.txt? It will tell me what version of libbpf you are using and some other useful info. It looks to me that the af_xdp meson build is not correctly determining what libbpf functions are available in your environment. As a side note, if you d

[PATCH v9 3/3] app/testpmd: add sleep command

2025-05-09 Thread Anatoly Burakov
Test-pmd already has a way to run a list of commands from file, but there is no way to pause execution for a specified amount of time between two commands. This may be necessary for simple automation, particularly for waiting on some asynchronous operation such as link status update. Add a simple

[PATCH v9 2/3] cmdline: add floating point support

2025-05-09 Thread Anatoly Burakov
Add support for parsing floating point numbers in cmdline library, as well as unit tests for the new functionality. Use C library for parsing. Signed-off-by: Anatoly Burakov --- Notes: v7 -> v8: - Fixed leftover comment about needing bigger epsilon value - Fixed debug prints to avoid

[PATCH v9 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Anatoly Burakov
Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other than base-10 numbers, whereas C standard li

Re: [PATCH v9 1/3] cmdline: use C standard library as number parser

2025-05-09 Thread Burakov, Anatoly
On 5/9/2025 3:39 PM, Anatoly Burakov wrote: Remove custom number parser and use C standard library instead. In order to keep compatibility with earlier versions of the parser, we have to take into account a couple of quirks: - We did not consider "negative" numbers to be valid for anything other

Re: [PATCH] rust: RFC/demo of safe API for Dpdk Eal, Eth and Rxq

2025-05-09 Thread Van Haaren, Harry
> From: Owen Hilyard > Sent: Friday, May 09, 2025 12:53 AM > To: Van Haaren, Harry; Etelson, Gregory; Richardson, Bruce > Cc: dev@dpdk.org > Subject: Re: [PATCH] rust: RFC/demo of safe API for Dpdk Eal, Eth and Rxq > > > From: Van Haaren, Harry > > Sent: Tuesday, May 6, 2025 12:39 PM > > To: Owen

[PATCH] net/ice: update log message

2025-05-09 Thread Pillai, Dhanya R
Clarified log message for DDP package load failure Signed-off-by: Pillai, Dhanya R Notes v2 - better commit message --- .mailmap | 1 + drivers/net/intel/ice/ice_ethdev.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index d

[PATCH v2 00/13] add lookup fib nodes in graph library

2025-05-09 Thread Ankur Dwivedi
This patch series adds two inbuilt nodes ip4_lookup_fib and ip6_lookup_fib in graph library. These nodes uses the existing Forwarding Information Base (FIB) library to create FIB, to do route addition and route lookup. Two new commands (for ipv4 and ipv6) for providing the lookup mode is added in

[PATCH v2 08/13] fib: move macro to header file

2025-05-09 Thread Ankur Dwivedi
Moves the macro FIB6_NAMESIZE to header file and rename it to RTE_FIB6_NAMESIZE. Signed-off-by: Ankur Dwivedi --- lib/fib/rte_fib6.c | 11 --- lib/fib/rte_fib6.h | 3 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/fib/rte_fib6.c b/lib/fib/rte_fib6.c index 00647bd

RE: [PATCH v6 1/2] node: add global node mbuf dynfield

2025-05-09 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Nitin Saxena > Sent: Monday, April 28, 2025 4:07 PM > To: Nithin Kumar Dabilpuram ; Pavan Nikhilesh > Bhagavatula ; Robin Jarry > ; Christophe Fontaine > Cc: dev@dpdk.org; Jerin Jacob ; Nitin Saxena > > Subject: [PATCH v6 1/2] node: add global node mbuf dy

[PATCH v2 02/13] node: add IP4 lookup FIB node

2025-05-09 Thread Ankur Dwivedi
Adds a lookup FIB node for IP4. Adds a public function to do fib configuration from application. Signed-off-by: Ankur Dwivedi --- lib/node/ip4_lookup_fib.c | 141 lib/node/meson.build| 3 +- lib/node/rte_node_ip4_api.h | 15 3 files changed,

[PATCH v2 04/13] node: add process callback for IP4 FIB

2025-05-09 Thread Ankur Dwivedi
Adds the process callback function for ip4_lookup_fib node. Signed-off-by: Ankur Dwivedi --- lib/node/ip4_lookup_fib.c | 154 ++ 1 file changed, 154 insertions(+) diff --git a/lib/node/ip4_lookup_fib.c b/lib/node/ip4_lookup_fib.c index f300266c00..f9a5c5aa5a

RE: [PATCH v6 2/2] node: use node mbuf dynfield in ip4 nodes

2025-05-09 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Nitin Saxena > Sent: Monday, April 28, 2025 4:07 PM > To: Nithin Kumar Dabilpuram ; Pavan Nikhilesh > Bhagavatula ; Robin Jarry > ; Christophe Fontaine > Cc: dev@dpdk.org; Jerin Jacob ; Nitin Saxena > > Subject: [PATCH v6 2/2] node: use node mbuf dynfield