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

2025-04-05 Thread Dariusz Sosnowski
Hi Gregory, I have been playing around with the patch and I have a few suggestions which I hope would improve the experience with using the generated bindings. Please let me know what you think. First of all, during compilation, there is a lot of warnings regarding naming style. Basically there

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

2025-03-18 Thread Dariusz Sosnowski
On Tue, Mar 18, 2025 at 09:51:05AM +0100, Dariusz Sosnowski wrote: > > +use std::process::Command; > > + > > +pub fn main() { > > +let mut pkgconfig = Command::new("pkg-config"); > > + > > +match pkgconfig.args(["--libs", "libdpdk"]).output() { > > +Ok(output) => { > > +

[PATCH v3] rust: support raw DPDK API

2025-03-15 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