forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SAI]: Move SAI pointer to v1.4 (sonic-net#447)
- Remove uburst - Update tam Signed-off-by: Shu0T1an ChenG <[email protected]>
- Loading branch information
Showing
11 changed files
with
37 additions
and
76 deletions.
There are no files selected for viewing
Submodule SAI
updated
16 files
+77 −0 | data/TAM/sai_tam_event.proto | |
+63 −0 | data/TAM/sai_tam_main.proto | |
+169 −0 | data/TAM/sai_tam_port.proto | |
+ − | doc/TAM/SAI-Proposal-TAM2.0-v2.0.docx | |
+4 −6 | inc/sai.h | |
+3 −3 | inc/saihostif.h | |
+11 −0 | inc/saiport.h | |
+11 −0 | inc/saiqueue.h | |
+47 −14 | inc/saiswitch.h | |
+1,228 −490 | inc/saitam.h | |
+43 −18 | inc/saitypes.h | |
+0 −439 | inc/saiuburst.h | |
+11 −0 | inc/saivlan.h | |
+12 −0 | meta/acronyms.txt | |
+0 −1 | meta/saisanitycheck.c | |
+4 −11 | meta/saiserializetest.c |
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
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 |
---|---|---|
@@ -1,31 +1,27 @@ | ||
#include "sai_redis.h" | ||
#include "sai_redis_internal.h" | ||
|
||
sai_status_t redis_get_tam_snapshot_stats( | ||
_In_ sai_object_id_t tam_snapshot_id, | ||
_Inout_ uint32_t *number_of_counters, | ||
_Inout_ sai_tam_statistic_t *statistics) | ||
{ | ||
MUTEX(); | ||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
REDIS_GENERIC_QUAD(TAM,tam); | ||
REDIS_GENERIC_QUAD(TAM_STAT,tam_stat); | ||
REDIS_GENERIC_QUAD(TAM_THRESHOLD,tam_threshold); | ||
REDIS_GENERIC_QUAD(TAM_SNAPSHOT,tam_snapshot); | ||
REDIS_GENERIC_QUAD(TAM_TRANSPORTER,tam_transporter); | ||
REDIS_GENERIC_QUAD(TAM_MATH_FUNC,tam_math_func); | ||
REDIS_GENERIC_QUAD(TAM_REPORT,tam_report); | ||
REDIS_GENERIC_QUAD(TAM_EVENT_THRESHOLD,tam_event_threshold); | ||
REDIS_GENERIC_QUAD(TAM_TEL_TYPE,tam_tel_type); | ||
REDIS_GENERIC_QUAD(TAM_TRANSPORT,tam_transport); | ||
REDIS_GENERIC_QUAD(TAM_TELEMETRY,tam_telemetry); | ||
REDIS_GENERIC_QUAD(TAM_COLLECTOR,tam_collector); | ||
REDIS_GENERIC_QUAD(TAM_EVENT_ACTION,tam_event_action); | ||
REDIS_GENERIC_QUAD(TAM_EVENT,tam_event); | ||
|
||
const sai_tam_api_t redis_tam_api = { | ||
|
||
REDIS_GENERIC_QUAD_API(tam) | ||
REDIS_GENERIC_QUAD_API(tam_stat) | ||
REDIS_GENERIC_QUAD_API(tam_threshold) | ||
REDIS_GENERIC_QUAD_API(tam_snapshot) | ||
|
||
redis_get_tam_snapshot_stats, | ||
|
||
REDIS_GENERIC_QUAD_API(tam_transporter) | ||
REDIS_GENERIC_QUAD_API(tam_math_func) | ||
REDIS_GENERIC_QUAD_API(tam_report) | ||
REDIS_GENERIC_QUAD_API(tam_event_threshold) | ||
REDIS_GENERIC_QUAD_API(tam_tel_type) | ||
REDIS_GENERIC_QUAD_API(tam_transport) | ||
REDIS_GENERIC_QUAD_API(tam_telemetry) | ||
REDIS_GENERIC_QUAD_API(tam_collector) | ||
REDIS_GENERIC_QUAD_API(tam_event_action) | ||
REDIS_GENERIC_QUAD_API(tam_event) | ||
}; |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,31 +1,28 @@ | ||
#include "sai_vs.h" | ||
#include "sai_vs_internal.h" | ||
|
||
sai_status_t vs_get_tam_snapshot_stats( | ||
_In_ sai_object_id_t tam_snapshot_id, | ||
_Inout_ uint32_t *number_of_counters, | ||
_Inout_ sai_tam_statistic_t *statistics) | ||
{ | ||
MUTEX(); | ||
SWSS_LOG_ENTER(); | ||
|
||
return SAI_STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
VS_GENERIC_QUAD(TAM,tam); | ||
VS_GENERIC_QUAD(TAM_STAT,tam_stat); | ||
VS_GENERIC_QUAD(TAM_THRESHOLD,tam_threshold); | ||
VS_GENERIC_QUAD(TAM_SNAPSHOT,tam_snapshot); | ||
VS_GENERIC_QUAD(TAM_TRANSPORTER,tam_transporter); | ||
VS_GENERIC_QUAD(TAM_MATH_FUNC,tam_math_func); | ||
VS_GENERIC_QUAD(TAM_REPORT,tam_report); | ||
VS_GENERIC_QUAD(TAM_EVENT_THRESHOLD,tam_event_threshold); | ||
VS_GENERIC_QUAD(TAM_TEL_TYPE,tam_tel_type); | ||
VS_GENERIC_QUAD(TAM_TRANSPORT,tam_transport); | ||
VS_GENERIC_QUAD(TAM_TELEMETRY,tam_telemetry); | ||
VS_GENERIC_QUAD(TAM_COLLECTOR,tam_collector); | ||
VS_GENERIC_QUAD(TAM_EVENT_ACTION,tam_event_action); | ||
VS_GENERIC_QUAD(TAM_EVENT,tam_event); | ||
|
||
const sai_tam_api_t vs_tam_api = { | ||
|
||
VS_GENERIC_QUAD_API(tam) | ||
VS_GENERIC_QUAD_API(tam_stat) | ||
VS_GENERIC_QUAD_API(tam_threshold) | ||
VS_GENERIC_QUAD_API(tam_snapshot) | ||
|
||
vs_get_tam_snapshot_stats, | ||
VS_GENERIC_QUAD_API(tam_math_func) | ||
VS_GENERIC_QUAD_API(tam_report) | ||
VS_GENERIC_QUAD_API(tam_event_threshold) | ||
VS_GENERIC_QUAD_API(tam_tel_type) | ||
VS_GENERIC_QUAD_API(tam_transport) | ||
VS_GENERIC_QUAD_API(tam_telemetry) | ||
VS_GENERIC_QUAD_API(tam_collector) | ||
VS_GENERIC_QUAD_API(tam_event_action) | ||
VS_GENERIC_QUAD_API(tam_event) | ||
|
||
VS_GENERIC_QUAD_API(tam_transporter) | ||
}; |
This file was deleted.
Oops, something went wrong.