Commit Graph

1403 Commits

Author SHA1 Message Date
Joe LeVeque
e710527382 [caclmgrd] Add a rule to allow all connections from localhost (#1858) 2018-11-03 12:54:28 +00:00
Ying Xie
f089d14970 [console speed] lock console speed to start up speed (#2222)
Auto negotiating console speed could cause sonic to lock on a wrong
speed under rare conditions. The only way to come out of the wrong
speed is to issue line break or restart console service with forced
speed, or reboot sonic.

Lock down the console speed to avoid these situations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-01 15:11:27 -07:00
Andriy Moroz
ce54ef7256 [mellanox]: Update MFT tools to v4.9.0 (#2207)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-30 01:49:36 -07:00
pavel-shirshov
e2d565ae03 [teamd] Force team device recreation in case it already exists (#2168)
* Force team device recreation in case it already exists
2018-10-18 22:22:45 +00:00
Taoyu Li
2aac4c4822 [tacplus nss conf] tacplus should be before compat (#2163) 2018-10-18 22:22:38 +00:00
pavel-shirshov
969ba5b2a7 [lldpd]: Use kernel autoprobe for netlink socket .nl_pid portion of the address (#2164) 2018-10-18 02:32:50 +00:00
Qi Luo
6a9bfafb10 [syncd] Treat bcmcmd as a supervisor task so we could collect stdout/stderr (#1825) 2018-10-17 15:39:04 +00:00
paavaanan
aa08555299 [devices]: Dell Z9100 T0 T1 MMU/QoS fixes (#2126)
* Dell Z9100 T0 PFC fixes

* Addressed review comments. Fixed QoS, Changed SKU's, and sorted bcm.config

* Adressed review comments and modified T0 and T1 profiles
2018-10-15 18:14:26 -07:00
Samuel Angebault
15ae2a799c [devices]: Align flash partition at 1M (#2104)
Flashes used for the 7050QX-32 and 7050QX-32S have a fw issue.
The best option to solve the problem is to upgrade to a newer firmware.
However this can only be done while in memory and take 10 seconds.
Adding an upgrade mechanism is possible but would need more
consideration as flashing the firmware and reformating the flash will
exceed the fast-reboot requirements.

A quick mitigation is to align the ext4 partition that we create on
these vfat based system on a 4k boundary.
Here we chose 1M instead but it's the same.
Newer version of sfdisk do this automatically but the one in SONiC
today doesn't have this behavior.

This workaround will only reduce the pace of the flash health
degradation. The only long term fix is to flash the firmware.
2018-10-15 22:24:08 +00:00
Guohan Lu
97fe497b84 [submodules]: update sonic-sairedis and sonic-utilities to use mac from syseeprom
sonic-sairedis
* 82fcc31 2018-07-04 | Use MAC from EEPROM for Interfaces (#329) (origin/201803) [Andriy Moroz]

sonic-utilities
* c0c9762 2018-06-26 | Optimize platform info fetch (#276) (HEAD, origin/201803) [Andriy Moroz]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-13 20:34:16 +00:00
Andriy Moroz
4d12746491 [Mellanox] Update hw-management service config (#1914)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-13 20:30:32 +00:00
Andriy Moroz
5d0748df03 [Mellanox] Use MAC from EEPROM for PortChannels and VLAN Interfaces (#1793)
* Use MAC from EEPROM for PortChannels

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Use MAC from EEPROM in DEVICE_METADATA

Will affect MAC for VLAN interfaces

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Get MAC via decode-syseeprom

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* hw-management is now a service

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add error handling for MAC fetch process

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-13 20:28:07 +00:00
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