Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpdk/src/lcore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion hardware/src/os/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down
6 changes: 2 additions & 4 deletions net/src/buffer/test_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>,
Expand Down
6 changes: 3 additions & 3 deletions scripts/doc/custom-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
};
</script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.27/dist/katex.min.css" integrity="sha384-Pu5+C18nP5dwykLJOhd2U4Xen7rjScHN/qusop27hdd2drI+lL5KvX7YntvT8yew" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/katex.min.css" integrity="sha384-Wsr4Nh3yrvMf2KCebJchRJoVo1gTU6kcP05uRSh5NV3sj9+a8IomuJoQzf3sMq4T" crossorigin="anonymous" />

<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.27/dist/katex.min.js" integrity="sha384-2B8pfmZZ6JlVoScJm/5hQfNS2TI/6hPqDZInzzPc8oHpN5SgeNOf4LzREO6p5YtZ" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/katex.min.js" integrity="sha384-+W9OcrYK2/bD7BmUAk+xeFAyKp0QjyRQUCxeU31dfyTt/FrPsUgaBTLLkVf33qWt" crossorigin="anonymous"></script>

<!-- To automatically render math in text elements, include the auto-render extension: -->
<script
defer
src="https://cdn.jsdelivr.net/npm/katex@0.16.27/dist/contrib/auto-render.min.js"
src="https://cdn.jsdelivr.net/npm/katex@0.16.28/dist/contrib/auto-render.min.js"
integrity="sha384-hCXGrW6PitJEwbkoStFjeJxv+fSOOQKOPbJxSfM6G5sWZjAyWhXiTIIAmQqnlLlh"
crossorigin="anonymous"
onload="katexStuff();"
Expand Down
Loading