From fea8f5342603936fe927cc35835eea90a9bf152d Mon Sep 17 00:00:00 2001 From: Daniel Noland Date: Wed, 18 Mar 2026 23:41:05 -0600 Subject: [PATCH 1/3] fix(dpdk): use unwrapped rte_lcore_id binding Call rte_lcore_id() directly instead of the _w() wrapper variant which has been removed upstream. Co-Authored-By: Manish Vachharajani Co-Authored-By: Claude Opus 4.6 Signed-off-by: Daniel Noland Signed-off-by: Daniel Noland --- dpdk/src/lcore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpdk/src/lcore.rs b/dpdk/src/lcore.rs index 7c35c7b97..12a4dbc48 100644 --- a/dpdk/src/lcore.rs +++ b/dpdk/src/lcore.rs @@ -237,7 +237,7 @@ impl LCoreId { #[tracing::instrument(level = "trace")] pub fn current() -> LCoreId { - LCoreId(unsafe { dpdk_sys::rte_lcore_id_w() }) + LCoreId(unsafe { dpdk_sys::rte_lcore_id() }) } #[tracing::instrument(level = "trace")] From f9ca9ecc25304c5062b50d4392cee9ba499ac16a Mon Sep 17 00:00:00 2001 From: Daniel Noland Date: Wed, 18 Mar 2026 19:55:19 -0600 Subject: [PATCH 2/3] style: fix typos and doc links Fix "trigging" -> "triggering" typo in hardware/src/os/mod.rs and replace a stale cfg(doc) import with an intra-doc link in net/src/buffer/test_buffer.rs. Co-Authored-By: Manish Vachharajani Co-Authored-By: Claude Opus 4.6 Signed-off-by: Daniel Noland Signed-off-by: Daniel Noland --- hardware/src/os/mod.rs | 2 +- net/src/buffer/test_buffer.rs | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hardware/src/os/mod.rs b/hardware/src/os/mod.rs index b9b13fe8d..75c136926 100644 --- a/hardware/src/os/mod.rs +++ b/hardware/src/os/mod.rs @@ -2,7 +2,7 @@ // Copyright Open Network Fabric Authors #![doc = include_str!("README.md")] -#![allow(clippy::doc_markdown)] // abbreviations were trigging spurious backtick lints +#![allow(clippy::doc_markdown)] // abbreviations were triggering spurious backtick lints /// Type of operating system device. /// diff --git a/net/src/buffer/test_buffer.rs b/net/src/buffer/test_buffer.rs index 1b6829a06..f50ba01b6 100644 --- a/net/src/buffer/test_buffer.rs +++ b/net/src/buffer/test_buffer.rs @@ -14,16 +14,14 @@ use crate::buffer::{ }; use tracing::trace; -// only included for doc ref -#[cfg(doc)] -use crate::buffer::PacketBuffer; - // Caution: do not implement Clone for `TestBuffer`. // Clone would significantly deviate from the actual mechanics of a DPDK mbuf. /// Toy data structure which implements [`PacketBuffer`] /// /// The core function of this structure is to facilitate testing by "faking" many useful properties /// of a real DPDK mbuf (without the need to spin up a full EAL). +/// +/// [`PacketBuffer`]: crate::buffer::PacketBuffer #[derive(Debug, Clone)] pub struct TestBuffer { buffer: Vec, From 91be88b65e13563f1d8f22d1892989556c1c24fb Mon Sep 17 00:00:00 2001 From: Daniel Noland Date: Wed, 18 Mar 2026 19:55:47 -0600 Subject: [PATCH 3/3] bump(docs): update KaTeX to 0.16.28 Update the KaTeX CDN references in the custom rustdoc header from 0.16.27 to 0.16.28 (stylesheet, main script, and auto-render extension). Co-Authored-By: Manish Vachharajani Co-Authored-By: Claude Opus 4.6 Signed-off-by: Daniel Noland Signed-off-by: Daniel Noland --- scripts/doc/custom-header.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/doc/custom-header.html b/scripts/doc/custom-header.html index 70b19946a..daf152fd4 100644 --- a/scripts/doc/custom-header.html +++ b/scripts/doc/custom-header.html @@ -49,15 +49,15 @@ }; - + - +