Re: [PATCH v4] rust: support raw DPDK API

2025-03-28 Thread Etelson, Gregory
Hello Bruce, When using bindgen, are we better to take the approach (as in this patch) of running it on everything in the headers and just excluding some things, or taking the opposite conservative approach of just listing the functions and defines we actually do want exposed (with wildcarding

Re: [PATCH v4] rust: support raw DPDK API

2025-03-27 Thread Bruce Richardson
On Sat, Mar 22, 2025 at 12:59:11PM +0200, Gregory Etelson wrote: > The patch converts include files with DPDK API to RUST and binds new > RUST API files into raw module under dpdk crate. > > The RUST files and DPDK libraries build from C sources > allow creation of DPDK application in RUST. > > R

Re: [PATCH v4] rust: support raw DPDK API

2025-03-26 Thread Etelson, Gregory
Hello Bruce, Hi Gregory, some high-level feedback: * I'd suggest for future revisions splitting this into two patches. The rust example should be separate from a patch adding the basic rust infrastructure. In progress. * For the example, I'd suggest that the helloworld rust example should

Re: [PATCH v4] rust: support raw DPDK API

2025-03-22 Thread Bruce Richardson
On Sat, Mar 22, 2025 at 12:59:11PM +0200, Gregory Etelson wrote: > The patch converts include files with DPDK API to RUST and binds new > RUST API files into raw module under dpdk crate. > > The RUST files and DPDK libraries build from C sources > allow creation of DPDK application in RUST. > > R

[PATCH v4] rust: support raw DPDK API

2025-03-22 Thread Gregory Etelson
The patch converts include files with DPDK API to RUST and binds new RUST API files into raw module under dpdk crate. The RUST files and DPDK libraries build from C sources allow creation of DPDK application in RUST. RUST DPDK application must specify the `dpdk` crate as dependency in Cargo.toml