File tree 7 files changed +21
-1
lines changed
7 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ extern const sai_udf_api_t redis_udf_api;
112
112
extern const sai_virtual_router_api_t redis_virtual_router_api;
113
113
extern const sai_vlan_api_t redis_vlan_api;
114
114
extern const sai_wred_api_t redis_wred_api;
115
+ extern const sai_debug_counter_api_t redis_debug_counter_api;
115
116
116
117
#define UNREFERENCED_PARAMETER (X )
117
118
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ libsairedis_la_SOURCES = \
14
14
sai_redis_bmtor.cpp \
15
15
sai_redis_bridge.cpp \
16
16
sai_redis_buffer.cpp \
17
+ sai_redis_debug_counter.cpp \
17
18
sai_redis_dtel.cpp \
18
19
sai_redis_fdb.cpp \
19
20
sai_redis_hash.cpp \
Original file line number Diff line number Diff line change
1
+ #include " sai_redis.h"
2
+
3
+ REDIS_GENERIC_QUAD (DEBUG_COUNTER,debug_counter);
4
+
5
+ const sai_debug_counter_api_t redis_debug_counter_api = {
6
+ REDIS_GENERIC_QUAD_API (debug_counter)
7
+ };
Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ sai_status_t sai_api_query(
251
251
API_CASE (VIRTUAL_ROUTER,virtual_router);
252
252
API_CASE (VLAN,vlan);
253
253
API_CASE (WRED,wred);
254
+ API_CASE (DEBUG_COUNTER,debug_counter);
254
255
255
256
default :
256
257
SWSS_LOG_ERROR (" Invalid API type %d" , sai_api_id);
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ extern const sai_udf_api_t vs_udf_api;
145
145
extern const sai_virtual_router_api_t vs_virtual_router_api;
146
146
extern const sai_vlan_api_t vs_vlan_api;
147
147
extern const sai_wred_api_t vs_wred_api;
148
+ extern const sai_debug_counter_api_t vs_debug_counter_api;
148
149
149
150
// OID QUAD
150
151
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ lib_LTLIBRARIES = libsaivs.la
11
11
libsaivs_la_SOURCES = \
12
12
sai_vs_acl.cpp \
13
13
sai_vs_bfd.cpp \
14
- sai_vs_bmtor.cpp \
14
+ sai_vs_bmtor.cpp \
15
15
sai_vs_bridge.cpp \
16
16
sai_vs_buffer.cpp \
17
+ sai_vs_debug_counter.cpp\
17
18
sai_vs_dtel.cpp \
18
19
sai_vs_fdb.cpp \
19
20
sai_vs_hash.cpp \
Original file line number Diff line number Diff line change
1
+ #include " sai_vs.h"
2
+ #include " sai_vs_internal.h"
3
+
4
+ VS_GENERIC_QUAD (DEBUG_COUNTER,debug_counter);
5
+
6
+ const sai_debug_counter_api_t vs_debug_counter_api = {
7
+ VS_GENERIC_QUAD_API (debug_counter)
8
+ };
You can’t perform that action at this time.
0 commit comments