Skip to content

Commit

Permalink
[SAI] Update SAI submodule to v1.5.1 (sonic-net#532)
Browse files Browse the repository at this point in the history
[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 <daall@microsoft.com>

* Add redis and vs handler for serdes APIs
  • Loading branch information
daall authored Nov 19, 2019
1 parent 76a81c8 commit 667f744
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SAI
3 changes: 3 additions & 0 deletions lib/src/sai_redis_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sai_status_t redis_clear_port_all_stats(

REDIS_GENERIC_QUAD(PORT,port);
REDIS_GENERIC_QUAD(PORT_POOL,port_pool);
REDIS_GENERIC_QUAD(PORT_SERDES,port_serdes);
REDIS_GENERIC_STATS(PORT,port);
REDIS_GENERIC_STATS(PORT_POOL,port_pool);

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

REDIS_GENERIC_QUAD_API(port_pool)
REDIS_GENERIC_STATS_API(port_pool)

REDIS_GENERIC_QUAD_API(port_serdes)
};
3 changes: 3 additions & 0 deletions vslib/src/sai_vs_port.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ sai_status_t vs_set_port_attribute(

VS_GET(PORT,port);
VS_GENERIC_QUAD(PORT_POOL,port_pool);
VS_GENERIC_QUAD(PORT_SERDES,port_serdes);
VS_GENERIC_STATS(PORT,port);
VS_GENERIC_STATS(PORT_POOL,port_pool);

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

VS_GENERIC_QUAD_API(port_pool)
VS_GENERIC_STATS_API(port_pool)

VS_GENERIC_QUAD_API(port_serdes)
};

0 comments on commit 667f744

Please sign in to comment.