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

[Mellanox] Support new platform api sfp part #3101

Merged
merged 3 commits into from
Jul 2, 2019
Merged

[Mellanox] Support new platform api sfp part #3101

merged 3 commits into from
Jul 2, 2019

Conversation

stephenxs
Copy link
Collaborator

@stephenxs stephenxs commented Jun 30, 2019

- What I did
implement new platform api sfp part, including the following APIs
get_reset_status
get_tx_disable_channel
get_lpmode
get_power_override
reset
set_lpmode
tx_disable
tx_disable_channel
set_power_override

It depends on the PR Azure/sonic-platform-common/pull/38
- How I did it
make use of:

  1. sdk to write sfp module's data in order to implement setting operations like reset, set_lpmode
  2. ethtool to retrieve sfp module's data in order to implement reading operations

- How to verify it
make use of python shell, importing the python module and test each interface for SFP and QSFP module.

- Description for the changelog
[Mellanox] Support new platform api, sfp part

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

Stephen Sun added 2 commits June 30, 2019 03:15
get_reset_status
get_tx_disable_channel
get_lpmode
get_power_override
reset
set_lpmode
support sdk resource-releasing at the end of sdk accessing or in case of failure
@stephenxs stephenxs marked this pull request as ready for review July 2, 2019 08:18
@jleveque
Copy link
Contributor

jleveque commented Jul 2, 2019

Retest vs please

@jleveque jleveque merged commit 86495a1 into sonic-net:master Jul 2, 2019
mssonicbld added a commit that referenced this pull request Apr 19, 2024
…lly (#18334)

#### Why I did it
src/sonic-swss
```
* 9e183a65 - (HEAD -> master, origin/master, origin/HEAD) Add bookworm build to the PR checkers (#3114) (2 days ago) [Saikrishna Arcot]
* ec463953 - [twamporch] Explicitly initialize local variable (#3115) (2 days ago) [xiaodong hu]
* 19410232 - Add force option for fabric port unisolate command (#3089) (7 days ago) [jfeng-arista]
* 774973d9 - [dash] fix ENI admin state update (#3081) (8 days ago) [Yakiv Huryk]
* 56ba6de3 - [p4orch] Clang format change. (#3096) (10 days ago) [mint570]
* f6dd9caa - Introduce a new role for DPU-NPU Interconnect (10 days ago) [Vivek]
* 0f707757 - [portsorch] Handle TRANSCEIVER_INFO table on warm boot (#3087) (10 days ago) [Stepan Blyshchak]
* cbc263a1 - [EVPN]Fix fpmsyncd crash when EVPN type5 is received with bgp fib suppression enabled (#3101) (13 days ago) [Sudharsan Dhamal Gopalarathnam]
* 4af61167 - Fix oper FEC retrieval after warmboot (#3100) (13 days ago) [Sudharsan Dhamal Gopalarathnam]
* 2a586154 - [Fdbsyncd] Adding extern_learn flag with fdb entry so Kernel doesn't age out (#2985) (2 weeks ago) [KISHORE KUNAL]
* 465399e9 - T2-VOQ-VS: Fix iBGP bringup issue (#3053) (2 weeks ago) [Deepak Singhal]
* dc9eae87 - Clang format change. (#3080) (2 weeks ago) [mint570]
* 95a74750 - [orchagent] TWAMP Light orchagent implementation (#2927) (2 weeks ago) [xiaodong hu]
```
#### 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.

3 participants