From ef721595520d827277610d11e24082934afc4df8 Mon Sep 17 00:00:00 2001 From: Mahesh Maddikayala <10645050+smaheshm@users.noreply.github.com> Date: Wed, 24 Jun 2020 15:51:05 -0700 Subject: [PATCH] [submodule update] SAI submodule update to v1.6.3 (#628) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update SAI VoQ support (#1107) … - Voq system (#1081) … - [meta] Add support for ignored enum values (#1099) - TPID SAI proposal (#1089) … - ACL GRE key match (#1076) … - Add IPv6 NS and NA Traps (#1092) … - MACsec flow list attribute added in MACsec object (#1095) … - Add Enterprise Number for IPFIX Report Type (#1072) … - Provide TTL and QoS treatment during MPLS encap and decap (#1079) - Create and Set for Tunnel Attributes (#1086) … --- SAI | 2 +- lib/inc/sai_redis.h | 1 + lib/src/Makefile.am | 1 + lib/src/sai_redis_interfacequery.cpp | 1 + lib/src/sai_redis_system_port.cpp | 8 ++++++++ vslib/inc/sai_vs.h | 1 + vslib/src/Makefile.am | 1 + vslib/src/sai_vs_interfacequery.cpp | 1 + vslib/src/sai_vs_system_port.cpp | 8 ++++++++ 9 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 lib/src/sai_redis_system_port.cpp create mode 100644 vslib/src/sai_vs_system_port.cpp diff --git a/SAI b/SAI index a028b52231..ecced0cf01 160000 --- a/SAI +++ b/SAI @@ -1 +1 @@ -Subproject commit a028b522318ba553286cd5ae30a74371816c7a14 +Subproject commit ecced0cf01aa34b4cf7c136af5790bd9e30837e4 diff --git a/lib/inc/sai_redis.h b/lib/inc/sai_redis.h index bbad23ba08..abeb9c6aea 100644 --- a/lib/inc/sai_redis.h +++ b/lib/inc/sai_redis.h @@ -49,6 +49,7 @@ PRIVATE extern const sai_scheduler_group_api_t redis_scheduler_group_api; PRIVATE extern const sai_segmentroute_api_t redis_segmentroute_api; PRIVATE extern const sai_stp_api_t redis_stp_api; PRIVATE extern const sai_switch_api_t redis_switch_api; +PRIVATE extern const sai_system_port_api_t redis_system_port_api; PRIVATE extern const sai_tam_api_t redis_tam_api; PRIVATE extern const sai_tunnel_api_t redis_tunnel_api; PRIVATE extern const sai_udf_api_t redis_udf_api; diff --git a/lib/src/Makefile.am b/lib/src/Makefile.am index 5b9159bf3c..f6a002c13c 100644 --- a/lib/src/Makefile.am +++ b/lib/src/Makefile.am @@ -74,6 +74,7 @@ libsairedis_la_SOURCES = \ sai_redis_segmentroute.cpp \ sai_redis_stp.cpp \ sai_redis_switch.cpp \ + sai_redis_system_port.cpp \ sai_redis_tam.cpp \ sai_redis_tunnel.cpp \ sai_redis_udf.cpp \ diff --git a/lib/src/sai_redis_interfacequery.cpp b/lib/src/sai_redis_interfacequery.cpp index 8492f10d65..1d8d9f4c2d 100644 --- a/lib/src/sai_redis_interfacequery.cpp +++ b/lib/src/sai_redis_interfacequery.cpp @@ -75,6 +75,7 @@ static sai_apis_t redis_apis = { API(counter), API(debug_counter), API(macsec), + API(system_port), API(bmtor), }; diff --git a/lib/src/sai_redis_system_port.cpp b/lib/src/sai_redis_system_port.cpp new file mode 100644 index 0000000000..0514fd7231 --- /dev/null +++ b/lib/src/sai_redis_system_port.cpp @@ -0,0 +1,8 @@ +#include "sai_redis.h" + +REDIS_GENERIC_QUAD(SYSTEM_PORT,system_port); + +const sai_system_port_api_t redis_system_port_api = { + + REDIS_GENERIC_QUAD_API(system_port) +}; diff --git a/vslib/inc/sai_vs.h b/vslib/inc/sai_vs.h index 6463553830..ce19aa6ac9 100644 --- a/vslib/inc/sai_vs.h +++ b/vslib/inc/sai_vs.h @@ -49,6 +49,7 @@ PRIVATE extern const sai_scheduler_group_api_t vs_scheduler_group_api; PRIVATE extern const sai_segmentroute_api_t vs_segmentroute_api; PRIVATE extern const sai_stp_api_t vs_stp_api; PRIVATE extern const sai_switch_api_t vs_switch_api; +PRIVATE extern const sai_system_port_api_t vs_system_port_api; PRIVATE extern const sai_tam_api_t vs_tam_api; PRIVATE extern const sai_tunnel_api_t vs_tunnel_api; PRIVATE extern const sai_udf_api_t vs_udf_api; diff --git a/vslib/src/Makefile.am b/vslib/src/Makefile.am index ce2457db2c..b30ec668ab 100644 --- a/vslib/src/Makefile.am +++ b/vslib/src/Makefile.am @@ -88,6 +88,7 @@ libsaivs_la_SOURCES = \ sai_vs_schedulergroup.cpp \ sai_vs_segmentroute.cpp \ sai_vs_stp.cpp \ + sai_vs_system_port.cpp \ sai_vs_tam.cpp \ sai_vs_tunnel.cpp \ sai_vs_udf.cpp \ diff --git a/vslib/src/sai_vs_interfacequery.cpp b/vslib/src/sai_vs_interfacequery.cpp index 2294041317..dddddcd8af 100644 --- a/vslib/src/sai_vs_interfacequery.cpp +++ b/vslib/src/sai_vs_interfacequery.cpp @@ -75,6 +75,7 @@ static sai_apis_t vs_apis = { API(counter), API(debug_counter), API(macsec), + API(system_port), API(bmtor), }; diff --git a/vslib/src/sai_vs_system_port.cpp b/vslib/src/sai_vs_system_port.cpp new file mode 100644 index 0000000000..20b0243f4d --- /dev/null +++ b/vslib/src/sai_vs_system_port.cpp @@ -0,0 +1,8 @@ +#include "sai_vs.h" + +VS_GENERIC_QUAD(SYSTEM_PORT,system_port); + +const sai_system_port_api_t vs_system_port_api = { + + VS_GENERIC_QUAD_API(system_port) +};