sonic-buildimage/dockers
zzhiyuan 3a68dc0325 [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-11-23 10:43:54 +00:00
..
docker-base Add a config variable to override default container registry instead of dockerhub. (#10166) (#10262) 2022-03-18 12:01:52 +08:00
docker-base-buster Image disk space reduction (#10172) (#10371) 2022-03-29 10:11:28 -07:00
docker-base-stretch Add a config variable to override default container registry instead of dockerhub. (#10166) (#10262) 2022-03-18 12:01:52 +08:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-buster Image disk space reduction (#10172) (#10371) 2022-03-29 10:11:28 -07:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-dhcp-relay Add dhcp6relay dualtor option (#12459) 2022-10-26 05:48:05 +00:00
docker-fpm-frr Add dualtor TSA/B/C support (#9726) 2022-03-08 19:02:06 +00:00
docker-fpm-gobgp [202012][dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7203) 2021-04-01 12:52:19 -07:00
docker-iccpd [iccpd][docker] fix initial startup configuration (#7982) 2021-08-05 15:21:33 +00:00
docker-lldp [202012][Monit] Deprecate the feature of monitoring the critical processes by Monit (#7823) 2021-06-09 09:04:22 -07:00
docker-mux [sonic-linkmgrd][202012] submodule updates (#10924) 2022-05-27 14:38:43 -07:00
docker-nat Create a docker-swss-layer that holds the swss package. 2022-01-27 23:53:09 -08:00
docker-orchagent [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2022-11-23 10:43:54 +00:00
docker-platform-monitor fix build error (#9902) 2022-02-03 08:52:29 +05:30
docker-ptf Add a config variable to override default container registry instead of dockerhub. (#10166) (#10262) 2022-03-18 12:01:52 +08:00
docker-ptf-sai [SAI-PTF][202012]Fix sai ptf 202012 (#12724) 2022-11-16 20:32:24 -08:00
docker-router-advertiser Update docker-router-advertiser.supervisord.conf.j2 (#10375) 2022-04-07 22:57:37 +00:00
docker-sflow Create a docker-swss-layer that holds the swss package. 2022-01-27 23:53:09 -08:00
docker-snmp updated jinja template for snmp contact python2 vs python3 issue (#9949) 2022-02-12 01:06:13 +00:00
docker-sonic-mgmt Add a config variable to override default container registry instead of dockerhub. (#10166) (#10262) 2022-03-18 12:01:52 +08:00
docker-sonic-mgmt-framework Set the version for python2 package protobuf (#10964) 2022-05-30 20:00:54 +08:00
docker-sonic-restapi [restapi]: Don't use python/python2 for restapi start scripts (#10285) 2022-03-22 18:35:27 -07:00
docker-sonic-telemetry [Monit] Fix the issue which shows Monit can not reset its counter. (#10288) 2022-04-21 22:00:42 +00:00
docker-swss-layer-buster Create a docker-swss-layer that holds the swss package. 2022-01-27 23:53:09 -08:00
docker-teamd Create a docker-swss-layer that holds the swss package. 2022-01-27 23:53:09 -08:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00