Skip to content

Sandwich Support#818

Open
thebracket wants to merge 13 commits intodevelopfrom
meatball-sub
Open

Sandwich Support#818
thebracket wants to merge 13 commits intodevelopfrom
meatball-sub

Conversation

@thebracket
Copy link
Copy Markdown
Collaborator

Adds "sandwich" mode as an optional extra. When enabled:

  • Creates a veth pair, and binds LibreQoS to the pair.
  • Creates a pair of bridges, and binds them - along with the matching side of LibreQoS to each bridge.
  • Optionally adds HTB speed limits (with fq_codel as an option) to the physical interfaces.

This:

  • Allows LibreQoS to work with unsupported NICs (at performance penalty), including LACP bonds.
  • Allows LibreQoS to have a hard upper bound for speed.
  • Allows for a top-level fq_codel for optimal packet pacing.

Includes documentation updates.

If enabled, LibreQoS will create a pair of veth devices and attach them
to bridges to the actual physical interfaces. Optionally, it applies
endpoint speed limits via HTB and fq_codel to the physical devices.
@thebracket thebracket added this to the v1.5-RC-2 milestone Sep 23, 2025
@thebracket thebracket requested a review from rchac September 23, 2025 20:10
@thebracket thebracket self-assigned this Sep 23, 2025
@thebracket thebracket added the enhancement New feature or request label Sep 23, 2025
@thebracket
Copy link
Copy Markdown
Collaborator Author

thebracket commented Sep 23, 2025

Updated to skip some preflight checks when sandwich mode is enabled.

# Conflicts:
#	src/rust/lqos_config/src/etc/mod.rs
#	src/rust/lqos_config/src/etc/v15/bridge.rs
#	src/rust/lqos_config/src/etc/v15/top_config.rs
#	src/rust/lqos_config/src/lib.rs
#	src/rust/lqosd/src/main.rs
…the bridges and XDP bridge. The XDP bridge is required for this mode.
@rchac rchac modified the milestones: v1.5-RC-2, Long Term Plans Dec 9, 2025
# Conflicts:
#	docs/v2.0/configuration.md
#	src/rust/lqos_config/src/etc/mod.rs
#	src/rust/lqos_config/src/etc/v15/top_config.rs
#	src/rust/lqos_config/src/lib.rs
# Conflicts:
#	src/rust/lqos_overrides/src/overrides_file.rs
#	src/rust/lqos_stormguard/src/adaptive_actions.rs
#	src/rust/lqos_sys/src/lqos_kernel.rs
#	src/rust/lqosd/src/treeguard/actor.rs
#	src/rust/lqosd/src/treeguard/decisions.rs
#	src/rust/lqosd/src/treeguard/status.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants