Commit Graph

1491 Commits

Author SHA1 Message Date
Qi Luo
de7f5ac907 [devices]: Add index column to Mellanox-SN2700-D48C8/port_config.ini (#2146)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-10-13 20:17:41 +00:00
zhenggen-xu
773ed99d0a [security] Upgrade kernel to 3.16.57-2 on 201803 branch (#2116)
* [security] Upgrade kernel to 3.16.57-2

Fix issues below:
https://www.debian.org/security/2018/dsa-4120
https://www.debian.org/security/2018/dsa-4179
https://www.debian.org/security/2018/dsa-4187
https://www.debian.org/security/2018/dsa-4188
https://www.debian.org/security/2018/dsa-4196

and more.

* update opennsl-modules-3.16.0-6-amd64_3.4.1.11-7_amd64.deb package

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox] update sdk base url (new kernel version)
2018-10-10 23:41:27 -07:00
stepanblyschak
eba171b222 [submodules]: update submodules for MGMT PORT over SNMP support (#2113)
* [submodules]: update sonic-snmpagent, sonic-py-swsssdk

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [submodules]: update sonic-swss, sonic-swss-common

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-10-08 10:58:13 -07:00
Guohan Lu
431a9f67d5 [broadcom]: update SAI to 3.1.3.4-18
Merged PR 1138465: Disable port global pause frame rx processing logic [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-05 20:16:22 +00:00
Wenda Ni
3b12ffe373 [devices]: a7060, a7260 qos & buffer config change: 1) DSCP 46 to 5; 2) ecn config; 3) ecn (#2121)
on by default; 4) DWRR equal weight; 5) ingress lossless alpha 1/8

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-10-04 16:43:44 -07:00
zzhiyuan
f586cfa09c [devices]: Fix configurations for 7050QX-32S-S4Q31 (#2119)
- Correct lane map in broadcom configuration
- Add writes to txdisable bits for SFPs in hwsku-init
- Add correct hwsku-init implementation for 201803 branch
2018-10-04 14:31:12 -07:00
Taoyu Li
f333342dd6 [minigraph parser] add basic support for MGMT_PORT (#2103)
* [minigraph parser] add basic support for MGMT_PORT

* Change method to determine local interface name
2018-10-02 13:02:38 +00:00
Wenda Ni
3f58ca1487 [qos]: Resolve ecn runtime config save conflict with default config (#2109)
* Avoid ecn default config conflict with saving runtime ecn on/off on queues

Signed-off-by: Wenda <wenni@microsoft.com>

* S6000 qos & buffer config change: 1) DSCP 46 to 5 2) ecn config 3) ecn on by default
4) DWRR equal weight 5) ingress lossless alpha 1/8

