sonic-buildimage/device
zzhiyuan d3c881858c [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.
2022-03-02 07:44:24 -08:00
..
accton [as7326-56x]Fix port_eeprom i2c mapping (#5466) 2020-09-28 16:21:19 +00:00
alphanetworks In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
arista [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2022-03-02 07:44:24 -08:00
barefoot [barefoot][device][plugins] Fix sfp reset (#6745) 2021-02-18 18:07:49 -08:00
broadcom/x86_64-bcm_xlr-r0 In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
cameo [201911] [Innovium] Update Cameo & Wistron Drivers (#7855) 2021-07-21 09:09:36 -07:00
celestica [201911] [Innovium] Update Cameo & Wistron Drivers (#7855) 2021-07-21 09:09:36 -07:00
centec [centec]update centec e582 platform drivers and libsai (#2043) 2018-11-16 09:41:39 -08:00
cig [Device]: Add new CIG device CS6436-54P and CS5435-54P, also update code for CS6436-56P (#4157) 2020-02-24 10:25:25 -08:00
dell [201911] DellEMC: S6000, S6100 - Enable thermalctld, Platform API changes (#9384) 2021-12-10 12:23:22 -08:00
delta [201911] [Innovium] Update Cameo & Wistron Drivers (#7855) 2021-07-21 09:09:36 -07:00
embedway/x86_64-ew_es6220_x48q2h4-r0 [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00
facebook/x86_64-facebook_wedge100-r0 In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
ingrasys In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
inventec [devices]: Adding pre-emphasis for Inventec d6356 platform (#3643) 2019-10-23 21:40:43 -07:00
juniper/x86_64-juniper_qfx5210-r0 In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
marvell [Makefile/slave docker] ARM arch doesn't support few packages (#3273) 2019-08-06 21:33:14 -07:00
mellanox [201911] Adding SKU Mellanox-SN3800-D100C12S2 (#7972) 2021-06-30 09:04:52 -07:00
mitac/x86_64-mitac_ly1200_b32h0_c3-r0 In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
pegatron/x86_64-pegatron_porsche-r0 [fix]: various minor fixes (#2246) 2018-11-10 13:39:30 -08:00
quanta In SAI 3.5 by default we are supporting 256 Group with 64 Memeber each. (#5400) 2020-09-22 11:38:19 -07:00
virtual/x86_64-kvm_x86_64-r0 [multi-asic][vs]: Add new multi-asic vs hwsku with four asics (#6558) 2021-02-25 18:55:21 -08:00
wistron/x86_64-wistron_sw_to3200k-r0 [201911] [Innovium] Update Cameo & Wistron Drivers (#7855) 2021-07-21 09:09:36 -07:00
wnc/x86_64-wnc_osw1800-r0 [barefoot][build] Fixed BFN platform build failure (#3766) 2019-11-19 22:14:29 -08:00