sonic-buildimage/device
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
..
accton [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
alphanetworks [Alphanetworks] Add new platform SNJ60D0-320F (#8780) 2021-10-22 12:37:39 -07:00
arista [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2021-12-17 08:43:25 -08:00
barefoot [barefoot] add platform.json and hwsku.json for Newport (#8964) 2021-11-18 10:23:46 -08:00
broadcom 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
celestica [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
centec [devices]: Add platform_asic files for new platforms (#9078) 2021-10-27 08:58:05 -07:00
cig Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
common/pddf/plugins [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
dell [DellEMC S6000]: Move fan control to thermalctld from fancontrol.sh (#7239) 2021-12-08 10:43:14 -08:00
delta Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
facebook/x86_64-facebook_wedge100-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
ingrasys Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
inventec Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
juniper [SFP-Refactor] Modify transceiver key name (#9447) 2021-12-09 12:38:45 +05:30
marvell Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
mellanox [Mellanox] [SN4410] Fixed capability files - port_config.ini, hwsku.json, platform.json (#9538) 2021-12-15 19:25:20 +02:00
mitac/x86_64-mitac_ly1200_b32h0_c3-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
netberg/x86_64-netberg_aurora_715-r0 [devices]: Add platform_asic files for new platforms (#9078) 2021-10-27 08:58:05 -07:00
nokia Update Nokia platform IXR7250E device data (#9209) 2021-11-16 17:11:49 -08:00
pegatron/x86_64-pegatron_porsche-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
quanta Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
ragile [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
ruijie/x86_64-ruijie_b6510-48vs8cq-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
virtual Revert "[gearbox] provide common gbsyncd.service.j2 to start for platform specific gbsyncd docker (#9286)" 2021-11-19 10:10:55 -08:00
wnc/x86_64-wnc_osw1800-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00