sonic-buildimage/dockers
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
..
docker-base Enable the notify mode of rsyslogd imfile module used for supervisord (#6298) 2020-12-31 17:04:00 -08:00
docker-base-stretch Updated imfile configuration for supervisord logs (#6368) 2021-01-06 18:48:24 -08:00
docker-basic_router Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
docker-config-engine Remove unused packages in docker images and host (#2807) 2019-04-29 17:21:24 -07:00
docker-config-engine-stretch [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00
docker-database [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-dhcp-relay [201911][Monit] Fix the template file of dhcp_relay (#8714) 2021-09-13 08:34:42 -07:00
docker-fpm-frr remove staticd.conf (#9657) 2022-02-17 18:31:30 -08:00
docker-fpm-gobgp [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-fpm-quagga Support readonly vtysh for sudoers (#7383) (#7572) 2021-05-19 09:02:16 +08:00
docker-lldp-sv2 [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-nat [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-orchagent [Arista] Increase switch PCIe timeout for 7060-cx32s (#9248) 2022-03-02 07:44:24 -08:00
docker-platform-monitor [Mellanox] [201911] Support new sensor conf file for MSN4700 A1/A0 (#7536) 2021-05-06 15:01:35 -07:00
docker-ptf [docker-ptf]: Add teamd dependency to ptf (#6994) 2021-03-10 10:50:17 -08:00
docker-ptf-saithrift [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-router-advertiser [201911][radv] Support multiple ipv6 prefixes per vlan interface and change radv interval to 3min (#10016) 2022-02-18 07:40:55 -08:00
docker-sflow [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-snmp-sv2 [buildfix-201911] Fix the snmp docker build error. (#7452) 2021-04-28 01:28:55 -07:00
docker-sonic-mgmt [mgmt docker] move pycryptodome installation to the end of the docker building (#4917) 2020-07-11 09:46:51 -07:00
docker-sonic-mgmt-framework [Security]: Upgrade urllib3 to fix CVE-2021-33503 2022-02-25 01:29:39 +00:00
docker-sonic-restapi [201911][dockers][supervisor] Increase event buffer size for process exit listener (#7106) 2021-03-29 10:07:43 -07:00
docker-sonic-telemetry [201911][Monit] Restart telemetry container if memory usage is beyond the threshold (#7618) 2021-05-17 16:51:13 -07:00
docker-teamd [docker-teamd]: Increase teammgrd timeout to allow graceful shutdown. (#7662) 2021-05-27 11:24:59 -07:00
dockerfile-macros.j2 [build]: Improve dockerfile instructions (#3048) 2019-06-22 11:26:23 -07:00