Re: [PATCH] rust: support DPDK API

2025-03-15 Thread Etelson, Gregory
+[dependencies] +dpdklib = {path = "MESON_INSTALL_DESTDIR_PREFIX/rust"} \ No newline at end of file Bad practice. Don't forget EOL I'll fix that

Re: [PATCH] rust: support DPDK API

2025-03-15 Thread Igor Gutorov
On Mon, Mar 10, 2025 at 7:34 PM Stephen Hemminger wrote: > > The real benefit would the ability to support PMD's built in Rust. Having DPDK libraries as Rust crates would be beneficial as well. The mempool library in particular is something I've wanted to use in some Rust projects. I've previousl

Re: [PATCH] rust: support DPDK API

2025-03-13 Thread Igor Gutorov
On Wed, Mar 12, 2025 at 5:49 PM Etelson, Gregory wrote: > > It's not sure when and even if vendors decide to work on RUST PMD. A PMD could be software based (e.g. net_pcap). For such PMDs, Rust can be a good option.

Re: [PATCH] rust: support DPDK API

2025-03-12 Thread Thomas Monjalon
12/03/2025 16:29, Igor Gutorov: > On Mon, Mar 10, 2025 at 7:34 PM Stephen Hemminger > wrote: > > > > The real benefit would the ability to support PMD's built in Rust. > > Having DPDK libraries as Rust crates would be beneficial as well. The > mempool library in particular is something I've wante

Re: [PATCH] rust: support DPDK API

2025-03-12 Thread Etelson, Gregory
Re-implementing test-pmd, l3fwd, etc in Rust is OK but not huge leap. DPDK examples and applications are part of inner infrastructure. The patch allows external RUST application as well. The real benefit would the ability to support PMD's built in Rust. That would be much more invasive It

Re: [PATCH] rust: support DPDK API

2025-03-11 Thread Etelson, Gregory
There is no DPDK API for RUST yet. My patch allows RUST application to use native DPDK API. I'll adopt you coding style suggestions in the next patch release. I have same concerns about rust in DPDK as the Linux kernel. What API's are we going to be covered? The plan is to convert API in dem

Re: [PATCH] rust: support DPDK API

2025-03-11 Thread Bruce Richardson
On Mon, Mar 10, 2025 at 09:18:44AM -0700, Stephen Hemminger wrote: > On Thu, 6 Mar 2025 15:37:13 +0200 > Gregory Etelson wrote: > > > The patch converts include files with DPDK API to RUST and binds new > > RUST API files info dpdklib package. > > > > The RUST dpdklib files and DPDK libraries bu

Re: [PATCH] rust: support DPDK API

2025-03-08 Thread Etelson, Gregory
Hello Igor, Hi Gregory! As a DPDK as well as a Rust user, I'm quite excited about this patch. I'm wondering though, is DPDK getting an official Rust API? I'm subscribed to dev and user mailing lists, and haven't seen any announcements - did I miss something? Bellow are some stylistic suggestio

Re: [PATCH] rust: support DPDK API

2025-03-07 Thread Etelson, Gregory
On Fri, 7 Mar 2025, Bruce Richardson wrote: External email: Use caution opening links or attachments On Fri, Mar 07, 2025 at 03:54:33PM +, Van Haaren, Harry wrote: From: Gregory Etelson Sent: Thursday, March 6, 2025 1:37 PM To: dev@dpdk.org Cc: getel...@nvidia.com ; tho...@monjalon.n

Re: [PATCH] rust: support DPDK API

2025-03-07 Thread Etelson, Gregory
On Fri, 7 Mar 2025, Van Haaren, Harry wrote: External email: Use caution opening links or attachments From: Gregory Etelson Sent: Thursday, March 6, 2025 1:37 PM To: dev@dpdk.org Cc: getel...@nvidia.com ; tho...@monjalon.net ; mkash...@nvidia.com ; Richardson, Bruce Subject: [PATCH] ru

Re: [PATCH] rust: support DPDK API

2025-03-07 Thread Etelson, Gregory
Hello Harry, From: Gregory Etelson Sent: Thursday, March 6, 2025 1:37 PM To: dev@dpdk.org Cc: getel...@nvidia.com ; tho...@monjalon.net ; mkash...@nvidia.com ; Richardson, Bruce Subject: [PATCH] rust: support DPDK API Cool, I like this subject, great! The patch converts include files w

Re: [PATCH] rust: support DPDK API

2025-03-07 Thread Bruce Richardson
On Fri, Mar 07, 2025 at 03:54:33PM +, Van Haaren, Harry wrote: > > From: Gregory Etelson > > Sent: Thursday, March 6, 2025 1:37 PM > > To: dev@dpdk.org > > Cc: getel...@nvidia.com ; tho...@monjalon.net > > ; mkash...@nvidia.com ; > > Richardson, Bruce > > Subject: [PATCH] rust: support DPD

Re: [PATCH] rust: support DPDK API

2025-03-07 Thread Van Haaren, Harry
> From: Gregory Etelson > Sent: Thursday, March 6, 2025 1:37 PM > To: dev@dpdk.org > Cc: getel...@nvidia.com ; tho...@monjalon.net > ; mkash...@nvidia.com ; Richardson, > Bruce > Subject: [PATCH] rust: support DPDK API More in-depth review in this reply.. > The patch converts include files w

Re: [PATCH] rust: support DPDK API

2025-03-06 Thread Van Haaren, Harry
> From: Gregory Etelson > Sent: Thursday, March 6, 2025 1:37 PM > To: dev@dpdk.org > Cc: getel...@nvidia.com ; tho...@monjalon.net > ; mkash...@nvidia.com ; Richardson, > Bruce > Subject: [PATCH] rust: support DPDK API Cool, I like this subject, great! > The patch converts include files with