Skip to content
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

Experimental PR. #3

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

Experimental PR. #3

wants to merge 35 commits into from

Conversation

hanw
Copy link
Contributor

@hanw hanw commented Oct 17, 2024

No description provided.

hanw and others added 28 commits October 16, 2024 09:04
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
…odel architectures

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
…na translation

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Core algorithms to allocate resource in MAU

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Core algorithms for Parser and Deparser allocation

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
clot stands for Checksum-Length-Offset-Tag

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
V2 algorithm for phv allocation

Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
Co-authored-by: Glen Gibb <[email protected]>
Co-authored-by: Prathima Kotikalapudi <[email protected]>
Co-authored-by: Han Wang <[email protected]>
@hanw hanw force-pushed the tofino-backend branch 2 times, most recently from bd95f43 to b6d0646 Compare October 17, 2024 04:41
@hanw hanw force-pushed the tofino-backend branch 10 times, most recently from a521ba2 to fe5e314 Compare October 17, 2024 06:00
@fruffy
Copy link
Contributor

fruffy commented Oct 17, 2024

FYI
image

Github limits the amount of CI minutes you can use in private repositories. Something consumed all the minutes. We should probably disable all other CI action other than one dedicated to Tofino.

@fruffy
Copy link
Contributor

fruffy commented Oct 17, 2024

I can also make the repositories public now that the announcement is out..

@hanw
Copy link
Contributor Author

hanw commented Oct 17, 2024

sure, please make it public.

@hanw
Copy link
Contributor Author

hanw commented Oct 17, 2024

@fruffy can you take a look at p4c-lint task? I am not sure why clang-format raises error on bmv2 source code, I have not touched those files.

@fruffy
Copy link
Contributor

fruffy commented Oct 17, 2024

The PR shows some diffs. What happens if you run make clang-format-fix-errors?
The clang-format version should be 18.1.0 https://github.com/p4lang/p4c/blob/main/requirements.txt#L7 and installed with pip

@hanw hanw force-pushed the tofino-backend branch 2 times, most recently from b48357e to 08c6e4a Compare October 18, 2024 05:54
Han Wang and others added 7 commits October 20, 2024 17:24
- fix ci-build.sh
- add pyinstaller to requirement.txt
- link ${P4C_LIB_DEPS} to bf_gtest_support target
- link ${P4C_LIB_DEPS} to tofinobackend target
- clang-format
- black format
- isort errors
- ifdefs name fixes
- remove duplicated bmv2/psa.p4 and dpdk/psa.p4
- remove calling bfas in p4c-driver
- disable a few driver tests
@hanw
Copy link
Contributor Author

hanw commented Oct 21, 2024

@fruffy I pushed the same PR to p4lang/p4c. Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants