Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

mac allocation policy prevents multiple links on rear ports

未关闭
#74 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rust
领域
networking

调研方向

issue 中没有指定文件、测试或入口点。首先跟踪静态 MAC 分配策略及其 dpd 配置,然后将动态分配与使用未分配的溢出池进行比较。当诊断或 Bringup 设置能够在后置端口上为每个 lane 创建一个链路,同时生产环境的分配保持不变时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Originally filed as https://github.com/oxidecomputer/dendrite-archived/issues/669

We have a static policy for assigning MAC addresses to links on a switch. 32 MACs are reserved for rear ports and 128 for front ports. This lets us create up to 4 links on each QSFP/front port, but only a single link on each of the rear ports.

For production/customer installations, this assignment is fine. There is no reason to have more than a single link for each rear port in those scenarios. For diagnostic and/or bringup work, we may want to create up to one link for each lane on a rear port.

There are two fairly straightforward approaches to handling this. 1) we can add a "dynamic mac allocation" dpd flag, which would do dynamic mac allocation rather than static. 2) we can use the currently unassigned 95 MACs at the end of the block as an overflow pool.

主要语言
Rust
星标
20
派生
3
平均合并
8 小时 29 分钟
30 天内合并 PR
2

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oxidecomputer/dendrite 的其他 Issue

查看 oxidecomputer/dendrite 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。