Commit Graph

218 Commits

Author SHA1 Message Date
lguohan
75361042f5
[device]: add support for celestica E1031 (#1528) 2018-08-04 21:19:29 -07:00
Kebo Liu
a215bcd8f1 [mlnx-sfp-plugin] enhancement to support transceiver sensor monitoring (#1839)
* [mlnx-sfpplugin] enhancement to support tranceiver sensor monitoring

* Modify the eeprom folder to make it accessably from pmon container
* implement the get_transceiver_change_event API

file change list

	modified:   device/mellanox/x86_64-mlnx_lssn2700-r0/plugins/sfputil.py
	modified:   device/mellanox/x86_64-mlnx_msn2100-r0/plugins/sfputil.py
	modified:   device/mellanox/x86_64-mlnx_msn2410-r0/plugins/sfputil.py
	modified:   device/mellanox/x86_64-mlnx_msn2700-r0/plugins/sfputil.py
	modified:   device/mellanox/x86_64-mlnx_msn2740-r0/plugins/sfputil.py

signed-off-by Liu Kebo kebol@mellanox.com

* remove commented code

* revise the get_transceiver_change_event implementation and remove unused function

* remove blank
2018-08-02 16:53:30 -07:00
Feng Lee
8e74230e86 [Ingrasys] Add platform support for S9180-32X/S9280-64X with Barefoot ASIC on master branch (#1880)
* delete barefoot sonic-platform-modules-ingrasys

* add submodule for barefoot sonic-platform-modules-ingrasys

* add barefoot platform supports on master branch

* change the default speed from 40G to 100G

* remove barefoot sonic-platform-modules-ingrasys submodule

* add ingrasys s9180-32x, s9280-64x barefoot platform drivers

* update s9280-64x vdd core voltage

* update ingrasys barefoot platform debian rules
2018-08-01 17:02:48 -07:00
lguohan
81ee8fa34f
[platform]: add sonic port alias for mellanox SN2700 platform (#1883) 2018-07-27 22:47:59 -07:00
Sagar Balani
93905d3d82 [barefoot]: Support for platforms based on Barefoot Networks' device (#1796)
* Initial commit

* Add Ingrasys S9180-32X platform dirver.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn.service for init barefoot.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Add some functions and fixed some bugs.

1. Update sensors.conf.
2. Fixed IO expander init.
3. Fixed PSU EEPROM.
4. Fixed MB EEPROM.
5. Add fancontrol and fan init.
6. Add SYS LED control (sys, fan, fan tray).
7. 2.5V compute and setup max and min.
8. Fixed typo MB eeprom delete address.
9. Remove coretemp to BMC.
10. Add active CPLD.
11. Modify SFP+ GPIO slave address.
12. Modify tmp75 Near Port 32 slave address.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn script in /etc/init.d/

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn service in debian

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed CPLD switch LED behavior.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Fixed sensors and hwmon order.
1. Fixed ignore sensors Vbat.
2. Reorg hwmon order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed PSU1 and PSU2 EEPROM order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* initial barefoot checkin october 2017

* update refpoint

* update refpoints

* update refpoints to bf-master

* update refpoint

* update refpoint to tested version

* change to platform from asic

* update refpoint for swss

* revert core creation setting

* update refpoints

* add telnet for debug shell

* update refpoints 11/17/17

* missed change in file on previous merge

* [CPLD] Fixed blink LED issue.

* Fixed blink LED mask set error.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Update bf_kdrv.c for 6.0.2.39

* Update bf kernel driver

* Add bf_fun kernel module.

* Update bf_tun for fixed build error

* merge with Azure master (12/12/17)

* update swss refpoint

* update refpoint of swss

* library dependency for stack unroll

* update refpoint to bf-master

* [DHCP relay]: Fix circuit ID and remote ID bugs (#1248)

* [DHCP relay]: Fix circuit ID and remote ID bugs

* Set circuit_id_len after setting circuit_id_len to ip->name

* [Platform] Add Psuutil and update sensors.conf for S9100-32X, S8810-32Q and S9200-64X (#1272)

* Add I2C CPLD kernel module for psuutil.
 * Support psuutil script.
 * Add voltage min and max threshold.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Allow multi platform support - infra (more changes to follow)

* update relative path to include platform for clarity

* [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC for "branch 201712" (#1274)

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform
Update Head of submodule src/sonic-sairedis to "3b817bb"

- How to verify it
To build SONiC installer image and docker images, run the following commands:

make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* change source of files to github (from dropbox), update sairedis refpoint

* update refpoint of sairedis

* [centec] support CENTEC SAI 1.0 on 201712 branch and update e582-48x6q board   (#1269)

* [marvel]: Marvell's updates for SONiC.201712 & SAI v1.0 (#1287)

* update sairedis (fast-boot refpoint)

* fix syncd rpc make files

* update refpoint to handle Makefile change (no functional change)

* [Marvell]: Add support for SLM5401-54x device (#1307)

* Marvell's updates for SONiC.201712 & SAI v1.0
* [Platform] Add Marvell's SLM5401-54x for branch 201712

* [Broadcom]: Update Boradcom SAI package to 3.0.3.3-3 (#1312) (#1321)

- update Arista 7050-QX32S config.bcm file
- update Accton th-as771*-32x100G.config.bcm files

* update refpoint for Makefile chnage in sairedis

* update refpoint - sairedis

* update sairedis to older refpoint till we debug clean build

* export asic platform for build

* update refpoint for makefiles

* [PLATFORM] Centec update E582 driver fan/epprom/sensor (#1332)

* Upload wnc-osw1800

* Modify for Barefoot suggest

* Revert bfn-platform.mk

* Update bfn-platform-wnc.mk

Update parameter name

* Update parameter name

* initial support for WNC platform

* change switch name to "switch"

* Delete bf modules for rel_7_0

* Add Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Modify bfnsdk for Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Resolved the conflict.

* Resolved the conflict.

* Update submodule path and url.

* Delete unused file.

* Update PSU GPIO and EEPROM for psuutil.

* Add psuutil in S9180-32X

Signed-off-by: Wade He <chihen.he@gmail.com>

* update refpoint

* update refpoint

* change contact email, update refpoint

* cleanup and update kernel modules

* updates based on review

* update refpoint

* update refpoint

* fix typo in config script to check for platforms

* remove stale file

* resolve conflicts

* cleanup diffs with Azure repo and update SDK debs

* update refpoints to Azure

* address review comments

* revert refpoint of swss-common

* porting the build fix from master

* porting build fix from master

* Minor Fix

* Minor fix

* Temp to sde deb packages url

* Update sonic - sairedis,swss & swss-common refpoints

* Update git modules url path to bfn repo

* updated paths for swss, swss-common & sairedis

* Update refpoint for sonic-swss to local bfn repo

* Update URL for downloading sde debian packages

* porting fix links of debian git server from master

* porting fix links of debian git server from master

* [Ingrasys] Add platform support for S9280-64X with Barefoot ASIC

* Update ref points for swss, swss-common and sairedis repos

* Add sonic platform scripts for bfn montara/maverick

* Call sh scripts instead of calling py scripts

* Address upstream PR Comments (#10)

* Update bf-master with azure/master
* Undo changes to some files

* Revert "Address upstream PR Comments (#10)"

This reverts commit a7fddb83ca.

* Address upstream comments (#11)

* Remove all non bfn specific changes from upstream PR

* Revert "Address upstream comments (#11)"

This reverts commit 559132103e.

* Undo non bfn changes

* Little more cleanup

* Add back code removed in merge

* export CONFIGURED_PLATFORM

* Update sairedis and swss refpoints

* Address Upstream PR comment

* change deb pkg dependency from 3.16.0-4-amd64 to 3.16.0-5-amd64

* Set default tx queue len for usb0 interface to 64

* Update sairedis refpoint

* Update swss ref point

* Add bfn buffer cfg files for montara/maverick as per new design

* Update buffer cfg templates for bfn montara

* add non zero size to buffer profile
* add macro to generate port lists

* Update buffer cfg templates for bfn mavericks

* add non zero size for buffer profiles
* add port generation macro

* Add missing psmisc package

* BGP docker seems to be missing killall utility being used by fast-reboot script. This is causing non graceful termination of BGP sessions.
Adding psmisc to resolve this issue.

* Update swss ref point

* Update swss ref point

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update refpoint for sairedis and swss

* sairedis to azure master
* swss to latest bfn bf-master

* Update gitmodules

Update url for sairedis to azure master

* Correct typo in bfn platform script

* Update swss and sairedis ref points

* Update swss ref point

* Address Review comments

* Update swws path in gitmodules to azure master
* update swss refpoint
* update base docker j2 file -remove psmisc package (could be a concern, would cause fast reboot to not work correctly will fix in another PR)

* Fix sairedis refpoint broken in by previous merge

* Remove psmisc from docker base image

* This will break fast reboot as killall is required for killing bgp process and initiating graceful termination of BGP session.
Will fix this in a seperate PR. Need this for SONIC upstreaming

* Address upstream comments

* Remove bmc interface from interface jinja template and sample output interfaces file
* Add bmc interface at boot time to network interfaces for bfn bmc based platforms

* Remove autogen ingrasys debian files

* Revert "Remove autogen ingrasys debian files"

* Buffer and qos config template fix for bfn platforms (#21)

SWI-1509 Buffer and qos config template fix for bfn platforms

* Fix qos config files for montara & mavericks (#22)

* Reference only ppg 3,4 in qos files as no profiles are attached to 0,1 in buffer configs

* Fix vs test (#23)
2018-07-24 10:23:12 -07:00
paavaanan
76391ba544 [devices]: Added sensors.conf for S6100/Z9100 platform (#1788) 2018-07-23 22:18:59 -07:00
simonJi2018
927c41f26c [nephos]: add support sai 1.3.0 (#1868)
* Upgrade SAI to v1.2.4

* Add a new supported device accton as7116

* Add maintainer info for deb

* Add mk file for accton 7116

* fix some bug for sai 1.2.4

* fix git commit error for sdk and sai

* change sai and sdk deb name

* add config file for qos support

* initial commit

* Delete qos.json

* Delete buffers.json.j2

* Delete qos.json

* Delete buffers.json.j2

* Delete buffers.json.j2

* Delete qos.json

* add support for sai 1.3.0
2018-07-23 10:44:26 -07:00
Wirut Getbamrung
0ec932234e Change dx010 console speed (#1867) 2018-07-19 08:04:28 -07:00
Harish Venkatraman
a0bd65623d [device/dell] Update Shared headroom values (#1846)
This commit updates the shared headroom value for z9100
T0 and T1 profile based on the ratio. The ratio is derived
from the 40G broadcom recommended XL Sheet.
Unit tested the above configuration by dumping the registers
for the shared headroom. The shared headroom values in registers
reflects the correct new values for both T1 and T0.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-07-09 18:02:49 -07:00
Samuel Angebault
26afa348ea [device] Misc fixes for Arista platforms (#1844)
* Update sensors.conf for 7050QX-32 and 7050QX-32S

These two platforms were using a previous version of a kernel driver.
The new one names the i2c buses differently.
We therefore need to rename them here.

* Fix the default minigraph for the 7050QX-32S

The interface offset is invalid which makes sonic-cfggen generate an
invalid config_db.jon in rc.local.
This config then silently makes orchagent/syncd fail.

* Use the partition on which sonic-aboot.swi is

Instead of always assuming /mnt/flash, use the partition where the image
to be installed lies.
This allow for the image to be on any partition.
2018-07-05 14:30:57 -07:00
byu343
73a2e64d9f [arista]: Add platform support for DCS-7170-64C (#1718) 2018-07-03 17:10:11 -07:00
Volodymyr Samotiy
92eb7b47b2 [mellanox]: Fix symlink to QOS config file for MSN2740 platform (#1842)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-07-03 09:39:27 -07:00
Wirut Getbamrung
9b8d985a40 [device/celestica] Update fancontrol configuration file and sensor label in sensor.conf (#1826)
* update fancontrol config follow cel fsc document

* update lm75 sensors label
2018-06-29 14:34:11 -07:00
Prince Sunny
1caad016f9
Support T1 sku, create symlink (#1827) 2018-06-29 14:33:11 -07:00
Polly Hsu
043435958c [device]: Add a new supported device AS7312-54XS (#1821)
* Switch Vendor: Edge-core
* Switch SKU: AS7312-54XS
* ASIC Vendor: Broadcom
* Swich ASIC: Tomahawk+
* Port Configuration: 48x25G + 6x100G
* SONiC Image: SONiC-ONIE-Broadcom
Signed-off-by: polly_hsu@edge-core.com
2018-06-29 09:40:43 -07:00
Wenda Ni
a89b8d86cc Correct a7060 config for tor (#1823)
Move a7060 configs out of syncd docker

Signed-off-by: Wenda <wenni@microsoft.com>
2018-06-28 16:50:14 -07:00
Wenda Ni
d995147050 Migrate brcm platform to use new ECN config, which is (#1818)
applied on lossless traffic

Arista-7060CX-32S-C32
Arista-7060CX-32S-D48C8
Arista-7060CX-32S-Q32
Arista-7260CX3-D108C8
Force10-Z9100-T0
Force10-Z9100

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-06-27 19:22:37 -07:00
Samuel Angebault
ec850df74b [devices]: Use arista library as led plugin for more platforms. (#1809)
This apply to arista_7050_qx32 and arista_7050_qx32s.
2018-06-23 17:24:56 -07:00
Wenda Ni
7389443597 [devices]: Migrate a7050-qx-32s to use the new buffers config architecture and create the profile for t1 (#1709)
Move the ingress lossless profile from buffers.json.j2 to pg_profile_lookup.ini

Move pool and the rest of the profile from buffers.json.j2 to
buffers_defaults_t1.j2

Add port speed info in port_config.ini

Make buffers_default_t1.j2 the default profile in buffers.json.j2

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-06-22 18:53:30 -07:00
pavel-shirshov
3681cfa553
Use only active ports when applying buffers/qos configuration (#1787)
* First part of skipping not used port for qos configuration

* Use active ports only to set QoS parameters for 6100

* Add a test for qos.json.j2

* Add a test for Dell S6100 buffers.json template

* Update submodulre
2018-06-21 11:51:37 -07:00
Wirut Getbamrung
aaac497370 [device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU status (#1789) 2018-06-21 10:57:32 -07:00
Joe LeVeque
1942183185 [devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'serdes_firmware_mode_xe=0x1' line (#1779)
* Add Broadcom config files for Arista-7050-QX32 and Arista-7050-Q16S64 SKUs under respective directories

* Remove 'serdes_firmware_mode_xe=0x1' line from Arista 7050 Broadcom config files
2018-06-11 13:54:02 -07:00
Pradchaya P
481463ccbf Add Celestica seastone dx010 psuutil.py plugins (#1781) 2018-06-11 10:40:58 -07:00
zhenggen-xu
d2b1a0bcea [devices]: Add index and speed for port_config.ini on Celestica platform (#1780) 2018-06-09 11:21:01 -07:00
Mykola F
0ff7ba69f7 [sai.profile] move hwsku specific device configs to device/mellanox/platform/hwsku (#1768) 2018-06-06 10:05:46 -07:00
Wenda Ni
54046d4d47 [devices]: change S6100 to use new ECN/WRED config (#1749)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-06-01 02:59:29 -07:00
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