Commit Graph

365 Commits

Author SHA1 Message Date
Ying Xie
76bef999fd [7050] updating 7050 MMU configurations (#7801)
Why I did it
7050 S4Q31 mmu configuration is missing ALPM configurations, causing not enough memory reserved for routes. Orchagent crashes on a nightly testbed with 6400 route entries.

How I did it
Add the missing ALPM configurations.

How to verify it
Load the configuration on testbed and verified new configuration exists and no more crash.

Signed-off-by: Ying Xie ying.xie@microsoft.com
2021-06-06 04:50:37 +00:00
Neetha John
66dea00c44 Rename AristaQX-32S skus (#7751)
This PR contains the following changes
Original Arista-7050-QX-32S sku (32x40G ports) has been renamed to Arista-7050QX32S-Q32
Arista-7050-QX-32S is symlinked to Arista-7050QX-32S-S4Q31 (4x10G, 31x40G ports)

Signed-off-by: Neetha John <nejo@microsoft.com>
2021-05-29 05:55:58 +00:00
Neetha John
5b7d2651a8 Update MMU and QOS settings for Arista-7050QX-32S-S4Q31 (#7672)
Signed-off-by: Neetha John <nejo@microsoft.com>

Why I did it
Need proper MMU and Qos settings for Arista-7050QX-32S-S4Q31

How I did it
Updated the settings based on Arista-7050-QX-32S
2021-05-29 05:55:40 +00:00
Neetha John
4f3d755ece
Update PG profile settings for Arista-7050QX-32S-S4Q31 (#7675)
Why I did it
PG profile settings need to be aligned with Arista-7050-QX-32S

How I did it
Copy over the current settings from Arista-7050-QX-32S and define params for 10G and 1G speeds as well

Signed-off-by: Neetha John <nejo@microsoft.com>
2021-05-25 11:38:56 -07:00
Aravind Mani
8e31179538
[201811] Dell S6100: Modify transceiver change event from interrupt to poll mode (#7332)
#### Why I did it

- xcvrd crash was seen in latest 201811 images.
- For Dell S6100,API 2.0 uses poll mode while 1.0 was still using interrupt mode.

#### How I did it

- Modified get_transceiver_change_event in 1.0 to poll mode in all the related branches.
2021-05-03 12:01:37 -07:00
Joe LeVeque
4a3324b73e
[201811] Add SOC property to enable AN/LT on some platforms (#7388)
Why I did it
To enable autonegotiation/link training on some Broadcom-based platforms (Arista 7060 and 7260, Celestica DX010)

How I did it
Add appropriate SOC property for enabling the feature to the Broadcom config files of appropriate platforms
Also convert line endings to UNIX format for one Celestica file
2021-04-20 18:56:45 -07:00
Ying Xie
d2b9b1ec0c [Arista] add MMU configuration for Arista 7260 C64 (#7027)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2021-04-08 16:29:19 +00:00
rkdevi27
6c2fd18f51
Fixed S6000 abrupt reboot in 201811 (#6923)
Why I did it
The S6000 devices, the cold reboot is abrupt and it is likely to cause issues which will cause the device to land into EFI shell. Hence the platform reboot will happen after graceful unmount of all the filesystems as in S6100.

How I did it
Moved the platform_reboot to platform_reboot_override and hooked it to the systemd shutdown services as in S6100.
Fixed the "/host unmount failed" issue as well in 201811.

How to verify it
Issue "reboot" command to verify if the reboot is happening gracefully.
2021-03-12 11:09:54 -08:00
Aravind Mani
ca76c05890
[201811] Dell: Fix S6000 reboot issue (#6688)
#### Why I did it
Reboot command in Dell S6000 failed to reboot the switch.

#### How I did it
Added retry mechanism and CPU reset.
2021-02-16 15:37:44 -08:00
Sumukha Tumkur Vani
0eb8f773f4
Potential fix for Celestica E1031 device hang
set CPU max_cstate to 0
2020-12-04 12:39:47 -08:00
Ying Xie
4c80d996ba
Revert "[201811][platform/cel]: Port fancontrol changes for dx010/e1031 to 201811 branch (#4867)" (#5496)
This reverts commit c9d86f0587.
2020-09-29 18:02:47 -07:00
Blueve
55d2d15e4e [conf] append nos-config-part for s6100 (#5234)
* [conf] append nos-config-part for s6100

* modify rc.local

Signed-off-by: Guohan Lu <lguohan@gmail.com>

* Update rc.local

Co-authored-by: Blueve <jika@microsoft.com>
Co-authored-by: Guohan Lu <lguohan@gmail.com>
Co-authored-by: Ying Xie <yxieca@users.noreply.github.com>
2020-09-08 19:30:33 +00:00
Santhosh Kumar T
a2cb92056a
Dell S6100 Port I2C changes to 201811 branch (#5150)
* Dell S6100 Port I2C changes to 201811 branch

* Update s6100_i2c_enumeration.sh
2020-08-18 14:38:28 -07:00
Wirut Getbamrung
c9d86f0587
[201811][platform/cel]: Port fancontrol changes for dx010/e1031 to 201811 branch (#4867)
Update fancontrol service for Seastone-DX010/E1031 device to support hysteresis temperature threshold and difference config for each unit fan direction type (B2F/F2B); follow master branch
2020-07-03 19:59:55 -07:00
Wirut Getbamrung
9f8d691d4e
[platform/cel]: Backport reboot cause API to 201811 branch (#4619)
Add reboot cause API to support process-reboot-cause.service
Implement chassis.get_reboot_cause platform API
2020-05-26 02:27:03 -07:00
Neetha John
3d41c271a4 [qos]: Alpha and ECN settings change for Th (#4564)
Dynamic threshold setting changed to 0 and WRED profile green min threshold set to 250000 for Tomahawk devices

Changed the dynamic threshold settings in pg_profile_lookup.ini
Added a macro for WRED profiles in qos.json.j2 for Tomahawk devices
Necessary changes made in qos.config.j2 to use the macro if present

Signed-off-by: Neetha John <nejo@microsoft.com>
2020-05-09 18:25:17 +00:00
Arun Saravanan Balachandran
b16807003a
DellEMC: S6100 CPLD upgrade (#4299)
* DellEMC: S6100 CPLD upgrade

* DellEMC: S6100 CPLD upgrade - Retry on failure
2020-04-06 14:53:53 -07:00
Wenda Ni
96675bc476 Add new hwsku Arista-7050QX32S-Q32 (#3091)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2020-03-22 22:42:48 +00:00
michealylj1
8ba0370776
[device]: Add new CIG device CS6436-54P and CS5435-54P, also update code for CS… (#4042)
* Add new CIG device CS6436-54P and CS5435-54P, also update code for CS6436-56P

* Update port_config.ini

update port config file started from "Ethernet1"

* Update port_config.ini

Update port config file started from "Ethernet1"

* Update port_config.ini

Update the index column in the port config file

* Update sfputil.py

Update sfputil python file as the port index changed

* Update port_config.ini

Update the index column in the port config file

* Update sfputil.py

Update sfputil python file as the port index changed
2020-02-17 14:11:42 -08:00
zhenggen-xu
25a640da34
[201811 Seastone] Fix the port index for some HWSKUs (#4155)
Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2020-02-14 21:34:10 -08:00
paavaanan
e07016565b
DellEMC S6100 BIOS upgrade support (#4075) 2020-01-31 11:28:59 -08:00
paavaanan
1f210771d1 [devices]: DellEMC S6000 PSU Temperature (#3954) 2019-12-31 17:22:20 -08:00
paavaanan
848c5961f8 DellEMC S6000 sensor.conf update (#3870) 2019-12-13 15:01:20 -08:00
paavaanan
8ad48a5243 DellEMC S6100 CPLD upgrade support (#3834)
* DelllEMC S6100 CPLD upgrade support

* Typo: CPLD
2019-12-06 10:54:45 -08:00
Wenda Ni
c1e17b3579 Adopt per-port buffer & qos profile apply on mellanox (#3543)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2019-11-07 00:23:10 +00:00
Wirut Getbamrung
6eb18ee4fa [device/celestica]: libsensors configuration file for Seastone-DX010 (#3664)
* [device/celestica]: libsensors configuration file for Seastone-DX010

* [device/celestica]: Add hysteresis config for lm75b sensors on Seastone-DX010
2019-10-28 07:33:56 -07:00
Stephen Sun
3f42353bf1 [Mellanox] Fix SN2010 issue: "show platform psustatus" returns "NOT PRESENT" for power off PSU on 201811 (#3598)
* [plugins/psuutil]Align psuutil of 2010 with that of 2100.

* [plugins/psuutil.py]Address comments via using more human-readable code
2019-10-21 16:14:35 +03:00
Wenda Ni
241b6facd8 [devices]: PG headroom change for Arista 7260 (#3600)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2019-10-15 15:26:15 +00:00
Wirut Getbamrung
4ab5c2f6e5 [device/celestica]: update psuutil follow new platform api (#3537)
Fixes #3518

Update psuutil API to detect PSU GPIO base from label
2019-10-07 16:56:00 +00:00
Ying Xie
56085be06b [bcm config] enable sram scan (#3558)
Per Broadcom's recommendations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-04 00:04:39 +00:00
Mykola F
e572080b2b [Mellanox] platform_reboot - sync & umount fs before power cycle (#3430) (#3476)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-09-26 15:47:27 -07:00
Wenda Ni
e7f1d4f3e2 Remove the divide by 4 operation to the under the hood SAI (#1532)
* Remove the divide by 4 operation to the under the hood SAI

This is to avoid the need and thus the confusion for application program to know
the mmu internal architecture

This change must have support from SAI change to reach the correct
config

Signed-off-by: Wenda <wenni@microsoft.com>

* Relegate the divide by 4 operation to the under the hood SAI for egress
lossless pool

Extend to 7060 and 6100

Signed-off-by: Wenda <wenni@microsoft.com>

* Add more TH/TH2 hwskus

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Update config test

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Add TH2 ingress lossy profile

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Move the divide by 4 operation to SAI internal

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* [bcm SAI] Upgrade Broadcom SAI to version 3.5.3.1-15

- Broadcom SAI 3.5 GA release 20190924.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-25 23:01:54 +00:00
bbinxie
c74822a1a4 Add new device data for dx010 (Celestica-DX010-C32,Celestica-DX010-D48C8) (#3492)
* add config.bcm for hlx

* modify config.bcm path for hlx

* Delete hx4-cel-hbtn-48x1G+4x10G.config.bcm

* add config.bcm and path

* update led for cxp

* Add new device data for dx010
2019-09-23 17:37:37 +00:00
Stephen Sun
aa33644d3c [Mellanox] fix sfp issue in reading qsfp_status (#3386)
There is a very low possibility that qsfp_status exists when opening it but doesn't when reading it a bit later. If this occurs an exception is raised.
However, this should be treated as "not presence" rather than causing an exception, which can be achieved by putting it into try block.
2019-09-06 15:12:45 -07:00
Mykola F
8d5e37dd34 [Mellanox] align platform_reboot to use "hardware reboot" (#3320)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-08-19 09:53:07 -07:00
Tony Titus
b5ebfc835e [innovium]: Initial commit (#3243) (#3347)
[build] Add ipmitool
[dockers] Add innovium platform in orchagent + ipmitool in snmp
[platform/innovium] Add innovium platform
[device/celestica] Add x86_64-cel_midstone-r0 device for innovium
[device/delta] Add x86_64-delta_et-c032if-r0 device for innovium
[sonic-slave-stretch] Add texi2html

Signed-off-by: Tony Titus ttitus@innovium.com
2019-08-16 12:35:01 -07:00
Ying Xie
b3ef09c837 [mmu] add mmu_init_config to HWSKU Arista-7260CX3-Q64 (#3334)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-14 00:32:40 +00:00
Kebo Liu
c29e2e28da [Mellanox sfputil] update get_transceiver_change_event to support more event (#3261) 2019-08-08 00:42:08 +00:00
Samuel Angebault
f314e3f885 [device/arista] Update arista drivers submodules (#3170)
* [device/arista] Update arista drivers submodules

* Change driver name in fancontrol
2019-07-29 21:56:59 -07:00
sridhar-ravindran
b1181291ce [devices]: DellEMC S6100 Enabling Polling Mode for Miim Operation (#3133) 2019-07-19 16:40:35 +00:00
lguohan
094f7ed9e0
Merge pull request #3015 : add kvm image support for all skus
[kvm]: add kvm image support for all skus
2019-07-16 08:26:29 -07:00
sridhar-ravindran
cd32a9fd92 [devices]: Reset I2C MUX in S6000 while invoking platform reboot (#2567) 2019-07-16 03:31:00 +00:00
Harish Venkatraman
c620cabd41 [dell/Z9100] Fix for optics not detected in fanout mode (#2496)
* [dell/Z9100] Fix for optics not detected in fanout mode

This commit fixes the issue of optics not detected
error while running sfputil show eeprom command. The root
casuse was the value of port index from port_config.ini for
fan out scenario. The port index should be starting from 0
and not 1. Platform cpld registers are assuming the port
numbers to start from 0 (lowermost bit), sfputils.py uses this
port number in get_presence function. Since the indexing passed
is wrong the optics was not detected and gave SFP EEPROM not
detected message.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@Dell.com>

* [dell/z9100] Fix for optics not detected in fanout mode

This commit fixes the issue of optics not detected error
while running sfputil show eeprom command. The root cause
was wrong port_index in fan out scenarios. Earlier fix of
changing the port_config.ini is reverted and changes made
in z9100 platform specific sfputil.py file. The port number
is decrement and tested for both 100G and 50G fanout cases.
Tested for the following show commands and test was succesful
show interfaces status, show interfaces transceiver eeprom,
show interfaces transceiver lpmode, show interface tranceiver
presence.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@Dell.com>
2019-07-16 03:27:21 +00:00
lguohan
6b42f753c6 [vs]: Force10-S6000 buffer settings for virtual switch (#2515)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-07-13 19:49:50 +00:00
lguohan
264e828eb7 [kvm]: support for all hwsku in kvm switch (#2495)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-07-13 19:49:50 +00:00
paavaanan
cf4ab3e646 [devices]: DellEMC Z9264f remove 115200 baud-ratesupport (#3046) 2019-07-10 22:47:23 +00:00
Sudharsan D.G
85c51bf5c9 [devices]: Added index for dell z9100 c32 (#2892) 2019-05-20 18:59:55 +00:00
paavaanan
643d16a4d7 LED Supprot For DellEMC Z9100 (#2799) 2019-05-20 18:58:55 +00:00
paavaanan
b54d7874c6 [devices]: DellEMC S6100/Z9100 sensor.conf update (#2861) 2019-05-09 16:55:37 +00:00
paavaanan
af380e9c79 [devices]: DellEMC S6000 xcvrd support (#2560)
* DellEMC S6000, xcvrd support

* sleep 1 second to avoid busy looping

* removal of dead code

* Correct typo error to 1 second

* Introduced 1 second sleep

* Revamped script with blocking call support

* get_transceiver_change_event api definition update

* adding timeout support for get_transceiver_change_event
2019-04-30 19:16:19 +00:00