Commit Graph

1467 Commits

Author SHA1 Message Date
Guohan Lu
4b7eac8e28 [quagga]: update sonic-quagga
* 81ad4d2 2019-04-18 | lib: fix heap corruption in stream_fifo_free (#33) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-05-12 02:40:12 +00:00
Andriy Moroz
5a5c9b0558 [Mellanox] Update SAI (#2862)
Fixed ACL on LAG members

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-05-03 11:08:35 -07:00
Prince Sunny
c2fb404f51 [Broadcom]: Update SAI to 3.1.3.4-22 [L3 MTU Fix] (#2853) 2019-05-01 23:01:47 -07:00
Qi Luo
c6a415fd0f [submodule]: Update submodule sonic-snmpagent: Remove verbose feature missing logs (#2851) 2019-05-01 18:13:36 -07:00
Qi Luo
ac35206447 [docker-base]: Remove unused packages in docker images and host (#2807) (#2837)
* Remove unneeded packages in docker images and host
* Remove libpython3.6 from snmp docker image
2019-05-01 08:05:08 -07:00
Qi Luo
98d0b76c11 [mgmt] Fix pycparser installation (#1820) 2019-04-30 01:33:33 +00:00
Guohan Lu
2cc9fb92d4 Revert "[devices]: Watchdog support for DellEMC S6100 (#2741)"
This reverts commit 3a24c61108.
2019-04-23 16:33:42 +00:00
lguohan
35e8329afb refactor bcm attribute checker (#1974)
* refactor bcm attribute checker

* exclude phy_84752 and phy_84328

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-04-19 23:14:31 +00:00
Shuotian Cheng
04debfa4ec [Broadcom]: Update SAI to 3.1.3.4-21 (#2797)
Update hashing coverage for HashIP4TcpUdpPortsEqualField

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-04-18 02:14:09 -07:00
pavel-shirshov
3637f6d338 teamd: lacp: update port state according to partner's sync bit (#2794)
Downport of
54f137c105

According to 6.4.15 of IEEE 802.1AX-2014, Figure 6-22, the state that the
port is selected moves MUX state from DETACHED to ATTACHED.

But ATTACHED state does not mean that the port can send and receive user
frames. COLLECTING_DISTRIBUTION state is the state that the port can send
and receive user frames. To move MUX state from ATTACHED to
COLLECTING_DISTRIBUTION, the partner state should be sync as well as the
port selected.

In function lacp_port_actor_update(), only INFO_STATE_SYNCHRONIZATION
should be set to the actor.state when the port is selected.
INFO_STATE_COLLECTING and INFO_STATE_DISTRIBUTING should be set to false
with ATTACHED mode and set to true when INFO_STATE_SYNCHRONIZATION of
partner.state is set.

In function lacp_port_should_be_{enabled, disabled}(), we also need to
check the INFO_STATE_SYNCHRONIZATION bit of partner.state.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2019-04-17 00:02:03 -07:00
Andriy Moroz
18e815171d [mellanox]: Improve eeprom access reliability (#2756)
* Improve eeprom access reliability

Co-Authored-By: andriymoroz-mlnx <c_andriym@mellanox.com>
2019-04-16 18:54:01 -07:00
Andriy Moroz
a79f242e6c [Mellanox] Add FW upgrade before reboot feature (#2788)
* [mellanox] Enhance mlnx-fw-upgrade.sh (#1994)

Install a new FW by specifying FW path (mlnx-fw-upgrade.sh /path/to/FW)
or use default at '/etc/mlnx/fw-SPC.mfa'

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

* Fixed FW upgrade sequence. (#2111)

* Fixed FW upgrade sequence.
* Removed code duplication.
2019-04-15 10:30:06 -07:00
pavel-shirshov
c64e5e51db [vstest]: Test for quagga livelock fix (#2751)
* Test for quagga livelock fix

* Create /usr/local/etc for the test

* Add more debug info

* Install specific version of exabgp

* Update sonic-quagga
2019-04-10 01:21:34 +00:00
Guohan Lu
9299a249d3 Revert "[201803] [services] Restart SwSS service upon unexpected critical process exit (#2546)"
This reverts commit 2a8af2705e.
2019-04-06 22:21:30 +00:00
Guohan Lu
968a0dfbd0 Revert "[201803] Restart SwSS, syncd and dependent services if a critical process in syncd container exits (#2615)"
This reverts commit 9e8518c855.
2019-04-06 22:21:16 +00:00
paavaanan
3a24c61108 [devices]: Watchdog support for DellEMC S6100 (#2741) 2019-04-06 12:34:27 -07:00
Nazarii Hnydyn
9e76a47aa9 [devices]: Upgrade Mellanox HW-MGMT: fix high CPU utilization issue. (#2726)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-04-01 15:47:00 -07:00
Andriy Moroz
cbca6847d1 [devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2690)
* Add support of HwSKU Mellanox-SN2700-C28D8

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-03-27 18:34:12 -07:00
Joe LeVeque
99ed954203 [201803] Modify Debian apt repos to reflect changes made by maintainers (#2709)
* [201803][apt] Point to archive.debian.org for jessie-backports; remove jessie-updates

* Add no-check-valid-until for apt in base image

* Add no-check-valid-until for apt in docker-base

* [sonic-slave] Remove jessie-backports, as it is unused in the slave container
2019-03-27 11:23:38 -07:00
Shuotian Cheng
09f413246e [Broadcom]: Update SAI to 3.1.3.4-20 (#2708)
Address parity error in XOR bank for TH device

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-03-26 23:48:22 -07:00
Ying Xie
b38bab0e4b [bde driver] black list linux_kernel_bde driver (#2284)
This driver should be loaded by sonic service. If kernel tries to load
it, the driver would be loaded with default parameters, which is not
right for sonic.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-03-18 21:28:35 +00:00
Wenda Ni
d904b3e596 Add hook to allow customizing link cable lengths
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2019-03-09 13:43:32 +00:00
Joe LeVeque
9e8518c855 [201803] Restart SwSS, syncd and dependent services if a critical process in syncd container exits (#2615)
* Add process exit listeners to syncd containers so that containers stop upon unexpected critical process exit

* swss.service unit file now starts both swss and syncd containers as ExecStartPre steps, and for ExecStart, it indefinitely checks that the containers are running

* Add 'docker-wait-any' script, use it to wait for containers to exit
2019-03-06 23:49:58 -08:00
Joe LeVeque
41800b063a [supervisor] Fix crash if system clock rolls back within startsecs; Refactor patch (#2624) 2019-03-04 19:21:17 +00:00
Andriy Moroz
2c5bd96e1b Update SAI and SDK (v4.2.7304) (#2612)
This fixes FDB events for SONiC

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-02-27 10:26:35 -08:00
Joe LeVeque
2a8af2705e [201803] [services] Restart SwSS service upon unexpected critical process exit (#2546)
* [service] Restart SwSS Docker container if orchagent exits unexpectedly

* [dhcp_relay] Use STATE_DB to determine whether interfaces are ready

* Supervisor now autorestarts rsyslogd upon unexpected exit

* Add other critical processes to event listener

* Make supervisor-proc-exit-listener script global, have it read from 'critical_processes' file inside container

* Add SwSS to 'WantedBy=' option of services which should be started along with SwSS
2019-02-26 11:26:14 -08:00
Joe LeVeque
ec694a537b [201803] Set a rate limit on syslog messages from all Docker containers (#2574) 2019-02-26 11:25:50 -08:00
Ying Xie
08801d3586
[201803 sub-module] advance sonic-swss submodule (#2598)
Submodule src/sonic-swss e7bb548..2e8723b:
  > Fix incorrect ACL CRM increment, resulting orchagent crash (#800)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-22 17:56:22 -08:00
Prince Sunny
8e887e2b07 Disable IPv6 ra for eth0 interface (#2493)
* Disable IPv6 ra for eth0 interface
2019-02-21 21:43:56 +00:00
Guohan Lu
3eea909d5e [quagga]: collect quagga-dbg debian package
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-16 00:17:56 +00:00
Joe LeVeque
fe01470fe1 [201803] [radvd] Build radvd from source; Patch so as not to treat out-of-range MTU as an error (#2552)
* Build radvd from source and patch to ignore out-of-range MTU size

* Add comments to radvd patch, remove line instead of commenting it out
2019-02-12 14:53:21 -08:00
Shuotian Cheng
b233d6f1c4 [Broadcom]: Update SAI to 3.1.3.4-19 (#2554)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-02-11 21:53:40 -08:00
paavaanan
e77a7b12fb [devices]: Dell SMF driver hwmon number reorder fix for Dell S6100/Z9100 (#2542) 2019-02-08 22:06:15 -08:00
lguohan
e26043ac3c [build]: use vfs storage driver to build dockers (#2016)
seen issues to build dockers using aufs in ubuntu 18.04

Immedidate dockers are exported to docker file and then
imported into sonic image. Thus, whether using vfs or aufs
as the storage driver does not matter for the immediate build.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-08 20:35:04 +00:00
Guohan Lu
c4b8e36dc3 [submodule]: update sonic-swss
* e7bb548 2018-11-28 | [aclorch]: Store control plane ACL tables in orchagent (#708) (HEAD, origin/201803) [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-08 09:30:37 +00:00
Praveen Chaudhary
e117802c51 [ntp]: Do not disable reader for error ENOBUFS (#2529)
Need to build NTP 4.2.6 locally due to a Bug in NTP 4.2.6.

Changes:
1.) Remove 'apt-get ntp' step from build_debian.sh.
2.) Add NTP package as part of base image in slave.mk.
3.) NTP Makefile for Sonic Build System rules/ntp.mk.
4.) NTP Source Makefile src/ntp/Makefile.
5.) Patch to fix the issure src/ntp/patch.

Signed-off-by: Praveen Chaudhary<pchaudhary@linkedin.com>

* [src/ntp/Makefile]: DSC file URL points to sonic storage.

Signed-off-by: Praveen Chaudhary<pchaudhary@linkedin.com>

* [src/ntp/Makefile]: Changes to build with sonic blob.
2019-02-06 17:33:56 -08:00
Guohan Lu
9fad56fc82 [submodule]: update sonic-quagga
* 9d651b9 2019-01-30 | Add debug messages for bgp route advertisement (#30) (HEAD, origin/debian/0.99.24.1, origin/HEAD) [pavel-shirshov]
* 4b7825c 2018-10-12 | [security] Fix double free of unknown attribute (Quagga-2018-1114) [zhenggen-xu]
* 3ede63f 2018-10-10 | [security] debug print of received NOTIFY data can over-read msg array (Quagga-2018-1550) [zhenggen-xu]
* 3c64a8c 2018-10-10 | [security] Fix infinite loop on certain invalid OPEN messages (Quagga-2018-1975) [zhenggen-xu]
* 3348a33 2018-09-12 | CLI for BGP-GR restart-timer (#24) [Rodny Molina]
* a0630b7 2018-08-12 | Add support of custom ip dscp value for bgp sessions (#22) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-02 01:27:31 +00:00
Wenda Ni
8fda69389e [QoS]: Qos config change (#2504)
* a7050-QX-32S, a7050-QX32, s6000: 1) dscp mapping; 2) DWRR

a7060-Q32, a7060-C32, a7060-D48C8, s6100, z9100-C32, z9100-D48C8, a7260-D108C8 mmu setting change:
1) Update headroom pool size; Update ingress service pool and egress lossy pool sizes accordingly;
2) Add DSCP 48 to TC 6 mapping;
3) scheduler weight redistribute

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

* Correct format

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

* Link queue 2 to lossy buffer
Add scheduling weight to queue 2

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

* Link pg 2 to lossy buffer

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

* Add tc to pg, tc to queue, pfc to queue mapping for 2, 6 (and 7)

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-01 17:25:10 -08:00
Guohan Lu
4b70ae9467 [submodule]: update sonic-utilities
518ff41 2019-01-28 | Revert "Fix the ipv6 address lost issue with current config CLI (#331)" (HEAD, origin/201803) [Guohan Lu]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-28 17:13:40 +00:00
Joe LeVeque
a67a937475 [lldp] For MGMT port, if port alias is available, use it for Port ID subtype; otherwise use port name (#2445) 2019-01-25 20:44:15 +00:00
Joe LeVeque
c82be495b9 [caclmgrd] Don't crash if we find empty/null rule_props (#2475)
* [caclmgrd] Don't crash if we find empty/null rule_props
2019-01-25 20:44:01 +00:00
paavaanan
a18464b334 [devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2480)
* platform_reboot support for Dell S6100/Z9100 platforms
2019-01-25 12:18:25 -08:00
sridhar-ravindran
a18ec656d1 [devices]: Fix for build break for device s6100/z9100 from #2441 checkin (#2477) 2019-01-23 09:23:39 -08:00
Wenda Ni
aa33825441 [Qos]: Remove WRED on lossy queues on msn2700 (#2456)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-16 18:45:47 -08:00
sridhar-ravindran
39f0c251fa [devices]: Porting MUX reset logic to fix probe fails (#2441) 2019-01-14 09:56:17 -08:00
Shuotian Cheng
95a0a673c1 [libteam]: Add patch to update orig_hwaddr unconditionally (#2425) 2019-01-08 19:33:54 -08:00
Guohan Lu
e45f519619 [submodule]: * 06c73ca 2019-01-04 | [sonic_instaler]: use triple sync to flush fs changes to disk (#425) (HEAD, origin/201803) [lguohan] 2019-01-04 19:29:36 +00:00
Wenda Ni
a46903b3f5 [buffer]: Update pg headroom (10% safe margin) & egress service pool for a7050 and s6000 (#2407)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-02 09:50:07 -08:00
shawnli-van
69d5d61eb8 [devices]: Fix arista-convertfs for aligning flash via sfdisk in Jessie (#2402) (#2406)
The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.
2018-12-31 09:40:11 -08:00
Guohan Lu
1a84813f0d [submodule]: update sonic-utilities
HEAD is now at 2aa8ced [sonic-utilities/scripts] Fixing FP ports issue (#268)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-26 19:36:00 +00:00