Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Weipeng Liu committed Nov 7, 2024
1 parent b607421 commit 42310b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rust/demikernel/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod raw_socket_config {
#[cfg(target_os = "linux")]
pub const LOCAL_INTERFACE_NAME: &str = "linux_interface_name";

// the primary interface index. this should be the virtualized interface for VMs.
// The primary interface index. This should be the virtualized interface for VMs.
#[cfg(target_os = "windows")]
pub const LOCAL_INTERFACE_INDEX: &str = "xdp_interface_index";

Expand Down Expand Up @@ -301,7 +301,6 @@ impl Config {

#[cfg(all(feature = "catpowder-libos", target_os = "windows"))]
pub fn local_vf_interface_index(&self) -> Result<u32, Fail> {
// Parse local MAC address.
if let Some(addr) = Self::get_typed_env_option(raw_socket_config::LOCAL_VF_INTERFACE_INDEX)? {
Ok(addr)
} else {
Expand Down

0 comments on commit 42310b8

Please sign in to comment.