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

experiment pr 2 #5

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

experiment pr 2 #5

wants to merge 68 commits into from

Commits on Oct 16, 2024

  1. Add licenses and top level scripts

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2119abb View commit details
    Browse the repository at this point in the history
  2. Add files in top level directory

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    248455e View commit details
    Browse the repository at this point in the history
  3. Add files under backends/tofino/bf-p4c/arch for handling tna/t2na/v1m…

    …odel architectures
    
    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8d3dd34 View commit details
    Browse the repository at this point in the history
  4. Add files under backends/tofino/bf-p4c/arch/psa for handling psa to t…

    …na translation
    
    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    721ffb9 View commit details
    Browse the repository at this point in the history
  5. Add files under backends/tofino/bf-p4c/arch/tna

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2b3e7b5 View commit details
    Browse the repository at this point in the history
  6. Add files under backends/tofino/bf-p4c/common

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    aec728f View commit details
    Browse the repository at this point in the history
  7. Add files under backends/tofino/bf-p4c/pragma

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    73ef4e1 View commit details
    Browse the repository at this point in the history
  8. Add files under backends/tofino/bf-p4c/control-plane for bfrt support

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    157c455 View commit details
    Browse the repository at this point in the history
  9. Add files under backends/tofino/bf-p4c/driver for compiler driver

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    dcc09d5 View commit details
    Browse the repository at this point in the history
  10. Add files under backends/tofino/bf-p4c/ir for tofino-specific IR

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    21c50c6 View commit details
    Browse the repository at this point in the history
  11. Add files under backends/tofino/bf-p4c/lib

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f6f58d7 View commit details
    Browse the repository at this point in the history
  12. Add files under backends/tofino/bf-p4c/logging

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2be44e7 View commit details
    Browse the repository at this point in the history
  13. Add files under backends/tofino/bf-p4c/mau

    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]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b1bb812 View commit details
    Browse the repository at this point in the history
  14. Add files under backends/tofino/bf-p4c/p4include

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    027ab7f View commit details
    Browse the repository at this point in the history
  15. Add files under backends/tofino/bf-p4c/parde

    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]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6905255 View commit details
    Browse the repository at this point in the history
  16. Add files under backends/tofino/bf-p4c/parde/clot

    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]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4a1091f View commit details
    Browse the repository at this point in the history
  17. Add files under backends/tofino/bf-p4c/parde/lowered, common and mirror

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    39b19c5 View commit details
    Browse the repository at this point in the history
  18. Add files under backends/tofino/bf-p4c/parde/phv (part 1)

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8c66de6 View commit details
    Browse the repository at this point in the history
  19. Add files under backends/tofino/bf-p4c/parde/phv/analysis (part 2)

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    540a031 View commit details
    Browse the repository at this point in the history
  20. Add files under backends/tofino/bf-p4c/parde/phv/pragma (part 3)

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    03ed2e6 View commit details
    Browse the repository at this point in the history
  21. Add files under backends/tofino/bf-p4c/parde/phv/* (part 4)

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    23d3297 View commit details
    Browse the repository at this point in the history
  22. Add files under backends/tofino/bf-p4c/parde/phv/v2 (part 5)

    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]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1fa1bf2 View commit details
    Browse the repository at this point in the history
  23. Add files under backends/tofino/bf-p4c/test/gtest

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    034be76 View commit details
    Browse the repository at this point in the history
  24. Add files under backends/tofino/bf-utils for dynamic_hash library

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ea0908c View commit details
    Browse the repository at this point in the history
  25. Add files under backends/tofino/compiler-interfaces

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3b14211 View commit details
    Browse the repository at this point in the history
  26. Add files under backends/tofino/scripts for misc scripts

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f5e2abd View commit details
    Browse the repository at this point in the history
  27. Changes to other backend to fix compilation error

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b1d16d1 View commit details
    Browse the repository at this point in the history
  28. Changes to top level CMakeLists.txt to add tofino backend

    Co-authored-by: Glen Gibb <[email protected]>
    Co-authored-by: Prathima Kotikalapudi <[email protected]>
    Co-authored-by: Han Wang <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    25909fb View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. more compilation fixes

    Han Wang committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e4d20fd View commit details
    Browse the repository at this point in the history
  2. misc ci fixes

    hanw authored and Han Wang committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    0a01904 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. clang-format fix on bf-p4c/arch

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    32dd294 View commit details
    Browse the repository at this point in the history
  2. clang-format fix for common and top

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    548da17 View commit details
    Browse the repository at this point in the history
  3. clang-format for bf-p4c/logging

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    da7b39c View commit details
    Browse the repository at this point in the history
  4. clang-format for midend

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    38ae020 View commit details
    Browse the repository at this point in the history
  5. clang-format for parde

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    f87b2eb View commit details
    Browse the repository at this point in the history
  6. clang-format fix for mau

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    7403dbd View commit details
    Browse the repository at this point in the history
  7. clang-format fix for phv

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    458144c View commit details
    Browse the repository at this point in the history
  8. fix warnings

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    fa2c64e View commit details
    Browse the repository at this point in the history
  9. clang-format for arch,common,controlplane

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    bc0bebf View commit details
    Browse the repository at this point in the history
  10. clang-format ir and lib

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    d925435 View commit details
    Browse the repository at this point in the history
  11. clang-format for gtest and others

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    4ca5cb9 View commit details
    Browse the repository at this point in the history
  12. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    b6c07cd View commit details
    Browse the repository at this point in the history
  13. clang-format gtest

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    95e2cab View commit details
    Browse the repository at this point in the history
  14. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    136d8c3 View commit details
    Browse the repository at this point in the history
  15. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    dc0034f View commit details
    Browse the repository at this point in the history
  16. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    da9b10d View commit details
    Browse the repository at this point in the history
  17. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    f982b66 View commit details
    Browse the repository at this point in the history
  18. clang-format

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    efe1d9b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    73c302b View commit details
    Browse the repository at this point in the history
  20. black format fix

    hanw authored and Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    c9c3341 View commit details
    Browse the repository at this point in the history
  21. switch ENABLE_TOFINO to OFF by default

    hanw authored and Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    de52f77 View commit details
    Browse the repository at this point in the history
  22. fix psaprogramstructure

    hanw authored and Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    5e269a3 View commit details
    Browse the repository at this point in the history
  23. fix isort errors

    hanw authored and Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    35360e4 View commit details
    Browse the repository at this point in the history
  24. fix ci-build.sh

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    aeb0827 View commit details
    Browse the repository at this point in the history
  25. add pyinstaller to requirement.txt

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    419146b View commit details
    Browse the repository at this point in the history
  26. fix ifdefs

    hanw authored and Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    3b62b66 View commit details
    Browse the repository at this point in the history
  27. more cpplint fixes

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    53ae7f9 View commit details
    Browse the repository at this point in the history
  28. clang-format fix

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    69faf7f View commit details
    Browse the repository at this point in the history
  29. compilation fix

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    d22a759 View commit details
    Browse the repository at this point in the history
  30. small fix

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    15e9f59 View commit details
    Browse the repository at this point in the history
  31. try 22.04 as non-unity build

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    51d5ece View commit details
    Browse the repository at this point in the history
  32. try 20.04 build

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    2c53a4a View commit details
    Browse the repository at this point in the history
  33. link ${P4C_LIB_DEPS} to bf_gtest_support target

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    0fa46ee View commit details
    Browse the repository at this point in the history
  34. link ${P4C_LIB_DEPS} to tofinobackend target

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    b079042 View commit details
    Browse the repository at this point in the history
  35. add FindZ3.cmake for bf-p4c

    Han Wang committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    96dbd39 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. remove duplicated bmv2/psa.p4 and dpdk/psa.p4

    Han Wang committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    c87533d View commit details
    Browse the repository at this point in the history
  2. fix p4c drivers

    Han Wang committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    b8f96b6 View commit details
    Browse the repository at this point in the history
  3. adjust driver tests

    hanw committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    5c48803 View commit details
    Browse the repository at this point in the history