Skip to content

[mellanox]: Align platform API: change CPLD version representation#4221

Merged
jleveque merged 4 commits intosonic-net:masterfrom
nazariig:master-cpld-api
Mar 23, 2020
Merged

[mellanox]: Align platform API: change CPLD version representation#4221
jleveque merged 4 commits intosonic-net:masterfrom
nazariig:master-cpld-api

Conversation

@nazariig
Copy link
Copy Markdown
Collaborator

@nazariig nazariig commented Mar 4, 2020

This PR introduces new CPLD version representation for Mellanox platforms:
CPLD<part_number>_REV<major_version><minor_version>

part_number - six digits
major_version - two digits
minor_version - two digits

Example: CPLD000000_REV0500

Note: if Part Number or Minor Version is missing, zeros will be printed

- What I did

  • Updated CPLD version representation

- How I did it

  • N/A

- How to verify it

  1. make configure PLATFORM=mellanox
  2. make target/sonic-mellanox.bin

- Description for the changelog

  • N/A

- Previous fwutil output

root@sonic:/home/admin# fwutil show status
Chassis                 Module    Component    Version                  Description
----------------------  --------  -----------  -----------------------  ---------------------------------------
x86_64-mlnx_msn3800-r0  N/A       BIOS         0ACLH004_02.02.003_9600  BIOS - Basic Input/Output System
                                  CPLD         5.3.3.1                  CPLD - includes all CPLDs in the switch

- New fwutil output

root@sonic:/home/admin# fwutil show status
Chassis                 Module    Component    Version                   Description
----------------------  --------  -----------  ------------------------  ---------------------------------------
x86_64-mlnx_msn3800-r0  N/A       BIOS         0ACLH004_02.02.003_9600   BIOS - Basic Input/Output System
                                  CPLD1        CPLD000000_REV0500        CPLD - Complex Programmable Logic Device
                                  CPLD2        CPLD000000_REV0300        CPLD - Complex Programmable Logic Device
                                  CPLD3        CPLD000000_REV0300        CPLD - Complex Programmable Logic Device
                                  CPLD4        CPLD000000_REV0100        CPLD - Complex Programmable Logic Device

- A picture of a cute animal (not mandatory but encouraged)

      .---.        .-----------
     /     \  __  /    ------
    / /     \(  )/    -----
   //////   ' \/ `   ---
  //// / // :    : ---
 // /   /  /`    '--
//          //..\\
       ====UU====UU====
           '//||\\`
             ''``

@nazariig
Copy link
Copy Markdown
Collaborator Author

nazariig commented Mar 4, 2020

@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Mar 5, 2020

Retest vsimage please

@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Mar 5, 2020

LGTM. @sujinmkang to review, also.

stephenxs
stephenxs previously approved these changes Mar 12, 2020
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
…resentation.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
@nazariig
Copy link
Copy Markdown
Collaborator Author

retest vsimage please

@jleveque
Copy link
Copy Markdown
Contributor

Retest vsimage please

@liat-grozovik liat-grozovik requested a review from jleveque March 22, 2020 08:32
@jleveque jleveque merged commit 4d22cd4 into sonic-net:master Mar 23, 2020
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
mssonicbld added a commit that referenced this pull request Feb 19, 2026
…lly (#25405)

#### Why I did it
src/sonic-swss
```
* 13227d02 - (HEAD -> 202511, origin/202511) [countersyncd]: Add communication statistics recording and utilities (#4222) (2 days ago) [mssonicbld]
* 3c4d3b2b - [countersyncd]: Add retry between client and otel collector (#4220) (3 days ago) [mssonicbld]
* 77acf5a0 - [countersyncd] fix otel actor log level (#4221) (3 days ago) [mssonicbld]
* 03ec77c7 - [countersyncd]: Add benchmark suite for countersyncd and optimize otel actor (#4216) (5 days ago) [mssonicbld]
* 08050f2e - [hft]: Fix TAM type capability enable list (#4215) (6 days ago) [mssonicbld]
* d0793b45 - [Fixbug]: Fix delete default HFT configuration issue (#4138) (7 days ago) [mssonicbld]
* 246d9575 - [hft]: Enable output queue for HFT (#4187) (7 days ago) [mssonicbld]
* ae6a9887 - [countersyncd]: Fix netlink fd leakage and deadlock issue (#4191) (7 days ago) [mssonicbld]
* c468e1fc - [countersyncd]: Fix compiling warning of otel (#4192) (7 days ago) [mssonicbld]
* d675062c - Enabling the FEC histogram for gbsyncd counters (#4195) (9 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants