dpdk-rs
dpdk-rs copied to clipboard
Rust Bindings for DPDK
I try to build demikernel with `CLANG_PATH=clang-16 make LIBOS=catnip` and see following error: ```log thread 'main' panicked at /.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/ir/context.rs:1975:26: Non floating-type complex? Type(_Complex _Float16, kind: Complex, cconv: 100, decl: Cursor(...
Rust has a pkg-config library that is maintained by the Rust foundation. Using this instead of the hand-written integration reduces the effort required to maintain the build system and also...
Per rust documentation (https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key), a crate which links with a native C library is supposed to declare that using the "links" manifest key in order to avoid linking two copies...
### Description - This PR provides the `rte_pktmbuf_prepend` function for Linux to be used on the Catnip of the Demikernel ### Summary of Changes - Added the `rte_pktmbuf_prepend` into build.rs,...
I use DPDK v22.07, and current master version of dpdk-rs. I compiled this repo as the guide. but there is some errors about constant and structure member, which seems changed...
Description ------------- Auto-generated bindings use [`improper_ctypes`](https://doc.rust-lang.org/stable/nightly-rustc/rustc_lint/types/static.IMPROPER_CTYPES.html). How to Reproduce ---------------------- 1. Build 2. See warnings Expected Behavior ---------------------- - No dependency on undefined behavior. - No warnings emitted.