Skip to content

Add iface_max_route_count-0 feature flag #1057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged

Conversation

tomkris
Copy link

@tomkris tomkris commented Apr 24, 2025

In certain configurations interface can work without route table (for example, interface with L3 IP medium). In this configuration it's desirable to reduce space reserved by route table to 0 entries to reclaim memory. Currently it's impossible - minimum route table size is 1 entry (feature iface_max_route_count-1).

I'm adding a feature iface_max_route_count-0 which reduces size of route table to 0 entries.

In certain configurations interface can work without route table (for example,
interface with L3 IP medium). In this configuration it's desirable to reduce space
reserved by route table to 0 entries to reclaim memory. Currently it's impossible -
minimum route table size is 1 entry (feature `iface_max_route_count-1`).

I'm adding a feature `iface_max_route_count-0` which reduces size of route table to 0 entries.
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.17%. Comparing base (f8bfa31) to head (1c2873e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1057   +/-   ##
=======================================
  Coverage   81.17%   81.17%           
=======================================
  Files          81       81           
  Lines       28956    28956           
=======================================
  Hits        23505    23505           
  Misses       5451     5451           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Dirbaio Dirbaio added this pull request to the merge queue Apr 24, 2025
Merged via the queue into smoltcp-rs:main with commit 242e02c Apr 24, 2025
16 checks passed
@tomkris tomkris deleted the routes-0 branch April 24, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants