Commit Graph

429 Commits

Author SHA1 Message Date
Roy Lee
593bcb1c1b [device] accton update driver and sync as5712-54x from 201807. (#2110)
* [platform_accton] Remove dependency on particular version of linux.
Signed-off-by: Polly Hsu <polly_hsu@edge-core.com>

* [platfrom] as5712-54x: update i2c_client for linux kernel 4.x.
Signed-off-by: Polly Hsu <polly_hsu@edge-core.com>

* [platform] Update lastest optoe.c from https://github.com/opencomputeproject/oom/blob/master/optoe/optoe.c.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] rm optoe driver here. For it's inside the kernel.
Signed-off-by: roy_lee <roy_lee@accton.com>

* [platform] as5712-54x, merge the change of Azure/sonic-buildimage#2002 which is on branch 201807.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-10-02 05:36:28 -07:00
Ying Xie
c8e6b15504
[syncd] warn shutdown syncd process when warm boot is enabled (#2078)
* [syncd] warn shutdown syncd process when warm boot is enabled

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

* [warmboot] mount folder to hold warmboot temporary files

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

* Fix a typo
2018-10-01 19:01:04 -07:00
Samuel Angebault
e72d63cf92 [arista] Update Arista drivers submodule (#2097)
* [arista] Update Arista drivers submodule

* Fix 7050qx32 fancontrol for kernel 4.9

* Fix 7060cx32s fancontrol for kernel 4.9

* Install python3-yaml for sonic config tests

* Fix 7260cx3 fancontrol for kernel 4.9

* Fix hwsku-init scripts and permissions

* Preserve old_config folder in boot0
2018-09-28 21:27:41 -07:00
paavaanan
763982b70e [devices]: Dell-S6100/Z9100 depmod fixes (#2071) 2018-09-25 23:14:09 -07:00
stepanblyschak
22f631ad13 [mellanox] SAI pointer update (#2079)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-09-25 11:05:45 -07:00
Jonathan Tsai
51fec6eebd [Quanta/device] Correct IX1B platform name to fit ONIE rule (#2065)
* Change platform name from x86_64-quanta_ix1b_32x-r0 to x86_64-quanta_ix1b_rglbmc-r0
2018-09-21 21:57:10 -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
Marian Pritsak
8a5e6ac47d [docker-orchagent]: Add vrfmgrd to supervisorctl (#2055)
* [docker-orchagent]: Add vrfmgrd to supervisorctl

Signed-off-by: Marian Pritsak <marianp@mellanox.com>

* [sonic-vs]: Add vrfmgrd to supervisorctl

Signed-off-by: Marian Pritsak <marianp@mellanox.com>
2018-09-19 22:18:39 -07:00
Samuel Angebault
5e082133cd [arista] update arista drivers submodule (#2059) 2018-09-19 13:25:54 -07:00
Volodymyr Samotiy
514b38f348 [mellanox]: Integrate CRIU tool to SYNCD docker container (#2061)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-09-19 13:14:10 -07:00
Marian Pritsak
51a8d8ecfa [docker-orchagent]: Upgrade iproute2 to v4.9 (#2052)
Signed-off-by: Marian Pritsak <marianp@mellanox.com>
2018-09-16 17:10:03 -07:00
klhaung
6f496bda20 [device][platform] Update Inventec platform porting to support stretch (#2010)
* [device][platform] d6254qs d6556 platform porting
[device][platform] sensor and status led support for d7032q28b d7254q28b d7264q28b d6254qs d6556
[device][platform] qos support for d7032q28b d7254q28b
[device][platform] service configuration files for d7032q28b d7254q28b d7264q28b d6254qs d6556

* remove binary files and remove non-supported attributes in config.bcm

* remove gpio-ich here. file a PR in sonic-linux-kernel instead.

* remove unnecessary comments

* add GPL license
2018-09-14 00:54:08 -07:00
lguohan
860de856a8
[rsyslog]: use # to separate container name and program name in syslog message for syncd containers (#2031)
previous commit f3ca7c422f
missed syncd containers

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-11 14:57:29 -07:00
padmanarayana
c4154eb9a9 [devices]: Add GPIO interrupt enable for Z9100/S6100 and transceiver-plug-inout-event for Z9100 (#2025) 2018-09-09 00:13:19 -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
paavaanan
6af462ac53 Dell platform modules for S6100/Z9100 is added with systemd support (#2026) 2018-09-06 23:27:23 -07:00
Pradchaya P
d3c1423d08 [platform/dx010] Fix issing qsfp_reset sysfs file (#2007)
* Fix qsfp_reset file missing.

* [platform/dx010] Add systemd unit for platform init.
2018-09-05 10:10:13 -07:00
StanleyCi
2cce4aec1c [device] Update ag9032v1 and ag9064 modules. (#1690)
* Update ag9032v1 and ag9064 modules.

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

* Fix the sfputil.py when convert an integer to hexadecimal without the 'L' trailing.

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-09-01 13:52:38 -07:00
jackyjs
14a0b8c8a3 [devices]: Add Delta Platform et-6248brb (#1640)
* Add Delta Platform et-6248brb

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* add Broadcom configuration file

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* modify Broadcom configuration file
2018-09-01 13:25:46 -07:00
stepanblyschak
90f6881e08 [mellanox] Enhance mlnx-fw-upgrade.sh (#1994)
Install a new FW by specifying FW path (mlnx-fw-upgrade.sh /path/to/FW)
or use default at '/etc/mlnx/fw-SPC.mfa'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-08-29 08:51:02 -07:00
Pradchaya P
e8db1846ad [platform-device/haliburton] Support xcvr and sensor monitoring (#1998)
* [platform/haliburton] Fix kernel panic when remove smc module.

* [platform/haliburton] Chanage sysfs to support module interrupt

* [device/haliburton] Update sfputil to use new sysfs.

* [device/haliburton] sfputil to support xcvrd monitoring.
2018-08-29 08:50:29 -07:00
Volodymyr Samotiy
929ef530ce [mellanox]: Update SAI, SDK, FW pointers (#1996)
* SAI v1.12.3 (API headers v1.3.3)
* SDK v4.2.8300
* FW v13.1703.0000

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-29 11:12:47 +03:00
zzhiyuan
1157dbb4f5 [arista]: Update arista submodule to fix transceiver event (#1986) 2018-08-25 01:02:35 -07:00
Shuotian Cheng
ad5b14cd3c [vs]: Add pip install six (#1978)
sonic-utilities requires six

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-23 19:11:53 -07:00
Wirut Getbamrung
27bdc00be3 [platform/device] - Update Haliburton platform modules and device configuration (#1975)
* Add psuutil and sfputil support

* Fixed fancontrol issue

* Add sensor's label

* Update haliburton platform modules
2018-08-23 13:43:05 -07:00
Shuotian Cheng
a99008356b [dell]: Remove depmod -a from the platform initialization script (#1954)
depmod -a will be executed automatically after the package get installed

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-22 17:12:05 -07:00
lguohan
a01791ebcd
[vs-test]: support python docker 3.5.0 (#1958)
* [vs-test]: support python docker 3.5.0

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-21 10:10:58 -07:00
Shuotian Cheng
9413fa9a7b
[interfaces]: Move IP/MTU information from interfaces file into database (#1908)
- Move front panel ports and port channels MTU and IP configurations out of
the current /etc/network/interfaces file and store them in the configuration
database.

- The default MTU value for both front panel ports and the port channels is
9100. They are set via the minigraph or 9100 by default.

- Introduce portmgrd which will pick up the MTU configurations from the
configuration database.

- The updated intfmgrd will pick up IP address changes from the configuration
database.

- Update sonic-swss submodule

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-20 11:19:16 -07:00
Volodymyr Samotiy
4aa3f7af68 [mellanox]: Fix system EEPROM for MSN2740 platform (#1950)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-20 09:06:20 -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
Kebo Liu
5a17a04c82 [mlnx-platform] enhancement for xcvrd implementation on mlnx platform (#1937)
* mlnx enhancement for xcvrd implementation

* fix conflict
2018-08-16 23:12:00 -07:00
lguohan
ec8a7f5e54
[broadcom]: fix delay to load led proc init (#1940)
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-16 23:11:45 -07:00
Volodymyr Samotiy
986a857cd9 [mellanox]: Fix problem with system EEPROM in "hw-mgmt" (#1938)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-16 15:53:43 -07:00
lguohan
38f3eba695
[kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1) (#1922)
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1)

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

* [mellanox]: Update SDK pointer for 4.9.0-7 kernel (#44)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* Update arista drivers for 4.9.0-7 linux kernel (#43)
2018-08-16 08:56:56 -07:00
Volodymyr Samotiy
c4e2f3e630 [mellanox]: Update hw-mgmt service with the stop action (#1929)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-14 16:05:07 -07:00
loshihyu
6918a22959 [Inventec] Add D7264 platform support (#1675)
* Add Inventec D7264 platform support

* Fixed util script file permission

* Fixed more scripts file permission
2018-08-14 13:07:03 -07:00
Guohan Lu
4547d9aa2a [nephos]: build platform modules in debian stretch docker
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-14 05:22:29 +00:00
lguohan
859d0e1e8a
[bcmsh]: add inactivity timeout for bcmsh (default 300 seconds) (#1921)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 11:34:04 -07:00
Guohan Lu
9047edc38e [platform]: move dell platform modules into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 10:39:07 +00:00
lguohan
0cd4ef0c85
[socat]: build socat with readline (#1919)
support readline in bcmsh

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 01:12:58 -07:00
Guohan Lu
add2444cfd [barefoot]: build platform modules for bfn, bfn-montara, wnc-osw1800
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 04:29:26 +00:00
yangbashuang
eefd3f4ddb [platform]: update centec platform drivers and sai (#1702) 2018-08-12 17:22:08 -07:00
klhaung
58db7f17a7 [device & platform] led and transceiver deamon for inventec switch d7032 and d7054 (#1678)
* [device]: Modify SFPUtil for inventec-d7032
[device]: Add front panel led support for Inventec-d7032
[platform]: Add transceiver monitor daemon for Inventec-d7032 and Inventec-d7054

* [device] follow new porting guide to have broadcom config under device folder

* remove license
2018-08-12 12:39:20 -07:00
zhenggen-xu
d761630f73 Fix potential blackholing/looping traffic when link-local was used and refresh ipv6 neighbor to avoid CPU hit (#1904)
* Fix potential blackholing/looping traffic and refresh ipv6 neighbor to avoid CPU hit

In case ipv6 global addresses were configured on L3 interfaces and used for peering,
and routing protocol was using link-local addresses on the same interfaces as prefered nexthops,
the link-local addresses could be aged out after a while due to no activities towards the link-local
addresses themselves. And when we receive new routes with the link-local nexthops, SONiC won't insert
them to the HW, and thus cause looping or blackholing traffic.

Global ipv6 addresses on L3 interfaces between switches are refreshed by BGP keeplive and other messages.

On server facing side, traffic may hit fowarding plane only, and no refresh for the ipv6 neighbor entries regularly.
This could age-out the linux kernel ipv6 neighbor entries, and HW neighbor table entries could be removed,
and thus traffic going to those neighbors would hit CPU, and cause traffic drop and temperary CPU high load.

Also, if link-local addresses were not learned, we may not get them at all later.

It is intended to fix all above issues.

Changes:
Add ndisc6 package in swss docker and use it for ipv6 ndp ping to update the neighbors' state on Vlan interfaces
Change the default ipv6 neighbor reachable timer to 30mins
Add periodical ipv6 multicast ping to ff02::11 to get/refresh link-local neighbor info.

* Fix review comments:
Add PORTCHANNEL_INTERFACE interface for ipv6 multicast ping
format issue

* Combine regular L3 interface and portchannel interface for looping

* Add ndisc6 package to vs docker
2018-08-12 03:14:55 -07:00
Guohan Lu
8910c7e18c update .gitignore
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-12 07:58:59 +00:00
Guohan Lu
66ffca2832 [kernel]: set default option to build kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 23:46:13 +00:00
Guohan Lu
400597596a [submodules]: update submodule for platform modules dell, s6000 and kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 21:10:42 +00:00
Samuel Angebault
be0328a59a Update arista-drivers submodules (#42) 2018-08-11 09:09:03 +00:00
Volodymyr Samotiy
6a3c05f498 [mellanox]: Update recipe for hw-mgmt according to latest changes (#40)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00
Volodymyr Samotiy
678d4d4a0c [mellanox]: Update SDK pointer (#41)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00