Introducing a new platform for asic clounix#23365
Introducing a new platform for asic clounix#23365qiluo-msft merged 1 commit intosonic-net:masterfrom
Conversation
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
f6fb9d0 to
dd97d7a
Compare
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
dd97d7a to
ec7c069
Compare
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@lguohan Hi, could you review this PR? Much appreciated : ) |
@lguohan @qiluo-msft Please take a look at this PR : ), thank you very much! |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new platform for the ASIC Clounix architecture to the SONiC project. It adds comprehensive platform support including drivers, utilities, Docker containers, and build configurations for Clounix-based networking hardware.
- Adds platform drivers and kernel modules for I2C multiplexers and hardware monitoring
- Implements Docker containers for syncd, saiserver, and PTF testing with Clounix SAI integration
- Introduces utilities for port configuration, SFP detection, and transceiver management
Reviewed Changes
Copilot reviewed 88 out of 143 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| platform/clounix/sonic-platform-modules-pegatron/common/modules/i2c-mux-pca9641.c | I2C multiplexer driver implementation for PCA9641 bus master selector |
| platform/clounix/clx-utils/clounix-utils/scripts/sfpdet | Python utility for SFP detection and port configuration (2000+ lines) |
| platform/clounix/sai.mk | SAI library configuration and package definitions |
| platform/clounix/rules.mk | Platform build rules and dependencies |
| platform/clounix/docker-syncd-clounix/Dockerfile.j2 | Docker configuration for Clounix syncd container |
Comments suppressed due to low confidence (2)
platform/clounix/sonic-platform-modules-pegatron/common/modules/clounix_sysfs_main.c:318
- [nitpick] Debug message uses unclear abbreviation '(ar)select'. Consider using a more descriptive debug message like 'Arbitration select started' for better maintainability.
static int add_new_link(struct kernfs_node *root, char *src, char *node)
platform/clounix/clx-utils/clounix-utils/scripts/sfpdet:350
- [nitpick] Using magic number comparison. Consider using a boolean return or named constant instead of comparing with literal 1.
or len(phy_port_value[phy_port_value]) == 0:
platform/clounix/sonic-platform-modules-pegatron/common/modules/i2c-mux-pca9641.c
Outdated
Show resolved
Hide resolved
platform/clounix/sonic-platform-modules-pegatron/common/modules/i2c-mux-pca9641.c
Outdated
Show resolved
Hide resolved
|
Semgrep identified some real issues, please fix below warnings: |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
de2583d to
29ad0d6
Compare
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Clounix is a switch chip manufacturer. This commit aims to support its ASIC in the sonic system. Signed-off-by: Zhou,Junde <[email protected]> Signed-off-by: Long Wu <[email protected]>
29ad0d6 to
a060342
Compare
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This commit aims to support new asic of Clounix, so the specific product code, clounix private code is not needed, delete it. |
|
@zhangyanzhao could please review this PR? Much appreciated. |
|
Hi @lguohan , @qiluo-msft, |
Why I did it Introducing a new platform for asic clounix How to verify it Test on clounix hardware. [build] Fix url for newly onboarded clounix platform. (sonic-net#23609) Why I did it Old URL don't work.
Why I did it Introducing a new platform for asic clounix How to verify it Test on clounix hardware. [build] Fix url for newly onboarded clounix platform. (sonic-net#23609) Why I did it Old URL don't work.
What I did Add support for platform based on Clounix asic. The Clounix asic platform code has been merged into sonic-buildimage repo. Please see details in PR: sonic-net/sonic-buildimage#23365 How I did it Add support for platform based on Clounix asic. How to verify it Verified on physical DUT. Signed-off-by: Long Wu <[email protected]> Signed-off-by: Qinghua Song <[email protected]>
What I did Add support for platform based on Clounix asic. The Clounix asic platform code has been merged into sonic-buildimage repo. Please see details in PR: sonic-net/sonic-buildimage#23365 How I did it Add support for platform based on Clounix asic. How to verify it Verified on physical DUT. Signed-off-by: Long Wu <[email protected]> Signed-off-by: Qinghua Song <[email protected]>
What I did Add support for platform based on Clounix asic. The Clounix asic platform code has been merged into sonic-buildimage repo. Please see details in PR: sonic-net/sonic-buildimage#23365 How I did it Add support for platform based on Clounix asic. How to verify it Verified on physical DUT. Signed-off-by: Long Wu <[email protected]> Signed-off-by: Qinghua Song <[email protected]>
What I did Add support for platform based on Clounix asic. The Clounix asic platform code has been merged into sonic-buildimage repo. Please see details in PR: sonic-net/sonic-buildimage#23365 How I did it Add support for platform based on Clounix asic. How to verify it Verified on physical DUT. Signed-off-by: Long Wu <[email protected]> Signed-off-by: Qinghua Song <[email protected]>
What I did Add support for platform based on Clounix asic. The Clounix asic platform code has been merged into sonic-buildimage repo. Please see details in PR: sonic-net/sonic-buildimage#23365 How I did it Add support for platform based on Clounix asic. How to verify it Verified on physical DUT. Signed-off-by: Long Wu <[email protected]> Signed-off-by: Qinghua Song <[email protected]>
Why I did it
Introducing a new platform for asic clounix
How to verify it
Test on clounix hardware.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)