Skip to content

Commit 667f744

Browse files
authored
[SAI] Update SAI submodule to v1.5.1 (sonic-net#532)
[SAI] Update SAI submodule to v1.5.1 * Defining new serdes attributes (sonic-net#1002) * Improve debug counter enums (sonic-net#1006) * Introduce buffer pool type SAI_BUFFER_POOL_TYPE_BOTH (sonic-net#986) Signed-off-by: Danny Allen <[email protected]> * Add redis and vs handler for serdes APIs
1 parent 76a81c8 commit 667f744

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

lib/src/sai_redis_port.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ sai_status_t redis_clear_port_all_stats(
1212

1313
REDIS_GENERIC_QUAD(PORT,port);
1414
REDIS_GENERIC_QUAD(PORT_POOL,port_pool);
15+
REDIS_GENERIC_QUAD(PORT_SERDES,port_serdes);
1516
REDIS_GENERIC_STATS(PORT,port);
1617
REDIS_GENERIC_STATS(PORT_POOL,port_pool);
1718

@@ -24,4 +25,6 @@ const sai_port_api_t redis_port_api = {
2425

2526
REDIS_GENERIC_QUAD_API(port_pool)
2627
REDIS_GENERIC_STATS_API(port_pool)
28+
29+
REDIS_GENERIC_QUAD_API(port_serdes)
2730
};

vslib/src/sai_vs_port.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ sai_status_t vs_set_port_attribute(
650650

651651
VS_GET(PORT,port);
652652
VS_GENERIC_QUAD(PORT_POOL,port_pool);
653+
VS_GENERIC_QUAD(PORT_SERDES,port_serdes);
653654
VS_GENERIC_STATS(PORT,port);
654655
VS_GENERIC_STATS(PORT_POOL,port_pool);
655656

@@ -662,4 +663,6 @@ const sai_port_api_t vs_port_api = {
662663

663664
VS_GENERIC_QUAD_API(port_pool)
664665
VS_GENERIC_STATS_API(port_pool)
666+
667+
VS_GENERIC_QUAD_API(port_serdes)
665668
};

0 commit comments

Comments
 (0)