forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update SAI pointer Signed-off-by: Marian Pritsak <marianp@mellanox.com> * Add support for BMToR API Signed-off-by: Marian Pritsak <marianp@mellanox.com>
- Loading branch information
1 parent
c0a948d
commit 29f1e3c
Showing
5 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
Submodule SAI
updated
5 files
+139 −185 | experimental/saiexperimentalbmtor.h | |
+2 −2 | experimental/saitypesextensions.h | |
+1 −1 | inc/saiacl.h | |
+4 −1 | inc/saihostif.h | |
+2 −0 | meta/acronyms.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
#include "sai_redis.h" | ||
|
||
sai_status_t redis_get_table_bitmap_classification_entry_stats( | ||
_In_ sai_object_id_t table_bitmap_classification_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids, | ||
_Out_ uint64_t *counters) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
sai_status_t redis_get_table_bitmap_classification_entry_stats_ext( | ||
_In_ sai_object_id_t table_bitmap_classification_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids, | ||
_In_ sai_stats_mode_t mode, | ||
_Out_ uint64_t *counters) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
sai_status_t redis_clear_table_bitmap_classification_entry_stats( | ||
_In_ sai_object_id_t table_bitmap_classification_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
REDIS_GENERIC_QUAD(TABLE_BITMAP_CLASSIFICATION_ENTRY,table_bitmap_classification_entry); | ||
|
||
sai_status_t redis_get_table_bitmap_router_entry_stats( | ||
_In_ sai_object_id_t table_bitmap_router_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids, | ||
_Out_ uint64_t *counters) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
sai_status_t redis_get_table_bitmap_router_entry_stats_ext( | ||
_In_ sai_object_id_t table_bitmap_router_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids, | ||
_In_ sai_stats_mode_t mode, | ||
_Out_ uint64_t *counters) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
sai_status_t redis_clear_table_bitmap_router_entry_stats( | ||
_In_ sai_object_id_t table_bitmap_router_entry_id, | ||
_In_ uint32_t number_of_counters, | ||
_In_ const sai_stat_id_t *counter_ids) | ||
{ | ||
MUTEX(); | ||
|
||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
REDIS_GENERIC_QUAD(TABLE_BITMAP_ROUTER_ENTRY,table_bitmap_router_entry); | ||
|
||
const sai_bmtor_api_t redis_bmtor_api = { | ||
|
||
REDIS_GENERIC_QUAD_API(table_bitmap_classification_entry) | ||
|
||
redis_get_table_bitmap_classification_entry_stats, | ||
redis_get_table_bitmap_classification_entry_stats_ext, | ||
redis_clear_table_bitmap_classification_entry_stats, | ||
|
||
REDIS_GENERIC_QUAD_API(table_bitmap_router_entry) | ||
|
||
redis_get_table_bitmap_router_entry_stats, | ||
redis_get_table_bitmap_router_entry_stats_ext, | ||
redis_clear_table_bitmap_router_entry_stats, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters