Commit Graph

2067 Commits

Author SHA1 Message Date
Ying Xie
4023a77721 [QoS]: fix size and xoff value on a7050-QX-32S, -QX32, and s6000(#2527)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-07 16:36:00 +00:00
Mykola F
a98fe060e6 [submodule] update utilities pointer (#2523)
- [config/main.py]Fixed - added a validation such that delete portchannel or portchannel members only when it is configured (#277) (#445)
- Revert "[config/main.py]Fixed - added a validation such that delete portchannel or portchannel members only when it is configured (#277) (#445)" (#452)
- [intfutil] add Asymmetric PFC status to 'show interface status' (#437)

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-02-07 16:31:17 +00:00
Ying Xie
c88f16893f
[sub module] sub module sonic-swss-common tracking 201811 branch (#2530)
* [sub module] sub module sonic-swss-common tracking 201811 branch

And include change:

Submodule src/sonic-swss-common e8caaea..a40837a:
  > [pyext] enable types in stdint.h (#259)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* also include:

Submodule src/sonic-swss-common a40837a..594f4e8:
  > Optimized ProducerStateTable set/del notification processing to avoid… (#257)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-06 08:07:22 -08:00
Ying Xie
7d5cb914d4
[submodule 201811] advance sairedis and swss submodule for 201811 branch (#2526)
* [submodule 201811] advance sairedis and swss submodule for 201811 branch

Submodule src/sonic-sairedis 60f97c3..bdb0074:
  > Add more information on failed map sizes (#416)
  > Add WRED specific comparison logic (#413)
  > Initialize notification queue pointer before switch create (#411)
  > Add log info for not matching SG/IPG/QUEUES (#409)
  > Add support for any number of ports in virtual switch using lane map (#407)

Submodule src/sonic-swss 85f6322..65a0256:
  > Increase the watermark polling interval to 10s (#777)
  > [vstest]: fix test_port_an_warm.py test (#779)
  > [wartermarkorch] Fix repeated m_pg_ids and m_unicast_queue_ids add up issue (#752)
  > [teammgrd] Fix inconsistent port admin status (#755)
  > Remove AclTableGroup upon removal of port/lag/vlan (#751)


Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [submodule] advance sonic-swss submodule

Submodule src/sonic-swss 65a0256..bf21ee3:
  > On a routing vlan, the neighbor entry in the /31 subnet is not added … (#784)
  > portsorch ports init done flag should means buffer, autoneg, speed, m… (#747) (#783)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-05 16:36:32 -08:00
Wenda Ni
b1bdecb1c0 [QoS]: Link pg 2 and 6 to lossy buffer profile (#2511)
* Link pg 2 and 6 to lossy buffer profile

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-03 04:41:19 +00:00
Wataru Ishida
7808f3c95c [build]: add fastentrypoints which is used for sonic-utilities build (#2479)
https://github.com/Azure/sonic-utilities/issues/438

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-02-03 04:40:42 +00:00
zhenggen-xu
4a24103206 [updategraph] After system upgrade, restore files/directories with original attributes etc. (#2368)
* [updategraph] After system upgrade, restore files/directories with
original attributes etc.
Restore a few more files that was missed before.
Restore FRR configuration directory if exists on old system

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

* Removed deployment_id_asn_map.yml from copy list

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-02-02 20:54:58 +00:00
Mykola F
8e8c18f539 [submodule] update sonic-snmpagent (#2517)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-02-02 19:42:27 +00:00
stepanblyschak
e6bc80f997 [mlnx] Fix sai xml path for boxer platform (#2516)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-02-02 19:40:17 +00:00
Prince Sunny
e9125b944a [swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (#2510) 2019-02-02 19:39:42 +00:00
Joe LeVeque
f167e670fd [baseimage] Delay ntp-config service to start after 5 minutes (#2494) 2019-02-02 19:35:27 +00:00
Wenda Ni
cdbbb7eb4d [QoS]: QoS Config change for multiple devices (#2505)
* QoS config change: 1) DSCP mapping; 2) link pg/queue 6 to lossy buffer;
3) redistribute scheduler

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

* Add scheduling weight to queue 2

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

* Link pg/queue 2 to lossy buffer

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

* Update the pg headroom for a7060-D48C8 50G

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

* Update config gen test for qos

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

* Update pg headroom size, and update egress lossy pool size accordingly

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

* Update headroom pool size; Update ingress service pool and egress lossy
pool sizes accordingly;

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

* a7260: update headroom pool size; Update ingress service pool and egress lossy pool sizes accordingly;

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

* Update config gen test for buffer

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-02 19:34:35 +00:00
Prince Sunny
dac983e20b Disable IPv6 ra for eth0 interface (#2493)
* Disable IPv6 ra for eth0 interface
2019-02-02 19:31:30 +00:00
Joe LeVeque
38c08dfac9 [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades (#2490)
* [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades

* [sonic-utilities] Update submodule to include related changes
2019-02-02 19:29:52 +00:00
Ying Xie
746cd16837 [sub module] move sairedis and swss to 201811 branch (#2508)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-31 10:40:07 -08:00
zhenggen-xu
7b33538686 [devices]: Support 32x50G+16x40G profile on Seastone-DX010 (#2474)
The sai profile itself can support 32x50G+16x100G/40G while
the initial port_config.ini uses 40G speeds for port 17-32.

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-01-25 21:20:35 +00:00
Joe LeVeque
959a2ce26c [dockers] Prevent old supervisord messages from gettting re-logged to syslog (#2439) 2019-01-25 21:15:09 +00:00
Joe LeVeque
2acfac712c [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 21:10:52 +00:00
bbinxie
993df174ee [Celestica]: Update port led code for seastone-xp (#2476) 2019-01-25 21:10:18 +00:00
Ying Xie
6402c5c9bb [Broadcom SAI] Upgrade Broadcom SAI to 3.3.4.3-1 (#2472)
- Broadcom SAI 3.3 GA 20190118.
- With warm reboot support.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-22 22:49:59 +00:00
stepanblyschak
0921211009 [mellanox|ffb] ISSU version check (#2437)
* Revert "[mellanox]: Integrate CRIU tool to SYNCD docker container (#2061)"

This reverts commit 514b38f348.

Conflicts:
	platform/mellanox/docker-syncd-mlnx.mk
	sonic-slave/Dockerfile

* [mellanox|ffb] remove unused scripts

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

* [mellanox|ffb] ISSU version check

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

* [mlnx|ffb] remove extra ';'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-22 22:41:42 +00:00
jostar-yang
81467ae74a [devices]: Fix cpld sysfs permisson error for accton devices (#2457) 2019-01-22 22:40:46 +00:00
Marian Pritsak
16b202f5ba [swss][supervisord.conf] Remove intfsyncd 2019-01-22 20:29:54 +00:00
Ying Xie
ff1d194833 [sub-module] advance sonic-swss sub-module (#2453)
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (#756)
- [portsorch] fix bug in initializePort (#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (#748)
- [intfmgrd]: Support loopback (#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-16 22:44:01 +00:00
Samuel Angebault
d12d546fa8 [docker-engine] fix systemd shutdown hang (#2451)
When rebooting without the platform_reboot plugin, systemd takes a few
minutes to properly shutdown. It's blocking on some docker cleanup
operation.

As described by https://github.com/docker/for-linux/issues/421 there
is a race between docker.service and containerd.service.
docker needs containerd to properly stop the containers.
2019-01-16 22:42:31 +00:00
Shuotian Cheng
0213dd45bd [libteam]: Fix libteam race condition when interface is created and enslaved (#2449)
The race condition could happen like this:
When an interface is enslaved into the port channel immediately after
it is created, the order of creating the ifinfo and linking the ifinfo to
the port is not guaranteed.

Please check the patch commit message to get full details.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-01-16 22:41:29 +00:00
zzhiyuan
fb278e6482 Add new hwsku Arista-7170-Q59S20 (#2450) 2019-01-16 22:40:43 +00:00
Wenda Ni
405205c911 [buffer]: Add buffer defaults for t0 on s6000 and a7050 (#2438)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-16 22:37:49 +00:00
paavaanan
d67db22016 [device/Dell] SOSFTDEP to lpc_ich module for dell_ich module (#2440)
dell_ich module fails to load sometimes due to the failure of pci_get_drvdata().

This function is responsible for fetching INTEL PCI related memory handle in kernel. This is implemented in lpc_ich kernel module.

Due to race in addition/deletion of kernel modules, sometimes lpc_ich loads after dell_ich.

Because of this behaviour dell_ich module fails to load.

Fixed by addding dependency between modules.

Removed i2c_mux_gpio module from blacklist entry as it is not the original root case of this issue.
2019-01-16 22:36:42 +00:00
Joe LeVeque
2abecefd77 [lldp] For MGMT port, if port alias is available, use it for Port ID subtype; otherwise use port name (#2445) 2019-01-16 22:34:16 +00:00
stepanblyschak
022de2859b [mellanox] Update SDK to 4.3.0134 (#2447)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-16 22:31:33 +00:00
Joe LeVeque
af198fbe0c [docker-database] Add missing '%' in '%syslogtag%' (#2434) 2019-01-16 22:30:57 +00:00
Andriy Moroz
c6dfbd82d2 [submodule] Update swss pointer (#2432)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-01-10 18:58:50 -08:00
stepanblyschak
ec7b1d1eba [mellanox|ffb] enable ISSU feature for SN2700 (#2385)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-10 14:13:04 -08:00
stepanblyschak
ff526dd103 [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot (#2374)
* [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot

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

* [mellanox|ffb] add comments for mellanox start/stop drivers section

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-10 14:09:03 -08:00
stepanblyschak
ae190725ff [mellanox] Update SDK to 4.3.0132 (#2430)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-09 21:11:03 -08:00
Sudharsan D.G
1ffb34b4e3 [devices]: Dell z9264f bringup (#2415)
* Updating Z9264f for A01 board

* Adding platform_reboot plugin to Z9264f

* Change execute mode for platform_reboot

* Indenting python files

* Adding missed service file

* Addressing code review comments

* Modified the polling logic in transceiver change event
2019-01-08 21:14:18 -08:00
Harish Venkatraman
65f6253519 [Dell] z9100 port qos & buffer changes of 0330 to master (#2266)
This commit has the forward porting of changes from 20180330
to master. Unit tested by checking the broadcom registers
for the values. The values in hardware reflect the correct values
except for TC to PFC priority group map values. Master branch values
for TC to PFC priority group map for both z9100 and s6100 in incorrect,
I have a build of Oct 12 master and the values are correct in
that build.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@Dell.com>
2019-01-08 18:14:42 -08:00
padmanarayana
14a0297128 [devices]: Address Dell issue#46 : Adding MUX reset logic to fix probe failures (#2356) 2019-01-08 15:27:16 -08:00
Kevin(Shengkai) Wang
1acb6717d9 [mellanox] Block the select function by default in get_transceiver_change_event() (#2422)
* Use default timeout value which will block the select function
* Submodule update for argument type issue in Select class

Submodule update sonic-swss-common:

e8caaea - Align the argument type with epoll_wait() (#255)
3ea133d - [selectable]: Update throw message (#253)

Signed-off-by: Kevin Wang <kevinw@mellanox.com>
2019-01-08 11:09:33 -08:00
paavaanan
ab6a52f122 [devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2420) 2019-01-07 19:16:31 -08:00
stepanblyschak
584842db6c [submodules]: Update sairedis, utilities pointers (#2421)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-07 19:15:34 -08:00
lguohan
b57a376622
[docker-engine]: upgrade docker engine to 18.09 (#2417)
* [docker-engine]: upgrade docker engine to 18.09
2019-01-04 20:47:43 -08:00
Kebo Liu
f0b2190b23 [Mellanox sfputil ] fix lpmode set failure on Mellanox platform (#2408)
* fix set lpmode failure issue

* fix review comments
2019-01-04 09:37:03 -08:00
sunesh
b84dbd8074 [barefoot]: updating deb package for platform and sai (#2413) 2019-01-04 09:33:53 -08:00
stepanblyschak
363951fe0c
[mellanox] update SAI,SDK,FW pointers (#2410)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-03 17:17:56 +02:00
lguohan
1e8d3ec156
[submodule]: update sonic-swss (#2403)
* 0c07a80 2018-12-27 | [intfmgrd]: Merge intfsyncd into intfmgrd (#635) (HEAD, origin/master, origin/HEAD) [Marian Pritsak]
* a45c7b5 2018-12-23 | [watermark] fix watermark clear not working for PG (#729) [Mykola F]
*   25d16b3 2018-12-23 | [neighorch] return back original condition for port oper status (#727) [Qi Luo]
|\
| * 05a3558 2018-12-12 | [neighorch] return back original condition for port oper status [Stepan Blyschak]
* | 514cfef 2018-12-23 | [swssconfig]: Remove deprecated qos buffer configurations (#726) [Shuotian Cheng]
* | 025268a 2018-12-22 | [WR]: Add reconciliation logic for teamsyncd (#725) [pavel-shirshov]
* | 5803a8c 2018-12-21 | Fix: crash while destructing crmorch (#731) [Qi Luo]
* | 998b4ab 2018-12-21 | Temporarily skip the testcase test_routing_WarmRestart to unblock other pull requests (#733) [Qi Luo]
* | a7a68c1 2018-12-19 | Optimize neigh restore process during warm-reboot (#722) [zhenggen-xu]
|/
* 3d60b3e 2018-12-03 | [portsorch] Portsorch simple improvements (#718) [stepanblyschak]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-28 22:04:29 -08:00
paavaanan
f110d035e8 [devices]: Blacklist i2c_mux_gpio driver for dell Z9100/S6100 (#2399) 2018-12-24 10:34:55 -08:00
Ying Xie
a1e382aceb
[sub module] advance sonic-sairedis sub-module head (#2394)
To include following changes:

- Allow saiplayer to ignore failed GET responses (#406)
- Don't generate asic operations when attr value is same as default (#404)
- [flex counter] lower the severity of log during stat support check (#405)
- Move stop notifications thread after remove switch (#401)
- [meta]: Add support for ip prefix (#402)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-20 15:05:25 -08:00
paavaanan
baf228e9fa Adding index in port_config.ini (#2392) 2018-12-19 11:17:09 -08:00