Skip to content

Disable BCM54616S MII isolate mode#327

Closed
wadelnn wants to merge 1 commit intosonic-net:masterfrom
wadelnn:master
Closed

Disable BCM54616S MII isolate mode#327
wadelnn wants to merge 1 commit intosonic-net:masterfrom
wadelnn:master

Conversation

@wadelnn
Copy link
Contributor

@wadelnn wadelnn commented Feb 23, 2017

  • Add disable BCM54616S MII isolate mode

Ingrasys S9100 platform sets the PHY address to 00h during and after reset which puts
the device into isolate mode. This patch makes the PHY return to normal operation by
clearing writing MII isolate control register bit.

Signed-off-by: Wade He chihen.he@gmail.com

* Add disable BCM54616S MII isolate mode

Ingrasys S9100 platform sets the PHY address to 00h during and after reset which puts
the device into isolate mode. This patch makes the PHY return to normal operation by
clearing writing MII isolate control register bit.

Signed-off-by: Wade He <chihen.he@gmail.com>
@stcheng stcheng force-pushed the master branch 2 times, most recently from b9ca7e2 to 42ae02b Compare March 22, 2017 20:29
@wadelnn wadelnn closed this Apr 26, 2017
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
* [watermarks] add watermarkstat, watermarkcfg and aliases

* [watermark] watermark clear require root, add counterpoll ability to conf/show watermark counters polling interval

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* resolve conflict

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
One port/LAG may join multi-VLAN in tagged/untagged mode.
pvid on LAG is not supported in SAI v1.0, as workaround we deal with
each LAG member explicitly for pvid. Bridge port has to be created
first for port/LAG to join 1Q VLAN. The same bridge port is used to join all VLANs.
For each VLAN that port/LAG has joined, there is one vlan member id
which is the handle for VLAN member attribute get/set and remove.
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
* Sync to SAI 1.3 header

* SAI v1.3 pointer update

* Updated queue deadlock to enque notification

