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

Add gearbox phy device files and a new physyncd docker to support VS gearbox phy feature #4851

Merged
merged 38 commits into from
Sep 25, 2020

Commits on Jun 25, 2020

  1. buildimage: Add gearbox phy device files and a new physyncd docker to…

    … support VS gearbox phy feature
    
    * scripts and configuration needed to support a second syncd docker (physyncd)
    * physyncd supports gearbox device and phy SAI APIs and runs multiple instances of syncd, one per phy in the device
    * support for VS target (sonic-sairedis vslib has been extended to support a virtual BCM81724 gearbox PHY).
    
    HLD is located at https://github.com/Azure/SONiC/blob/b817a12fd89520d3fd26bbc5897487928e7f6de7/doc/gearbox/gearbox_mgr_design.md
    
    **- Why I did it**
    
    This work is part of the gearbox phy joint effort between Microsoft and Broadcom, and is based
    on multi-switch support in sonic-sairedis.
    
    **- How I did it**
    
    Overall feature was implemented across several projects. The collective pull requests (some in late stages of review at this point):
    
    sonic-net/sonic-utilities#931 - CLI (merged)
    sonic-net/sonic-swss-common#347 - Minor changes (merged)
    sonic-net/sonic-swss#1321 - gearsyncd, config parsers, changes to orchargent to create gearbox phy on supported systems
    sonic-net/sonic-sairedis#624 - physyncd, virtual BCM81724 gearbox phy added to vslib
    
    **- How to verify it**
    
    In a vslib build:
    
    root@sonic:/home/admin# show gearbox interfaces status
      PHY Id    Interface        MAC Lanes    MAC Lane Speed        PHY Lanes    PHY Lane Speed    Line Lanes    Line Lane Speed    Oper    Admin
    --------  -----------  ---------------  ----------------  ---------------  ----------------  ------------  -----------------  ------  -------
           1   Ethernet48  121,122,123,124               25G  200,201,202,203               25G       204,205                50G    down     down
           1   Ethernet49  125,126,127,128               25G  206,207,208,209               25G       210,211                50G    down     down
           1   Ethernet50      69,70,71,72               25G  212,213,214,215               25G           216               100G    down     down
    
    In addition, docker ps | grep phy should show a physyncd docker running.
    
      Signed-off-by: syd.logan@broadcom.com
    slogan621 committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    f7253f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    39f20a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. minor change to comments

    slogan621 committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    fb2ccb7 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. cleanup startup/shutdown scripts for physyncd, removing platform spec…

    …ific code not relevant
    slogan621 committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    76d0d2d View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Configuration menu
    Copy the full SHA
    06ce6fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e14591 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. more physyncd startup fixes

    slogan621 committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    e8958db View commit details
    Browse the repository at this point in the history
  2. Revert "more physyncd startup fixes"

    This reverts commit e8958db.
    slogan621 committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    3aa9f32 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

  1. Configuration menu
    Copy the full SHA
    21af753 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Configuration menu
    Copy the full SHA
    18d6b90 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2020

  1. Configuration menu
    Copy the full SHA
    26ecb37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5e7280 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. backout 26ecb37

    slogan621 committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    889a98d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2020

  1. Configuration menu
    Copy the full SHA
    07a4785 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. fix perms on physyncd.sh

    slogan621 committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    86a0c5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8115362 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2020

  1. Configuration menu
    Copy the full SHA
    ba5cd86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79fc081 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. resolve merge conflict

    slogan621 committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    910e23e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    844fc16 View commit details
    Browse the repository at this point in the history
  3. rename physyncd to gbsyncd

    slogan621 committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    7ac845a View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Configuration menu
    Copy the full SHA
    2a6ded4 View commit details
    Browse the repository at this point in the history
  2. fix merge conflict

    slogan621 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    321c923 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea01eb7 View commit details
    Browse the repository at this point in the history
  4. minor edits

    slogan621 committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    d316ebc View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. Configuration menu
    Copy the full SHA
    db2da7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    387a076 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

  1. Configuration menu
    Copy the full SHA
    9809b8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cb2055 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26f85d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b808f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be70bfa View commit details
    Browse the repository at this point in the history
  6. from stretch to buster

    slogan621 committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    106de40 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2014eea View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    6eaf960 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    d633780 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3fe3c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Configuration menu
    Copy the full SHA
    9f4cc83 View commit details
    Browse the repository at this point in the history