sonic-buildimage/device/arista/x86_64-arista_7060_cx32s
zzhiyuan a6d0a27a18
[Arista] Increase switch PCIe timeout for 7060-cx32s (#9248)
Co-authored-by: Zhi Yuan (Carl) Zhao <zyzhao@arista.com>
Why I did it
Arista 7060 platform has a rare and unreproduceable PCIe timeout that could possibly be solved with increasing the switch PCIe timeout value. To do this we'll call a script for this platform to increase the PCIe timeout on boot-up.

No issues would be expected from the setpci command. From the PCIe spec:

"Software is permitted to change the value in this field at any
time. For Requests already pending when the Completion
Timeout Value is changed, hardware is permitted to use either
the new or the old value for the outstanding Requests, and is
permitted to base the start time for each Request either on when
this value was changed or on when each request was issued. "

How I did it
Add "platform-init" support in swss docker similar to how "hwsku-init" is called, only this would be for any device belonging to a platform. Then the script would reside in device data folder.

Additionally, add pciutils dependency to docker-orchagent so it can run the setpci commands.

How to verify it
On bootup of an Arista 7060, can execute:
lspci -vv -s 01:00.0 | grep -i "devctl2"
In order to check that the timeout has changed.
2021-12-17 08:43:25 -08:00
..
Arista-7060CX-32S [Arista] Fix 7060 flex HWSKU SFP ports and Ethernet8/1 (#9173) 2021-11-10 08:46:25 -08:00
Arista-7060CX-32S-C32 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
Arista-7060CX-32S-D48C8 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
Arista-7060CX-32S-Q24C8 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
Arista-7060CX-32S-Q32 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
Arista-7060CX-32S-T96C8 Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9199) 2021-11-09 07:21:57 -08:00
plugins [pcie.yaml] Move pcie configuration file path to platform directory (#6475) 2021-02-21 08:27:37 -08:00
Arista-7060CX-32S-C32-T1 Support T1 sku, create symlink (#1827) 2018-06-29 14:33:11 -07:00
default_sku [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00
fancontrol [arista] Update Arista drivers submodule (#2097) 2018-09-28 21:27:41 -07:00
pcie.yaml [pcie.yaml] Move pcie configuration file path to platform directory (#6475) 2021-02-21 08:27:37 -08:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
platform_reboot [device/Arista] Improvements to the boot of Arista devices. (#2898) 2019-05-15 12:45:05 -07:00
platform-init [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2021-12-17 08:43:25 -08:00
platform.json [Arista] Fix 7060 flex HWSKU SFP ports and Ethernet8/1 (#9173) 2021-11-10 08:46:25 -08:00
pmon_daemon_control.json [Arista] Update driver submodules (#5686) 2020-10-23 12:28:36 -07:00
sensors.conf [arista] Delete sysfs entries for all Arista Digital Power Monitor/Management devices (#1256) 2017-12-20 14:05:23 -08:00
system_health_monitoring_config.json [arista]: Add placeholder healthd configuration for all platforms (#6233) 2020-12-17 05:18:38 -08:00
th-a7060-cx32s-flex-all.config.bcm [Arista] Fix 7060 flex HWSKU SFP ports and Ethernet8/1 (#9173) 2021-11-10 08:46:25 -08:00
thermal_policy.json [Arista] Update driver submodules (#5686) 2020-10-23 12:28:36 -07:00