* Update SAI pointer
yxieca pushed a commit that referenced this pull request May 26, 2023
…D automatically (#15236)

src/sonic-platform-daemons

* 2466680 - (HEAD -> 202205, origin/202205) add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327) (5 minutes ago) [vdahiya12]
* a07bc21 - [ycabled] refactor code for onboarding async client changes;refactor (#355) (5 minutes ago) [vdahiya12]
yxieca pushed a commit that referenced this pull request Jun 7, 2023
…D automatically (#15366)

src/sonic-platform-daemons

* 18815c7 - (HEAD -> 202205, origin/202205) Revert "[ycabled] refactor code for onboarding async client changes;refactor (#355)" (3 minutes ago) [Ying Xie]
* 5324554 - Revert "add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327)" (3 minutes ago) [Ying Xie]
* cbbe2b5 - Revert "[ycabled] fix bug for `show mux status` delayed response (#364)" (3 minutes ago) [Ying Xie]
* 9746709 - Revert "[dualtor] Fix command `show mux status` (#371)" (3 minutes ago) [Ying Xie]
* 551ab3c - Revert "[ycabled] correct the wrong function call for 'config hwmode state' (#372)" (3 minutes ago) [Ying Xie]
yxieca pushed a commit that referenced this pull request Jul 8, 2023
…D automatically (#15749)

src/sonic-platform-daemons

* 112656c - (HEAD -> 202205, origin/202205) [ycabled][active-active] no initialize Async Client, when no active-active cable type; fix names for all ycabled threads (#373) (4 minutes ago) [vdahiya12]
* e325d5a - Revert "Revert "[ycabled] correct the wrong function call for 'config hwmode state' (#372)"" (4 minutes ago) [Ying Xie]
* ddabca1 - Revert "Revert "[dualtor] Fix command `show mux status` (#371)"" (4 minutes ago) [Ying Xie]
* 28918da - Revert "Revert "[ycabled] fix bug for `show mux status` delayed response (#364)"" (4 minutes ago) [Ying Xie]
* a849de9 - Revert "Revert "add async notification support in active-active topo; refactor code for ycable tasks for change events  (#327)"" (4 minutes ago) [Ying Xie]
* cf1e73a - Revert "Revert "[ycabled] refactor code for onboarding async client changes;refactor (#355)"" (4 minutes ago) [Ying Xie]
mssonicbld added a commit that referenced this pull request Sep 3, 2023
…tomatically (#16391)

#### Why I did it
src/sonic-linux-kernel
```
* 7ee50c9 - (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Upstream kernel patches with HW-MGMT 7.0030.1011 (#327) (29 hours ago) [Kebo Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
…tomatically (sonic-net#16391)

#### Why I did it
src/sonic-linux-kernel
```
* 7ee50c9 - (HEAD -> master, origin/master, origin/HEAD) [Mellanox] Upstream kernel patches with HW-MGMT 7.0030.1011 (sonic-net#327) (29 hours ago) [Kebo Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Oct 19, 2023
…tomatically (#16654)

#### Why I did it
src/sonic-linux-kernel
```
* 9534615 - (HEAD -> 202211, origin/202211) arm64: ac5: Fix watchdog timeleft (#334) (5 days ago) [pavannaregundi]
* 70c4df8 - [marvell-arm64]: Add support for 98DX35xx and 98CX85xx platform (#311) (6 days ago) [pavannaregundi]
* aab079e - [Mellanox] Upstream kernel patches with HW-MGMT 7.0030.1011 (#327) (4 weeks ago) [Kebo Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
shanshri pushed a commit to shanshri/sonic-buildimage-sonic-net that referenced this pull request Oct 24, 2023
…t#327)

* Intgerate HW-MGMT 7.0030.1010 Changes

 ## Patch List
* 0002-i2c-mlxcpld-Decrease-polling-time-for-performance-im.patch : torvalds/linux@cb9744178f33
* 0003-i2c-mlxcpld-Add-support-for-I2C-bus-frequency-settin.patch : torvalds/linux@66b0c2846ba8
* 0005-i2c-mux-mlxcpld-Move-header-file-out-of-x86-realm.patch : torvalds/linux@98d29c410475
* 0006-i2c-mux-mlxcpld-Convert-driver-to-platform-driver.patch : torvalds/linux@84af1b168c50
* 0007-i2c-mux-mlxcpld-Prepare-mux-selection-infrastructure.patch : torvalds/linux@81566938083a
* 0008-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers-enforceme.patch : torvalds/linux@cae5216387d1
* 0009-i2c-mux-mlxcpld-Extend-driver-to-support-word-addres.patch : torvalds/linux@c52a1c5f5db5
* 0011-i2c-mux-mlxcpld-Add-callback-to-notify-mux-creation-.patch : torvalds/linux@a39bd92e92b9
* 0012-hwmon-mlxreg-fan-Add-support-for-fan-drawers-capabil.patch : torvalds/linux@f7bf7eb2d734
* 0013-hwmon-pmbus-shrink-code-and-remove-pmbus_do_remove.patch : torvalds/linux@3bce071a301f
* 0015-mlxsw-core-Remove-critical-trip-points-from-thermal-.patch : torvalds/linux@d567fd6e82fa
* 0017-mlxsw-reg-Extend-MTMP-register-with-new-threshold-fi.patch : torvalds/linux@314dbb19f95b
* 0018-mlxsw-thermal-Add-function-for-reading-module-temper.patch : torvalds/linux@e57977b34ab5
* 0019-mlxsw-thermal-Read-module-temperature-thresholds-usi.patch : torvalds/linux@72a64c2fe9d8
* 0020-mlxsw-thermal-Fix-null-dereference-of-NULL-temperatu.patch : torvalds/linux@f3b5a8907543
* 0023-ethtool-Allow-network-drivers-to-dump-arbitrary-EEPR.patch : torvalds/linux@c781ff12a2f3
* 0024-net-ethtool-Export-helpers-for-getting-EEPROM-info.patch : torvalds/linux@95dfc7effd88
* 0025-ethtool-Add-fallback-to-get_module_eeprom-from-netli.patch : torvalds/linux@96d971e307cc
* 0026-mlxsw-core-Add-support-for-module-EEPROM-read-by-pag.patch : torvalds/linux@1e27b9e40803
* 0027-ethtool-Decrease-size-of-module-EEPROM-get-policy-ar.patch : torvalds/linux@f5fe211d13af
* 0028-ethtool-Use-kernel-data-types-for-internal-EEPROM-st.patch : torvalds/linux@b8c48be23c2d
* 0029-ethtool-Validate-module-EEPROM-length-as-part-of-pol.patch : torvalds/linux@0dc7dd02ba7a
* 0030-ethtool-Validate-module-EEPROM-offset-as-part-of-pol.patch : torvalds/linux@88f9a87afeee
* 0031-mlxsw-core_env-Read-module-temperature-thresholds-us.patch : torvalds/linux@befc2048088a
* 0035-hwmon-pmbus-Increase-maximum-number-of-phases-per-pa.patch : torvalds/linux@e4db7719d037
* 0036-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2888-c.patch : torvalds/linux@0c1acde1d3d0
* 0039-ethtool-Fix-NULL-pointer-dereference-during-module-E.patch : torvalds/linux@51c96a561f24
* 0040-phy-sfp-add-netlink-SFP-support-to-generic-SFP-code.patch : torvalds/linux@d740513f05a2
* 0046-i2c-mlxcpld-Reduce-polling-time-for-performance-impr.patch : torvalds/linux@669b2e4aa1a8
* 0047-i2c-mlxcpld-Allow-flexible-polling-time-setting-for-.patch : torvalds/linux@712d6617d0a2
* 0053-mlxsw-core-Avoid-creation-virtual-hwmon-objects-by-t.patch : torvalds/linux@f8a36880f474
* 0054-mlxsw-minimal-Simplify-method-of-modules-number-dete.patch :
* 0055-platform_data-mlxreg-Add-new-type-to-support-modular.patch : torvalds/linux@aafa1cafedca
* 0056-platform-x86-mlx-platform-Add-initial-support-for-ne.patch : torvalds/linux@a5d8f57edfb4
* 0057-platform-mellanox-mlxreg-hotplug-Extend-logic-for-ho.patch : torvalds/linux@bb1023b6da37
* 0058-platform-x86-mlx-platform-Configure-notifier-callbac.patch : torvalds/linux@67eb006cc1d1
* 0059-platform-mellanox-mlxreg-io-Extend-number-of-hwmon-a.patch : torvalds/linux@bbfd79c68170
* 0060-platform_data-mlxreg-Add-new-field-for-secured-acces.patch : torvalds/linux@9d93d7877c91
* 0061-platform-mellanox-mlxreg-lc-Add-initial-support-for-.patch : torvalds/linux@62f9529b8d5c
* 0062-Documentation-ABI-Add-new-attributes-for-mlxreg-io-s.patch : torvalds/linux@5b0a315c3db5
* 0063-Documentation-ABI-Add-new-line-card-attributes-for-m.patch : torvalds/linux@164e32717cbd
* 0064-hwmon-mlxreg-fan-Extend-the-maximum-number-of-tachom.patch : torvalds/linux@bc8de07e8812
* 0065-platform-x86-mlx-platform-Extend-FAN-and-LED-config-.patch : torvalds/linux@9045512ca6cd
* 0066-platform-x86-mlx-platform-Add-new-attributes-for-Cof.patch : torvalds/linux@4289fd4ad43a
* 0067-platform-mellanox-Add-dedicated-match-for-system-typ.patch :
* 0070-mlxsw-core_env-Defer-handling-of-module-temperature-.patch : torvalds/linux@163f3d2dd01c
* 0071-mlxsw-core_env-Convert-module_info_lock-to-a-mutex.patch : torvalds/linux@bd6e43f5953d
* 0076-ethtool-Add-ability-to-control-transceiver-modules-p.patch : torvalds/linux@353407d917b2
* 0077-mlxsw-reg-Add-Port-Module-Memory-Map-Properties-regi.patch : torvalds/linux@f10ba086f7e3
* 0078-mlxsw-reg-Add-Management-Cable-IO-and-Notifications-.patch : torvalds/linux@fc53f5fb8037
* 0079-mlxsw-Add-ability-to-control-transceiver-modules-pow.patch : torvalds/linux@0455dc50bcca
* 0081-platform-x86-mlx-platform-Add-support-for-multiply-c.patch : torvalds/linux@249606d37d20
* 0091-platform-x86-mlx-platform-Add-support-for-new-system.patch : torvalds/linux@4616e54795cc
* 0092-platform-mellanox-mlxreg-lc-fix-error-code-in-mlxreg.patch : torvalds/linux@287273a80be5
* 0093-hwmon-mlxreg-fan-Extend-driver-to-support-multiply-P.patch : torvalds/linux@150f1e0c6fa8
* 0094-hwmon-mlxreg-fan-Extend-driver-to-support-multiply-c.patch : torvalds/linux@d7efb2ebc7b3
* 0095-hwmon-mlxreg-fan-Fix-out-of-bounds-read-on-array-fan.patch : torvalds/linux@000cc5bc49aa
* 0096-hwmon-mlxreg-fan-Modify-PWM-connectivity-validation.patch : torvalds/linux@b1c24237341f
* 0097-hwmon-mlxreg-fan-Support-distinctive-names-per-diffe.patch : torvalds/linux@b2be2422c0c9
* 0097-1-mlxsw-Use-u16-for-local_port-field.patch :
* 0097-2-mlxsw-i2c-Fix-chunk-size-setting.patch :
* 0097-3-mlxsw-core_hwmon-Adjust-module-label-names.patch :
* 0152-mlxsw-i2c-Prevent-transaction-execution-for-spec.patch :
* 0160-platform-mellanox-Introduce-support-for-COMe-managem.patch : torvalds/linux@6995e711b69c
* 0163-platform-mellanox-Introduce-support-for-rack-manager.patch : torvalds/linux@f8dacbf7da2e
* 0166-DS-leds-leds-mlxreg-Send-udev-event-from-leds-mlxreg.patch :
* 0173-mlxsw-core-Add-support-for-OSFP-transceiver-modules.patch : torvalds/linux@f881c4ab37db
* 0176-platform-mellanox-fix-reset_pwr_converter_fail-attri.patch : torvalds/linux@488f0fca0db0
* 0177-Documentation-ABI-fix-description-of-fix-reset_pwr_c.patch : torvalds/linux@e7210563432a
* 0178-platform-mellanox-Introduce-support-for-next-generat.patch : torvalds/linux@fcf3790b9b63
* 0186-platform-mellanox-mlxreg-hotplug-Allow-more-flexible.patch : torvalds/linux@26e118ea98cf
* 0195-platform-x86-MLX_PLATFORM-select-REGMAP-instead-of-d.patch :
* 0201-i2c-mlxbf-incorrect-base-address-passed-during-io-wr.patch : torvalds/linux@2a5be6d1340c
* 0202-i2c-mlxbf-prevent-stack-overflow-in-mlxbf_i2c_smbus_.patch : torvalds/linux@de24aceb07d4
* 0204-i2c-mlxbf-Fix-frequency-calculation.patch : torvalds/linux@37f071ec327b
* 0205-i2c-mlxbf-support-lock-mechanism.patch : torvalds/linux@86067ccfa142
* 0265-hwmon-mlxreg-fan-Return-zero-speed-for-broken-fan.patch :
* 0285-platform-mellanox-nvsw-sn2201-change-fans-i2c-busses.patch :

* Update commit msg body of patch 0067

Signed-off-by: Kebo Liu <kebol@nvidia.com>

---------

Signed-off-by: Kebo Liu <kebol@nvidia.com>
Co-authored-by: Saikrishna Arcot <sarcot@microsoft.com>
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
…D automatically (sonic-net#15236)

src/sonic-platform-daemons

* 2466680 - (HEAD -> 202205, origin/202205) add async notification support in active-active topo; refactor code for ycable tasks for change events  (sonic-net#327) (5 minutes ago) [vdahiya12]
* a07bc21 - [ycabled] refactor code for onboarding async client changes;refactor (sonic-net#355) (5 minutes ago) [vdahiya12]
mssonicbld added a commit that referenced this pull request Nov 15, 2024
…lly (#20776)

#### Why I did it
src/sonic-gnmi
```
* c7aa913 - (HEAD -> 202405, origin/202405) [202405] Update dbus timeout to 10 minutes (#327) (3 days ago) [ganglv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
bobby-nexthop pushed a commit to bobby-nexthop/sonic-buildimage that referenced this pull request Aug 1, 2025
…onic-net#355)

This change onboards refactor of various redis DB opens in y_cable_table-helper.py file and is required to onboard y_cable_async_client PR sonic-net#327

Basically it has changes for all the table to be now exclusively opened once per class instance .
It also accommodates refactor for getting async channels open given the params to open it.

Description
Motivation and Context
refactor ycabled

How Has This Been Tested?
UT and deploy changes on test DUT
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
bobby-nexthop pushed a commit to bobby-nexthop/sonic-buildimage that referenced this pull request Aug 1, 2025
…or ycable tasks for change events (sonic-net#327)

Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com
This PR adds an enhancement to ycabled when if and whenever a notification arrives from SoC or server that it is going to be serviced. The notification can come at anytime and hence it must be listened to or awaited by the client at all times. For this we use asyncio lib and avail the async functionality in python.

the added code defines a GracefulRestartClient class that can be used to send requests to a gRPC server for graceful restart. The class has three async methods: send_request, receive_response, and notify_graceful_restart_start.

send_request method retrieves tor from request_queue, creates a request with the ToR, and sends it to the server using the stub's NotifyGracefulRestartStart method. It then reads the response from the server and prints the details of the response.

receive_response method retrieves response from response_queue, prints/puts the the response in DB, sleeps for the period mentioned in the response, and then puts the tor of the response back in the request_queue

We follow the existing ycabled pattern and instantiate the task_worker which contains all these tasks in a seperate thread

Description
Motivation and Context
How Has This Been Tested?
UT and using this server to validate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant