* [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>
* 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>
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>
* 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
* 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>
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>
* 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>
* [sonic build] Define folder macro for target folder /usr/sonic/share/templates
* [sonic-cfggen] allow templates to include from common folders
- Allow templates to include files under /usr/share/sonic/templates
- Allow templates to include files in the same folder as the root template
* [Buffer config] install the buffer configuration template
* [Arista7260cx3] Add buffer configuration for Arista7260CX3 T0 topology
- pg profile look up table is incomplete. Currently contains T0 default
values.
* [Arista7260cx3] Adding QoS configuration
* Address review comments
1. Stop generating ingress pg configuration for lossless pgs.
2. Stop putting ports into speed sets, put all ports in one set.
3. Remove ingress lossless profiles.
4. Added some tailing '-' back to remove leading spaces.
- What I did
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule
- How I did it
Update Quanta-IX1B-32X platform module driver.
- How to verify it
admin@switch1:~$ sudo psuutil status
PSU Status
----- --------
PSU 1 OK
PSU 2 OK
- Description for the changelog
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
- What I did
Updating new switch configuration files
- How I did it
Updating related switch configuration files in device/ingrasys
- How to verify it
Checking system and network feature is worked as well
- Description for the changelog
Update switch configuration files for S9130-32X/S9230-64X
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
This commit adds new support for dynamic buffer configuration. The cable_length macro is
updated to return the cable length for server ports. Since the server ports are part of
VLAN MEMBERS, the macro loops through the VLAN MEMBER ports and returns the cable length
accordingly. If the port is not part of the SERVER port then it defaults to default cable
length. The new code in the macro will be executed only if the switch is ToRRouter
which is connected to the server on one side.
Tested the code by loading minigraph configuration on the switch which had configuration
for leaf-router as DEVICE NEIGHHOR and server ports in VLAN and ports which are not part of
either server or leaf router. The dynamically generated buffer.json and config_db.json file
had the cable_legnth updated accordingly for server ports with "5m" and leafrouter with "40m"
and unconnected port to default "300m". The redis database also reflects the buffer profile's
for 5m, 40m and 300m.
Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
* [device] Add a new platform ly1200 for MiTAC
Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>
* [platform/broadcom/sonic-platform-modules-mitac] Update dependency for new kernel.
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
* [minigraph]: Set hostname in all default minigraphs to 'sonic'
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
* [kernel]: update linux kernel to support ly1200 of MiTAC
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
* [platform/broadcom/sonic-platform-modules-mitac] adapt PSU driver for linux kernel upgrade.
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
* Resolve the conflict with Quanta
modified files are as below.
.gitmodules
platform/broadcom/one-image.mk
platform/broadcom/rules.mk
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
* [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1.
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
* [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1.
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
- What I did
Updating FEC value and SAI download link
- How I did it
Updating related switch configuration files in device/ingrasys
Updating sai.mk files in platform/nephos
- How to verify it
Checking system and network feature is worked as well
- Description for the changelog
Updating FEC value and SAI download link for Ingrasys S9130-32X/S9230-64X
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
This commit adds new support for dynamic buffer configuation. Adding pg_profile
lookup table for supporting the buffer profile using cable length and port speed.
Lookup table entries are calculated based on formula for different cable length and speed.
The 50G entries needs to be updated once again as we are waiting for the interface sublayer
MAC delay values.
Additionally fixed some issues in the buffers.json.j2 file.
Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
- What I did
Updating switch configuration files and download link
- How I did it
Updating related switch configuration files in device/ingrasys
Updating related mk files in platform/nephos
- How to verify it
Check system and network feature is worked as well
- Description for the changelog
Update switch configuration files and download link for Ingrasys S9130-32X/S9230-64X
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
* [platform] Add Psuutil and fixed voltage alarm for S9100
* Add I2C CPLD kernel module for psuutil.
* Support psuutil script.
* Add voltage min and max threshold.
Signed-off-by: Wade He <chihen.he@gmail.com>
* [Platform] Add Psuutil and update sensors.conf for S8810-32Q and S9200-64X
* Support psuutil script.
* Update sensors.conf for tmp75.
Signed-off-by: Wade He <chihen.he@gmail.com>
* Add switch ASIC vendor and platforms for Nephos
- 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
- 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>
* Advance sonic-sairedis submodule to include #271 (Add Nephos ASIC)
Revise kernel driver to duplicate nodes for support of lm-sensors, at fan and PSU.
Update sfputil.py to to fit new SfpUtil prototype.
Signed-off-by: roylee123 <roy_lee@accton.com>
* Bump sonic-platform-modules-arista
Improves i2c performance for xcvrs
Fix the led_plugin by ignoring unknown ports
Miscellaneous improvements
* Fix index column for Arista-7260CX3-D108C8
* Fix flash permissions for Arista platforms
The ext4 flash uses acl to properly handle permissions in EOS.
Aboot isn't built with this support and therefore can't be used
to set the flash permissions. It has to be deferred in sonic initrd.
* Add S8900-64XC SFP QSFP CPLD kernel module.
* Fixed QSFP function call in i2c_utils.sh.
* Add QSFP monitor service for SFP and QSFP SI.
Signed-off-by: Wade He <chihen.he@gmail.com>
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
change hwmon kernel modules installation order in i2c_utils.sh and update related fancontrol file
Check the hwmon kernel module insertion order in /sys/class/hwmon/hwmonX.
w83795 should be in /sys/class/hwmon/hwmon1, and jc42 should be the last one.
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
* [Ingrasys] update port_config.ini and sfputil for ingrasys platforms
- What I did
Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms
- How I did it
Update alias field and add port field in port_config.ini
- How to verify it
Check with the "sfputil show eeprom" command. If no error occurs, it is passed.
- Description for the changelog
Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms
* [Ingrasys] remove debug message in sfputil.py on S8810-32Q
- What I did
remove debug message in sfputil.py on S8810-32Q
- How I did it
remove print in get_low_power_mode() and set_low_power_mode()
- How to verify it
There should be no debug message when executing "sfputil show lpmode"
and "sfputil lpmode on Ethernet0"command.
- Description for the changelog
remove debug message in sfputil.py on S8810-32Q
- A picture of a cute animal (not mandatory but encouraged)
* Bump sonic-platform-modules-arista submodule
* Allow image specific mount option for containers
* Add led plugin for DCS-7060CX-32S
* Add led plugin for DCS-7260CX3-64
1. "make target/sonic-broadcom.raw" will create the compressed dd'able image.
2. This will also update the grub config files (device/dell/*/nos_to_sonic_grub.cfg) with the image versions.
* [Device] Rename SKU Arista-7260CX3-64 to Arista-7260CX3-C64
Renaming to add the speed indication: C64 means 64 100G ports.
renamed: Arista-7260CX3-64/port_config.ini -> Arista-7260CX3-C64/port_config.ini
renamed: Arista-7260CX3-64/sai.profile -> Arista-7260CX3-C64/sai.profile
* [Arista-7260cx3] Fix 64x100G port_config.ini
Reorder the port lanes to match the front panel port numbering.
* [Arista-7260CX3] add hwSKU Arista-7260CX3-D108C8
This hwSKU has 108x50G ports and 8x100G ports (2 x 100G ports are unused)
* Bump sonic-platform-modules-arista submodule
* Fix sfputil plugin for arista_7060_cx32s
* Fix sfputil plugin for arista_7260cx3_64
* Add front panel port number for arista platforms
* ASIC part support for Celestica DX010 platform.
It includes:
*Three different configurations: 32x100G, 64x50G, 96x10G+16x50G.(Script to be includd in the platform directory).
*Data port LED
Also from vendor:
*fancontrol configuration
*eeprom.py/sfpulti.py plugins
*sensor configuration
* Typo fix
* Add the port configuration change script
* move the script to sonic-utilities repo
- Update SAI (added support of SN2740 profile).
- Update SDK to version 4.2.3130.
- Update FW to version 13.1224.0140.
- Update HW MGMT to version 1.0.0160.
* Remove exsiting sonic-platform-modules-accton and apply submodule adding on this folder.
* Remove redundant commnet
* Remove folder platform/broadcom/sonic-platform-modules-accton.
* Add this dir for submodule.
* Update submodule platform/broadcom/sonic-platform-modules-ingrasys
* Fixed FAN Status Setup Error.
* Add Drivers deinitialization feature.
* Allow for updating drivers on a running system.
* Let fans returned to full speed when driver uninstalled.
* Change S8900-64XC fancontrol config
* Delete S9100 syncd.conf
Signed-off-by: Wade He <chihen.he@gmail.com>
* Update submodule
* Fixed build error in fsroot on different kernel versions between host and rootfs.
* Fixed Read HW Revision in CPLD.
* rmmod check to avoid error.
Signed-off-by: Wade He <chihen.he@gmail.com>
* Bump sonic-platform-modules-arista submodule
* Use sonic_sfputil plugin from the arista library
* Fix undefined variable varlog_size
* Prevent minigraph.xml to be removed from the flash
* Update DCS-7050QX-32 sensors config
* [device]: Add support for Mellanox MSN2100
MSN2100 runs on Spectrum silicon and has 16 100GbE ports.
Signed-off-by: marian-pritsak <marianp@mellanox.com>
[swss]: Generate config files for Everflow and IPinIP from minigraph
- Add Everflow DST IP to minigraph file
- Extend minigraph.py to support Everflow
- Add templates file for Everflow and IPinIP configuration
- Add config.sh for swss docker to generate config files
- Update Broadcom libsaibcm debian package to 2.1.5.1-2
- Add SAI_NUM_ECMP_MEMBERS=32 to two Trident II platforms
- Update sonic-swss submodule version to support such changes
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
* [device]: Add support for Mellanox MSN2410
MSN2410 runs on Spectrum silicon and has 56 ports:
48 25GbE and 8 100GbE
* Avoid full path within bash -c
Signed-off-by: marian-pritsak <marianp@mellanox.com>
( All device-specific files now reside under /device directory in a <vendor-name>/<platform-string>/<hardware-SKU> directory structure in repo.
* Device-specific files are now packaged into a Debian package (sonic-device-data) and are now installed to /usr/share/sonic/device/<platform-string>/<hardware-SKU>/ directory on switch.