Signed-off-by: Wenda <wenni@microsoft.com>
2018-10-02 05:30:48 -07:00
Guohan Lu
ad4e9c3fb2 [submodules]: update sonic-utilities
* 1e6470a 2018-10-01 | Root priviliege for ecn configuration set commands (#332) (HEAD, origin/201803) [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-02 01:37:15 +00:00
Guohan Lu
aef6a31d93 [submodule]: update linux kernel module
* 652f259 2018-10-01 | [Kernel] fix kernel build errors (#65) (HEAD, origin/201803) [Ying Xie]
* 55c7a19 2018-10-01 | uart: fix race between uart_put_char() and uart_shutdown() (#64) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-01 20:48:37 +00:00
Guohan Lu
6009d0c4f1 [submodule]: update sonic-utilities
69c5b03 2018-10-01 | require root privilege for all pfcwd configuration commands (#330)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-01 07:36:25 +00:00
Guohan Lu
974b066872 Added platform module start/stop service for Dell S6100/Z9100 platforms
- Introduced systemd .service files to start and stop platform drivers.

- Moved depmod in *.postinst files. So, during first-time boot depmod is triggered post package installation and drivers will be loaded without any issues.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-29 05:43:47 +00:00
Ying Xie
19147a4dfc [7050] device specific hwsku-init file needs execution privilege (#2100)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-28 14:16:57 -07:00
Qi Luo
de0add87d0 Update submodule: sonic-snmpagent for Fix PFC counters TX/RX (#2095)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-09-28 01:59:24 -07:00
Ying Xie
2eee201e27 [7050] Rename HWSKU Arista-7050-Q31S4 to Arista-7050QX-32S-S4Q31 (#2089)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-26 23:07:46 -07:00
Samuel Angebault
f9bca94d72 [arista]: Fix mount point discovery in boot0 for overlayfs (#1959)
On overlay filesystem the name of the mountpoint will also match in the
mount command for overlayfs as upperdir=
To prevent detecting the wrong partition we now look for space before.
This ensure that we match mountpoint and not devices in df and mount
outputs.
2018-09-26 02:41:50 +00:00
Guohan Lu
81e5178788 [build]: fix file permission to have a clean build
debian/rules should be 755 and will be modified to 755 if not, which
can cause the image to be marked as dirty

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-25 16:29:34 +00:00
zzhiyuan
b066c7c275 [devices]: Add new hwsku Arista-7050-Q31S4 (#2077) 2018-09-25 00:59:01 -07:00
Ying Xie
48a0e149ff [hwsku-init] Introduce mechanism to run HWSKU specific initialization code (#2072)
When there is HWSKU specific initialization needs to be performed, please
add hwsku-init script under device folder, it will be invoked by swss
before any subsequent initializations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-24 14:56:37 -07:00
lguohan
03e27da2aa
[broadcom]: update sai to 3.1.3.4-17 (#2070)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-24 09:02:52 -07:00
zhenggen-xu
33dbfd279a Move all platform submodule code into sonic-buildimage (#2063)
* Remove all platform submodules

* Add all platform code into sonic-buildimage
2018-09-21 03:04:53 -07:00
Guohan Lu
1fa607c36a [submodules]: update sonic-utilities
d5f2877 Fix pfcwd start_default: Use config_db to get the active port list.  (#319)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-14 09:01:07 +00:00
Guohan Lu
964bf9d005 [submodule]: update sonic-utilities
958f2d3 2018-09-13 | Fix pfcwd start_default (#317) (origin/201803) [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-13 07:45:22 +00:00
Wenda Ni
09a61f1846 [devices]: Buffers & qos config change on a6100 and a7050 (#2037)
* a7050 & a6100
ecn profile th_min = 1MB = 1048576 bytes, th_max = 2MB = 2097152 bytes, pmax = 5%

a6100
dscp 46 -> 5; apply lossy traffic profile
dwrr equal weight on 5 queues
ingress lossless alpha 2^(-3)

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Adjust config format for wred profile on a7050 & a6100

Signed-off-by: Wenda <wenni@microsoft.com>

* Update sonic-utilities submodule reference point

Signed-off-by: Wenda <wenni@microsoft.com>
2018-09-11 22:15:09 -07:00
Taoyu Li
2f0a3c63fa Don't reuse init_cfg.json from old image during upgrade (#2036) 2018-09-12 05:13:48 +00:00
Shuotian Cheng
5d299c496c [Dell]: Update sonic-platform-modules-dell submodule (#1999)
Fix depmod -a issue on 201803 branch

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-29 17:32:16 -07:00
Wenda Ni
2f12abe9ed [arista]: Buffers & qos config change on a7050 (#1973)
* Enable WRED red color profile on mellanox platform

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Change ingress alpha to 2^(-3) on a7050

* a7050: Add dscp 46 mapping to pg 5 and queue 5; link pg 5 and queue 5 to
lossy profile; Make ecn off by default on queues

Signed-off-by: Wenda <wenni@microsoft.com>
2018-08-23 00:39:20 -07:00
Wenda Ni
35f4c68bc0 [mellanox]: Enable WRED red color profile on mellanox platform (#1971)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-08-22 13:06:01 -07:00
Volodymyr Samotiy
9f40116605 [mellanox]: Fix problem with system EEPROM in "hw-mgmt" (#1952)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-21 00:56:59 -07:00
Guohan Lu
73d99d20b3 [submodules]: update sonic-platform-common
1e61b29 [sonic_eeprom] If reading from what appears to be a corrupt cache file, delete file and read directly from EEPROM (#10)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-20 19:00:29 +00:00
Guohan Lu
ff91c0511c [broadcom]: update sai to 3.1.3.4-16
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-20 04:43:05 +00:00
Guohan Lu
47c28c2ee2 [sonic-utilities]: add ecnconfig command
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-19 23:15:45 +00:00
Wenda Ni
e7a2132530 [devices/a7050]: Separate ECN/WRED profile per queue to maintain a consistent view among CONFIG_DB get commands (#1941)
for ecn on/off operations, which are conducted at per queue all interfaces granularity.

TODO:
Ideally, we should have ECN/WRED profile applied at per interface per queue
granularity, and we should do it for all hwskus under the device
directory, not just 7050.

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-08-19 21:38:59 +00:00
Qi Luo
275b583c1c Mitigate CVE-2018-5391 by sysctl (#1948)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-08-19 14:36:25 -07:00
Guohan Lu
cd8f6c8195 [sonic-swss]: support dynamic configuration of ecn on/off, threshold, prob
Upgrade to libsai 3.1.3.4-16 to support dynamic configuration

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-19 21:32:56 +00:00
Joe LeVeque
5817dcf72e Download newer version (8.23.0-2) of rsyslog from jessie-backports in hopes of eliminating memory leaks (#1912) 2018-08-17 09:54:28 +00:00
Guohan Lu
511eada57b [broadcom]: fix delay to load led proc init (#1940)
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-17 09:49:12 +00:00
yangbashuang
bf26a9a22c [platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 on branch 201803 (#1703)
* update centec platform drivers and sai

* update centec platform drivers and sai
2018-08-12 02:36:18 -07:00
simonJi2018
4b73fabe15 201803: update submodule sonic-platform-modules-ingrasys to 796169 (#1911)
* add new device accton 7116 support for sonic 201803 branch

* update submodule sonic-platform-modules-ingrasys to 796169
2018-08-12 02:31:07 -07:00
Taoyu Li
355246151a [minigraph.py] add support to parse deployment id of neighbor devices (#1890)
* [minigraph.py] add support to parse deployment id of neighbor devices

* Add unitest

* Fix function name
2018-08-08 05:25:11 +00:00
stanepc1
c2beed2bbf [device] Update driver and configuration for ly1200 of MiTAC (#1772)
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-08-07 08:41:40 -07:00
simonJi2018
7419f0a188 [nephos]: add new device accton 7116 support for sonic 201803 branch (#1887) 2018-07-30 16:01:20 -07:00
lguohan
a7ca027a34 [platform]: add sonic port alias for mellanox SN2700 platform (#1883) 2018-07-30 16:46:30 +00:00
Guohan Lu
f2b8442d94 [sonic-swss]: update sonic-swss submodule
* 8f52e29 2018-07-25 | Postpone intf task after buffer configuration applied on the port. (#539) (HEAD, origin/201803) [Jipan Yang]
* 2d2fdaa 2018-07-26 | [portsorch]: Refix: Don't print error when alias equal to PortConfigDone (#548) [Qi Luo]
* 87d34db 2018-07-12 | [MirrorOrch]: Fix bug when NULL is returned from the getenv function (#537) [Shuotian Cheng]
2018-07-28 01:04:27 +00:00
pavel-shirshov
36604f76b9 [swss]: Start counter from swss container (#1875)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Enable counters inside swss container. systemd is not flexible enough to follow our business rules
2018-07-28 00:55:48 +00:00
Taoyu Li
1f19c27006 Modify sudo lecture message to be more informational (#1800) 2018-07-28 00:55:03 +00:00
Rodny Molina
502ba0e86d Fix for bash's memory-leak (#1879)
* Fix for bash's memory-leak

Memory leak is observed during the execution of scripts that make use of bash-arrays. In scenarios where the offending script is executed on a regular basis (e.g. fancontrol), the leaking process may end up consuming most of the system resources.

In this PR i'm replacing bash in all the contexts where it executes (both host and dockers). The official patch for this issue is here: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040

* Fixing minor issue during code-merge

Signed-off-by: Rodny Molina <rmolina@linkedin.com>
2018-07-28 00:50:17 +00:00
Guohan Lu
14a0de768d [submodule]: update sonic-platform-common
10bef06 2018-06-21 | [sfputilbase.py] Fix bug where 'title' list always gets overwritten with empty list (#8) (HEAD -> 201803, origin/201803) [Joe LeVeque]
2018-07-23 18:01:49 +00:00
Ying Xie
dab944b5ab [bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
* Wait initializing led_proc for 60 seconds. bcm sdk need time to be ready accept a connection
2018-07-19 17:29:04 +00:00
Wirut Getbamrung
c115e307dd Change dx010 console speed (#1867) 2018-07-19 15:08:54 +00:00