Commit Graph

92 Commits

Author SHA1 Message Date
gechiang
705b0c4daa
[broadcom]: BRCM SAI 3.7.5.2-2 Pick up fix for CS00011729558 SAI_STATUS_INSUFFICIENT_RESOURCE wit attr SAI_BUFFER_PROFILE_ATTR_RESERVED_BUFFER_SIZE on the buffer profile using mmuconfig -p egress_lossy_profile (#6900)
This is to address the issue when "mmuconfig -p egress_lossy_profile" is executed which causes SYNCd failure with SAI_STATUS_INSUFFICIENT_RESOURCE for attr SAI_BUFFER_PROFILE_ATTR_RESERVED_BUFFER_SIZE.
This change also requires the change from (https://github.com/Azure/sonic-swss/pull/1649)
This SAI change was already tested as part of the (https://github.com/Azure/sonic-swss/pull/1649) PR.
2021-03-03 11:09:32 -08:00
lguohan
22a19e87aa [build]: wait for conflicts package to be uninstalled (#5039)
when parallel build is enabled, both docker-fpm-frr and docker-syncd-brcm
is built at the same time, docker-fpm-frr requires swss which requires to
install libsaivs-dev. docker-syncd-brcm requires syncd package which requires
to install libsaibcm-dev.

since libsaivs-dev and libsaibcm-dev install the sai header in the same
location, these two packages cannot be installed at the same time. Therefore,
we need to serialize the build between these two packages. Simply uninstall
the conflict package is not enough to solve this issue. The correct solution
is to have one package wait for another package to be uninstalled.

For example, if syncd is built first, then it will install libsaibcm-dev.
Meanwhile, if the swss build job starts and tries to install libsaivs-dev,
it will first try to query if libsaibcm-dev is installed or not. if it is
installed, then it will wait until libsaibcm-dev is uninstalled. After syncd
job is finished, it will uninstall libsaibcm-dev and swss build job will be
unblocked.

To solve this issue, _UNINSTALLS is introduced to uninstall a package that
is no longer needed and to allow blocked job to continue.

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 14:07:30 -08:00
lguohan
8bcdefbc34 [docker-orchagent]: make build depends only on sairedis package (#6467)
backport c4b5b002c3

make swss build depends only on libsairedis instead of syncd. This allows to build swss without depending
on vendor sai library.

Currently, libsairedis build also buils syncd which requires vendor SAI lib. This makes difficult to build
swss docker in buster while still keeping syncd docker in stretch, as swss requires libsairedis which also
build syncd and requires vendor to provide SAI for buster. As swss docker does not really contain syncd
binary, so it is not necessary to build syncd for swss docker.

[submodule]: update sonic-sairedis
1e42517996bfe41ac58d4c25ee3f93502befcb9d (HEAD -> 201911) [build]: add option to build without syncd

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 13:51:24 -08:00
judyjoseph
c80a7c837c
Update the correct SAI version in the sai bcm debian package. (#6369)
[201911] Update the version of the SAI debian package to reflect the actual version 3.7.5.2-1
2021-01-06 18:29:51 -08:00
judyjoseph
e6b9c74ee0
Update SAI 3.7 brcm package (#6324)
Release new SAI bcm package with the new patches merged into SUG INT_3.7 release branch and fix provided for CS00011619081
2020-12-31 08:32:12 -08:00
judyjoseph
ef89cb96a0
[201911] Broadcom SAI 3.7.5.2 (#5330)
* Broadcom SAI 3.7.5.2, with the fixes for following CSP's 

e5e06f4 Fix for CS00010914668(KB0029456/SDK-218585) and CS00010503275(KB0029315/SDK-213475)
cf4f8da Solution for CS00010775359 in 3.7
0348f03 Patch for CS00010897814
a2d2fdd Patch for CS00010817763
4d362e8 Patch for CS00010636736
557ddc6 Solution for CS00010443542
0f122f1 Port SDK SER fix for dynamic tables (SDK-175398 / SDK-221245) to SAI 3.7
37e5c5e Fix for CS00010790550
64daf8a Fix for CS00010726597
e7f000e Fix for CS00010697761
44b7ab3 Solution for CS00010617498.
1475c24 CSP10503275 request to pull KB0029314 into 3.7
2020-09-18 17:17:30 -07:00
abdosi
ea1b25a210
[libsaibcm] updated libsaibcm debian package for (#5138)
3.7.5.1-3 in 201911

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2020-08-11 08:55:43 -07:00
abdosi
43bb028ed6
[brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (#4916)
Fix for Copp Rules not having Policer Rate-Limit applied.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2020-07-08 06:47:33 -07:00
abdosi
a84b534ed7
[broadcom-sai]: Updated broadcom SAI to fix High CPU on TH/Th2 platform. (#4859)
Verified after loading on TH platforms cpu usage gone down:

Previous:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2521 root 20 0 1512860 360452 63540 S 144.6 4.4 8:00.03 syncd

After Fix:
7500 root 20 0 1592420 350912 64184 S 45.4 4.3 3:50.99 syncd
2020-06-27 01:10:41 -07:00
judyjoseph
ccf12d2ff7
SAI 3.7.5.1 (#4710) 2020-06-07 20:45:12 -07:00
abdosi
5839a01abd [sonic-buildimage] libsaibcm Debian package update (#4439)
from 3.7.3.3-3 to 3.7.3.3-4
Fixes for PFC WD

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2020-04-19 16:29:32 -07:00
abdosi
c495dc3050 [broadcom]: Updated BRCM SAI Debian package revision number to 3.7.3.3-2. (#4182)
This has patch to fix enable/disable attribute for lag member. It's on top of vanilla 3.7.3.3
2020-03-03 13:20:51 -08:00
Judy Joseph
6708dac9bc [broadom]: Upgrade broadcom SAI to 3.7.3.2
[Broadcom] : update saibcm-modules to sdk 6.5.16
[Broadcom SAI] : upgrade Broadcom SAI to 3.7.3.2
2020-01-02 14:41:26 -08:00
Danny Allen
5174ec8923 [bcm SAI] Upgrade Broadcom SAI to version 3.5.3.1m-26 (#50)
Signed-off-by: Danny Allen <daall@microsoft.com>
2019-11-12 18:46:21 -08:00
Ying Xie
9bdd693e81 [bcm SAI] upgrade Broadcom SAI to version 3.5.3.1m-25 (#48)
- Built with SAI header version v1.5.0.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-09 17:28:33 -07:00
Wenda Ni
7b0a5ba6ae Remove the divide by 4 operation to the under the hood SAI (#1532)
* Remove the divide by 4 operation to the under the hood SAI

This is to avoid the need and thus the confusion for application program to know
the mmu internal architecture

This change must have support from SAI change to reach the correct
config

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

* Relegate the divide by 4 operation to the under the hood SAI for egress
lossless pool

Extend to 7060 and 6100

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

* Add more TH/TH2 hwskus

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

* Update config test

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

* Add TH2 ingress lossy profile

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

* Move the divide by 4 operation to SAI internal

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

* [bcm SAI] Upgrade Broadcom SAI to version 3.5.3.1-15

- Broadcom SAI 3.5 GA release 20190924.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-25 15:57:07 -07:00
Shuotian Cheng
a5aa3bb0a5
[Broadcom]: Update SAI version to 3.5.2.3 (#3014)
--Create/remove port fix
--Support SAI_PORT_ATTR_SERDES_IPREDRIVER
--Egress ACL fix for PFC storm restoration
--Memory corruption during warm reboot
--SAI_OBJECT_TYPE_TUNNEL_MAP_ENTRY removal fix
--Segfault/memory corruption fix during switch shutdown
--Directed boardcast fix
--Pre-emphasis value for Dell 6100

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-06-14 15:47:11 -07:00
Guohan Lu
38ef219b7c [broadcom]: update broadcom sai to 3.5.2.1 2019-05-06 05:39:17 +00:00
Ying Xie
1af74d5662 [Bcm SAI] ugprade Broadcom SAI to version 3.3.5.4m-1 (#2765)
- Broadcom SAI 3.3 GA release 20190402.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-04-10 19:11:59 -07:00
Ying Xie
0846654585 [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488)
* [Broadcom SAI] upgrade Broadcom SAI to 3.3.4.3m-3

This is SAI 3.3.4.3m-3 compiled with SAI header file at commit ID
6ad3382217ec22f64cd268faefcbc2ff7caba4fd of SAI repo.

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

* change libsaithrift version to 0.9.4

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

* [submodule]: update swss, sairedis, swss-common, sonic-utilities

swss

* a6d60f2 2019-02-15 | Create egress ACL table group during the PFCWD stats list installment (#787) (HEAD, origin/master, origin/HEAD) [Wenda Ni]
* 52de963 2019-02-15 | [fpmsyncd] Add VNET routes support (#772) [Wei Bai]
* d27f49e 2019-02-13 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#786) [Jipan Yang]
* 6363985 2019-02-08 | [vstest]: Potential fix for timing issue in warm_reboot's routing UT (#788) [Rodny Molina]
* 6d5424d 2019-02-07 | VNet/Vxlan delete handling (#766) [Prince Sunny]
* d680ce2 2019-02-07 | [neighsyncd] increase neighbor syncd restore timeout to 110 seconds (#745) [Ying Xie]
* b78cc8d 2019-02-01 | support 8 lanes for a physical port (#778) [lguohan]
* 73b620c 2019-02-01 | Increase the watermark polling interval to 10s (#777) [Wenda Ni]
* a2b987b 2019-02-01 | [vstest]: fix test_speed.py (#780) [lguohan]
* cef4bd0 2019-02-01 | [vstest]: fix test_port_an_warm.py test (#779) [lguohan]
* 9f20eda 2019-02-01 | fix a unstable swss egress acl test (#776) [Kebo Liu]
* 316ae6c 2019-01-30 | portsorch ports init done flag should means buffer, autoneg, speed, m… (#747) [Jipan Yang]
* 4280036 2019-01-30 | [teammgrd] Fix inconsistent port admin status (#755) [Jipan Yang]
* cf12bdf 2019-01-30 | Remove AclTableGroup upon removal of port/lag/vlan (#751) [Jipan Yang]
* 5779c1a 2019-01-29 | [aclorch] Remove  L4 port range support limitation on egress ACL table and add new SWSS virtual test. (#741) [Kebo Liu]
* 36e85eb 2019-01-29 | On a routing vlan, the neighbor entry in the /31 subnet is not added to hardware (#771) [Kiran Kumar Kella]
* 882ccc6 2019-01-24 | [vnetorch] Change logic for adding VNet interface (#761) [Marian Pritsak]
* f637557 2019-01-25 | [vrfmgrd] Fix VRF is not set to VRF_TABLE in APP_DB correctly (#768) [yorke]
* e84a6ab 2019-01-24 | use sai_stat_id_t for new SAI header file (#769) [lguohan]

sairedis

* d685e35 2019-02-15 | Add support for fdb_event MOVE and check fdb event oids (#420) (HEAD, origin/master, origin/HEAD) [Kamil Cudnik]
* 2b91013 2019-02-15 | [vslib] add missing port attributes for virtual switch (#419) [Stepan Blyshchak]
* dcc8688 2019-02-14 | Add more specific logic for ingress ACL and buffer profile (#421) [Kamil Cudnik]
* c0b39ea 2019-02-12 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#418) [Jipan Yang]
* ab35dfa 2019-02-11 | Add support for vlan tagged frames in virtual switch (#417) [Kamil Cudnik]
* 145ea44 2019-02-02 | [flex counter] handle router interface stats (#410) [Mykola F]
* c03d639 2019-02-02 | Add more information on failed map sizes (#416) [Kamil Cudnik]
* 29f1e3c 2019-01-31 | Update SAI pointer (#414) [Marian Pritsak]
* c0a948d 2019-01-30 | Add WRED specific comparison logic (#413) [Kamil Cudnik]
* 1b6a661 2019-01-24 | install SAI extension header files into /usr/include/sai (#412) [lguohan]
* 849525a 2019-01-24 | Initialize notification queue pointer before switch create (#411) [Kamil Cudnik]
* 02d92f1 2019-01-23 | Add log info for not matching SG/IPG/QUEUES (#409) [Kamil Cudnik]
* 8793562 2019-01-18 | Update SAI pointer to latest master (#408) [Marian Pritsak]

swss-common

* ec04a5a 2019-02-14 | Add support for WarmStart::setDataCheckState() (#242) [Jipan Yang]
* 56bd73f 2019-02-13 | Force only supported commands on consumer table (#261) [Kamil Cudnik]
* 414de0f 2019-02-12 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#260) [Jipan Yang]
* 88de725 2019-02-05 | [pyext] enable types in stdint.h (#259) [Ying Xie]
* f457ae8 2019-02-05 | Optimized ProducerStateTable set/del notification processing to avoid… (#257) [Jipan Yang]
* e5286fd 2019-01-30 | [rif counters] Rif counter schema update (#256) [Mykola F]

sonic-utilities

* b44b462 2019-02-14 | Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABL… (#458) (HEAD, origin/master, origin/HEAD) [Jipan Yang]
* e856b8b 2019-02-11 | [aclshow] output only counters per table/rule (#442) [Roman Kachur]

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

* [mlnx] update mellanox sai

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-02-16 10:14:18 -08:00
Ying Xie
ca522a3da9 [bcm sai] Upgrade Broadcom SAI to version 3.3.4.3-2 (#2550)
- Including Broadcom patch for CS7252202.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-12 05:33:57 +00:00
Ying Xie
8a1d73d76d
[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 14:49:10 -08:00
Ying Xie
ff7ef2a8fc [bcm sai] upgrace Broadcom SAI to 3.3.3.1-3 (#2389)
- Include helix4 fix.
- Include support for TD2 56854.
- Add dummy support for SAI_PORT_ATTR_ADVERTISED_SPEED.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-17 00:44:05 -08:00
Ying Xie
1812d6c238 [bcm sai] upgrade to Broadcom SAI 3.3 GA release
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:10:30 +00:00
Ying Xie
2590aedda4
[bcm sai] Upgrade Broadcom SAI to 3.1.3.5-12 (#2319)
- Rebuilt with SAI header version v1.3.6

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-29 13:04:50 -08:00
Joe LeVeque
5c65c7730d [build]: Eliminate build warning messages (#2172) 2018-10-20 14:39:04 -07:00
lguohan
794981f283
[submodule]: update broadcom SAI to 3.1.3.5-11 (#2135)
disable vxlan init for helix4

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-09 23:43:31 -07:00
Shuotian Cheng
792e2dfbf3 [broadcom]: Update SAI to 3.1.3.5-10 (#2068)
* Fix Trident2 parity error correction bug
* VXLAN decapsulation implementation

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-09-21 21:56:44 -07:00
lguohan
22edc33896
[broadcom]: upgrade SAI to 3.1.3.5-8 (#2028)
Fix get_fdb_entry_attribute bridge port ID [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-07 12:59:10 -07:00
lguohan
f05ee30d53
[sai]: upgrade SAI to version 1.3.3 (#1944)
* [sai]: upgrade SAI to version 1.3.3

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

* update mellanox sai
2018-08-17 11:13:08 -07:00
lguohan
75361042f5
[device]: add support for celestica E1031 (#1528) 2018-08-04 21:19:29 -07:00
lguohan
2944f3e3cb
[swss]: sonic-swss submodule update (#1856)
* [swss]: sonic-swss submodule update

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

* [broadcom]: update sai.mk

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-07-13 13:43:16 -07:00
Ying Xie
daf590e677 [broadcom sai] update Broadcom SDK/SAI version (#1853)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-07-12 01:52:38 -07:00
lguohan
48e3e15f52
[broadcom]: update sai.mk (#1850)
* Add function pointers for extended get stats API

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-07-08 11:32:17 -07:00
Prince Sunny
51bfc2ebd5 [SAI] update SAI header to 1.3 (#1778) 2018-07-06 09:30:53 -07:00
sihuihan88
82343ca165 [sai]: update SAI version to 3.1.3.4-15 (#1808)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-06-22 18:03:27 -07:00
Shuotian Cheng
493ae71f8f [Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Fix mirror session destination update bug causing no resources issue

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-06-19 17:52:09 -07:00
lguohan
e7d17c0a2b
[broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-06-01 08:13:58 -07:00
Ying Xie
4d564688bf
[broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-05-24 16:49:24 -07:00
lguohan
9a23770173
[broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
Provide better ECMP load-balancing via hash seed

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-02 02:36:12 -07:00
Ying Xie
7759bc8b92 [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
* [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-9

Includes configuration files for following devices:

- Quanta 1X1B-32X
- Dell Z9264F
- Inventec D7054Q28B and D7032Q28B

* [bcm sai] upgrade sai version to 3.1.3.4-10

include configuration change to 7060 T0.
2018-04-12 17:55:08 -07:00
lguohan
3ba84ec1f7
[SAI]: Update sonic to use SAI v1.2.4 (#1509)
* Update SAI to v1.2.4

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

* update SAI to v1.2.4 header
2018-03-17 19:07:28 -07:00
Ying Xie
f306dd36cd
[BCM SAI] update Broadcom SDK and SAI (#1485)
SDK: no functional change, update version number to 3.4.1.11-2.
SAI: upgrade to 3.1.3.4-5, enable warm shutdown feature.
2018-03-14 14:44:40 -07:00
Ying Xie
e4a02cbf65
[SAI] upgrade to Broadcom SAI 3.1.3.4-4 (#1475) 2018-03-08 10:36:39 -08:00
Ying Xie
b9f4aa9f00 [bcm sai] upgrade to sai version 3.1.3.4-3 (#1451)
- included bcm config files missed between 3.0 and 3.1.
2018-03-02 21:21:47 -08:00
Ying Xie
4cac329472
[SAI] upgrade to Broadcom SAI 3.1.3.4-2 (#1427) 2018-02-27 18:34:57 -08:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
Shuotian Cheng
c568e8fd27 [Broadcom]: Update Boradcom SAI package to 3.0.3.3-3 (#1312)
- update Arista 7050-QX32S config.bcm file
- update Accton th-as771*-32x100G.config.bcm files
2018-01-16 19:16:34 -08:00
lguohan
52e07979e2
[broadcom]: update sai to 3.0.3.3-1 (#1243)
add SAI_ROUTER_INTERFACE_ATTR_MTU support in broadcom SAI
2017-12-17 02:03:39 -08:00
Shuotian Cheng
d9c0ede2e4
[Broadcom]: Update Broadcom SDK/SAI package (#1205)
Update Broadcom OpenNSL to 3.2.3.7-1
Update Broadcom SAI to 3.0.3.3

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-07 11:32:47 -08:00