Support for v1model architecture (or PSA)

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust
领域
compilers

调研方向

该 issue 提供了指向 p4include/v1model.p4 和 BMv2 simple_switch 文档的链接,但没有指明任何 x4c 文件、测试或入口点。首先需要明确范围是 v1model、PSA,还是两者,以及是否需要 upstream 支持;确定一致的实现范围和验收标准后,才算完成。

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

描述

I am considering adding support for the V1model architecture (whose BMv2 implementation documented here) to x4c. (And/or maybe PSA, if that makes a difference.)

Would upstream be open to accept support for v1model/PSA, or would I need to maintain a separate fork of x4c?

A bit more context: At Google, we currently use BMv2 + v1model as a reference model that we test our hardware switches against (see eg https://www.youtube.com/watch?v=qVohRRgRuvo for more details). I am exploring using x4c as a soft switch/reference model as an alternative to BMv2. I suspect that x4c may be easier to extend and maintain and may offer better performance.

主要语言
Rust
星标
140
派生
14
平均合并
3 天 18 小时
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

oxidecomputer/p4 的其他 Issue

查看 oxidecomputer/p4 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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