Commit Graph

192 Commits

Author SHA1 Message Date
Andriy Moroz
2d7046c410 Add QoS and Buffers configs for Mellanox MSN2100 and MSN2410 (#1739)
* Add QoS and Buffers config for Mellanox MSN2410

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

* Add QoS and Buffers config for Mellanox MSN2100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-05-29 23:24:05 -07:00
Joe LeVeque
6fc38af2f0
Remove fan LED initialization from led_control plugins for Arista 7050-QX32, 7050-QX-32S (#1733) 2018-05-23 17:57:38 -07:00
Wirut Getbamrung
ea465db046 [devices]: update dx010 fan configuration (#1735) 2018-05-23 02:55:29 -07:00
Harish Venkatraman
d261506f84 [device/dell] Add z9100 pfc T1 support (#1707)
This commit adds new code to support z9100 PFC T1 support with
broadcom recommended MMU settings for PFC feature.

Unit tested the setting by loading sonic-broadcom.bin and checking
the hardware for the values from the JSON file. Added the config.bcm
file th-z9100-32x100G.config.bcm to this folder and updated the
sai.profile file to point to hwsku directory. sai.profile now
points to /usr/share/sonic/hwsku/th-z9100-32x100G.config.bcm

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-05-21 13:57:37 -07:00
Harish Venkatraman
5feb3632c9 [device/dell] Add z9100 pfc T0 support (#1708)
This commit adds new code to support z9100 PFC T0 support with
broadcom recommended MMU settings for PFC feature.

Unit tested the setting by loading sonic-broadcom.bin and checking
the hardware for the values from the JSON file. The T0 configs supports
fan-out of 100G ports on Z9100. Added new config.bcm for fanout of 100G
ports and tested the fanout by sending traffic using bcmcmd, new config.bcm
file will be copied to /usr/share/sonic/hwsku/th-z9100-8x100-48x50G.config.bcm.
The sai.profile file is updated to point to hwsku directory.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-05-21 13:57:25 -07:00
lguohan
c0bb2e04d5
[devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-18 16:32:49 -07:00
Prince Sunny
74aa48279f [devices]: Reverting the xoff value for Arista 7060 t0 topology (#1726) 2018-05-17 17:41:43 -07:00
Samuel Angebault
c1e37a6be9 [Arista]: Add a reboot script for all remaining platforms. (#1706)
Adds a platform_reboot script for 7050QX-32, 7050QX-32S and 7060CX-32S.
This allow a proper cold reboot to happen.
2018-05-15 05:27:10 -07:00
loshihyu
e9672b2b06 [devices]: Add inventec D7032 D7054 platform psustatus (#1696) 2018-05-12 01:32:55 -07:00
Andriy Moroz
872f69a566 Update buffers config for Mellanox 27xx devices (#1649)
* Update buffers config for Mellanox 27xx devices

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

* Remove buffers template test for msn27xx

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-05-08 08:37:35 -07:00
Prince Sunny
c63b828bf6
40G profile for Arista 7060 (#1677) 2018-05-07 11:02:30 -07:00
simonJi2018
65b3774487 [nehpos] fix libsainps and nps-sdk bug for support sai 1.2.4 (#1639) 2018-04-25 22:20:14 -07:00
Ying Xie
58584ca30c
[test] Adding Broadcom configuration file test (#1611)
* [test] Adding Broadcom configuration file test

In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.

* Invoke test from Debian package builder

* Use $() syntax

* Remove the debug echo statement
2018-04-17 21:10:17 -07:00
padmanarayana
ee811f374e Add support for S6100 switchport LEDs (#1610) 2018-04-17 18:18:09 -07:00
Andriy Moroz
6383de3907 [Mellanox] Add support for a new platform LS-SN2700
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-14 20:42:31 +00:00
Wenda Ni, Ph.D
f947172c0a [devices]: Merge ingress service pools of lossless and lossy traffic for TD2 (#1578)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-04-13 22:22:21 -07:00
klhaung
0bdb407d3f [device]: Add LED initialzation file for Inventec-d7054q28b-r0 (#1595)
* update SAI profile
* Add a new Initialization file for Broadcom LED microprocessors
2018-04-13 17:06:12 -07:00
Prince Sunny
fcbbb8a369
50G support for Arista 7060 (#1580)
* 50G SKU for Arista 7060
2018-04-12 18:06:26 -07:00
Harish Venkatraman
0d5dc775de [device/dell] Update pg_profile_lookup.ini (#1586)
This commit updates the pg_profile_lookuip.ini file with
correct xoff values for 50G. 25G/40m xoff value is updated
to reflect the correct value.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-04-11 08:12:37 -07:00
Prince Sunny
7b31f7df32 [devices]: Fix type for qos.json in 7060 and S6100 (#1582) 2018-04-10 22:45:59 -07:00
simonJi2018
1c32321805 [device]: Add a new supported device accton-as7116 (#1539)
* Upgrade SAI to v1.2.4

* Add a new supported device accton as7116

* Add maintainer info for deb
2018-04-02 19:06:00 -07:00
lguohan
a5bfa2c7ab
[device]: do not export gpio{1,2} if already exist on S6000 (#1547) 2018-03-29 23:39:49 -07:00
jostar-yang
ad0ad91331 [device]: Accton 5712 Modify sfp to support oom and sfp access by cpld. Add psuutil (#1542) 2018-03-28 23:49:27 -07:00
lguohan
25d73ef1a1
[device]: fix led_control plugin on Arista 7050-QX32S (#1527)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-24 02:04:25 -07:00
Pradchaya P
c083532a5d [device] Update sensors conf on DX010 (#1430)
Update sensors configuration file. Add threshold to PSU sensors values.
2018-03-23 15:18:15 -07:00
nealtai
830e1dd560 [device]: Add a new supported device, Delta-ag5648 (#1470)
* [platform]: Add a new supported platform, Delta-ag5648

            CPU : Intel Rangeley C2538
            Swich ASIC: Broadcom Tomahawk BCM56967
            Ports : 48x25G + 6x100G
            Switch SKU : Delta-ag5648

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Delete the file

Delete the auto-generated file.

* [device]: ag5648 remove all *.cmd files.
          remove the files under ag5648/modules

Signed-off-by: neal tai <neal.tai@deltaww.com>

* [device]: ag5648 device drivers
          1. Use the common driver dni_emc2305.c

          ag9032v1 device drivers
          1. Move dni_emc2305.c to be the common driver
          2. Remove at24.c

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-03-23 15:17:41 -07:00
Roy Lee
ebea937a7a [devices]: New platform as7326-56x (#1524)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* Install sonic-platform-common package in platform-monitor docker for ledd (#1330)

* Install sonic-platform-common package in platform-monitor docker for ledd

* Specify Python wheel dependencies in docker-platform-monitor.mk; Remove explicit specifications from Dockerfile.j2

* Add related files for new platfrom as7326_56x.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Validate sfputil.py and verified.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Push submodule sonic-platform-modules-accton for as7326-56x validation.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-03-23 12:36:25 -07:00
Joe LeVeque
94c90cd5e5
Make Dell S6100 and Z9100 psuutil.py plugins compliant with Python 3.6 (#1523) 2018-03-22 18:24:32 -07:00
Harish Venkatraman
87e942343f [device/dell] Added dynamic sai.profile generation (#1518)
* [device/dell] Added dynamic sai.profile generation

This commit addds new code for generating dynamic sai.profile file.
The sai.profile.j2 will generate the sai.profile dynamically based on
the topology. It will generate the sai.profile under /etc/sai.d/ directory
in syncd. Before syncd is started this J2 file will be run from the start.sh
file from /usr/bin/ directory. Since the sai.profile is dynamically generated
the old sai.profile file is not required so deleted the file for S6100.
It also address couple of more changes for port_config.ini support is added
for speed in the file which can be used later to find the port speed. Also
the buffer_default_t*.j2 file the ports should be from 0 to 64 changed.

Unit tested the code on S6100 for dynamic generation of sai.profile file for
both T0 and T1 and the file was created in /etc/sai.d/sai.profile
Similarly tested the sonic binary on S6000 to make sure that the sai.profile is
copied from the /usr/share/sonic/hwsku/sai.profile to /etc/sai.d/sai.profile.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>

* [sonic-buildimage] Updating module sai-redis

Updating the sonic-sairedis point.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-21 09:28:23 -07:00
Ying Xie
651aa917a2
[Arista7060] Add PFC configuration (#1506) 2018-03-19 09:12:49 -07:00
Wenda Ni, Ph.D
de5e5332be [mmu]: reduce headroom size and remove queue min for lossless traffic (#1508)
* Reduce xoff size for in-flight packets of lossless traffic

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

* Must explicitly specify min buffer size per queue to be zero

Signed-off-by: Wenda <wenni@microsoft.com>
2018-03-17 14:48:52 -07:00
Wenda Ni, Ph.D
ad5f871feb [devices]: Consolidate to one egress lossless buffer configuration (#1493) 2018-03-16 15:52:08 -07:00
Roy Lee
33252a4320 [devices]: As7312 54x add sfp rest and fan policy (#1464)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* Install sonic-platform-common package in platform-monitor docker for ledd (#1330)

* Install sonic-platform-common package in platform-monitor docker for ledd

* Specify Python wheel dependencies in docker-platform-monitor.mk; Remove explicit specifications from Dockerfile.j2

* [platform] 1. Add QSFP reset control.
           2. Validate fan control monitoring.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Replace tab by blanks.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Resolve submodule conflicts.
Signed-off-by: roy_lee <roy_lee@accton.com>

* AS7312-54x, fix a indention error on sfputil.py.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-03-14 10:23:54 -07:00
Harish Venkatraman
6194a81236 [device/dell] Workaround for sai.profile (#1491)
This commit has the workaround for sai.profile to point to
config.bcm T0 profile. This fix will be reverted once the
sai.profile.j2 dynamically generates this file.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-13 21:47:03 -07:00
Wenda Ni, Ph.D
1f4ce098b5
Buffers config (#1476)
* Improve memory utilization through more sharing at the ingress on A7050-QX-32S

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

* Apply buffers config changes on A7050-QX-32S to A7050-QX32

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

* Apply buffers config changes on A7050-QX-32S to S6000
2018-03-12 14:25:57 -07:00
Nadiya
f88734b391 Fix sfp cli commands (#1482)
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
2018-03-12 09:27:36 -07:00
jostar-yang
16f81afe9a [devices]: Add as7716-32xb device code (#1472)
* Add as7716-32xb device code

* Add as7716-32xb drv code
2018-03-09 15:47:10 -08:00
wadelnn
2d4c8a2ae6 [Platform] Update switch config files for Ingrasys platforms. (#1474)
* Add psuutil for S8900-54XC and S8900-64XC.
* Update syseeprom to CPU EEPROM for S9130-32X, S9200-64X and S9230-64X.
* Update sensors.conf for S9200-64X and S9230-64X.
* Update submodule for platform/broadcom/sonic-platform-modules-ingrasys

Signed-off-by: Wade He <chihen.he@gmail.com>
2018-03-08 11:49:17 -08:00
lguohan
667ca3254e
[device]: add platform_reboot for dell s6000 (#1465) 2018-03-07 12:07:47 -08:00
Wenda Ni, Ph.D
ef683848af [devices]: A7050 qx32 mmuconfig (#1463)
* Apply MMU config (buffers, qos) to Arista-7050-QX32

Signed-off-by: Wenda <wenni@microsoft.com>
2018-03-07 07:21:41 -08:00
Roy Lee
763461eeac [devices]: As7816 64x validate sfputil psuutil (#1466) 2018-03-07 00:33:33 -08:00
ZivErlich
126d08d000 [devices]: Updating SFPUtil plugin for Acton AS7212 and Marvell SLM5401 (#1456) 2018-03-04 17:58:53 -08:00
Wenda Ni, Ph.D
20ab99bf31 [qos]: Apply ECN configuration on lossless queue for 7050-QX-32S and S6000 (#1439) 2018-03-03 10:09:49 -08:00
Harish Venkatraman
2b449420b8 [device/dell] Code supports New Buffer mgmt infra (#1449)
This commit adds new code which supports the new buffer mgmt infra.
 - Added new code to support buffers for T0 and T1 configs of S6100.
 - Added new qos.json file to support qos on S6100.
 - Changed the pg_profile_lookup.ini file to support xon_offset.
 - Changed buffer.json.j2 file according to new buffer mgmt infra.

Unit tested by verifying the above changes by loading S6100 with the
configuration, checked the hardware for broadcom recommended settings
by running bcmcmd. Sent the unit test logs to Ying.

Checked the PG_RESET_OFFSET value which reflects the new xon_offset value of 2288
from the pg_profile_lookup.ini.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-02 23:31:41 -08:00
sihuihan88
1e6576c5b8 [devices]: Update qos and buffer configuration for Dell S6000 (#1441)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-01 20:56:12 -08:00
cpchang
9f1f95f98f Fix LED activity behavior (#1436) 2018-03-01 15:37:27 -08:00
hans-tseng
837e964854 [devices]: add the delta ag9064 platform (#1435)
* add the ag9064 platform

Signed-off-by: hans <hans.tseng@deltaww.com>
2018-03-01 02:14:26 -08:00
Wenda Ni, Ph.D
33d5a9cfd6
Add qos.json for Arista-7050-QX-32S (#1388)
* Add qos.json for Arista-7050-QX-32S

This file is a modification from the one in the swss docker, and is applied in the base image

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

* Prepare buffers.json.j2 alongside with qos.json to allow qos config to take
effect on a7050-QX-32S

Signed-off-by: Wenda <wenni@microsoft.com>
2018-02-28 17:30:34 -08:00
zhenggen-xu
c19daf2def [devices]: Change the alias name for ports on Celestica platforms (#1431) 2018-02-28 10:40:35 -08:00
Andriy Moroz
4f3a356432 [Mellanox] Add sensors config for MSN2740 (#1432)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-02-28 18:06:23 +02:00