|
| 1 | +#include "sai_redis.h" |
| 2 | + |
| 3 | +sai_status_t redis_get_table_bitmap_classification_entry_stats( |
| 4 | + _In_ sai_object_id_t table_bitmap_classification_entry_id, |
| 5 | + _In_ uint32_t number_of_counters, |
| 6 | + _In_ const sai_stat_id_t *counter_ids, |
| 7 | + _Out_ uint64_t *counters) |
| 8 | +{ |
| 9 | + MUTEX(); |
| 10 | + |
| 11 | + SWSS_LOG_ENTER(); |
| 12 | + |
| 13 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 14 | +} |
| 15 | + |
| 16 | +sai_status_t redis_get_table_bitmap_classification_entry_stats_ext( |
| 17 | + _In_ sai_object_id_t table_bitmap_classification_entry_id, |
| 18 | + _In_ uint32_t number_of_counters, |
| 19 | + _In_ const sai_stat_id_t *counter_ids, |
| 20 | + _In_ sai_stats_mode_t mode, |
| 21 | + _Out_ uint64_t *counters) |
| 22 | +{ |
| 23 | + MUTEX(); |
| 24 | + |
| 25 | + SWSS_LOG_ENTER(); |
| 26 | + |
| 27 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 28 | +} |
| 29 | + |
| 30 | +sai_status_t redis_clear_table_bitmap_classification_entry_stats( |
| 31 | + _In_ sai_object_id_t table_bitmap_classification_entry_id, |
| 32 | + _In_ uint32_t number_of_counters, |
| 33 | + _In_ const sai_stat_id_t *counter_ids) |
| 34 | +{ |
| 35 | + MUTEX(); |
| 36 | + |
| 37 | + SWSS_LOG_ENTER(); |
| 38 | + |
| 39 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 40 | +} |
| 41 | + |
| 42 | +REDIS_GENERIC_QUAD(TABLE_BITMAP_CLASSIFICATION_ENTRY,table_bitmap_classification_entry); |
| 43 | + |
| 44 | +sai_status_t redis_get_table_bitmap_router_entry_stats( |
| 45 | + _In_ sai_object_id_t table_bitmap_router_entry_id, |
| 46 | + _In_ uint32_t number_of_counters, |
| 47 | + _In_ const sai_stat_id_t *counter_ids, |
| 48 | + _Out_ uint64_t *counters) |
| 49 | +{ |
| 50 | + MUTEX(); |
| 51 | + |
| 52 | + SWSS_LOG_ENTER(); |
| 53 | + |
| 54 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 55 | +} |
| 56 | + |
| 57 | +sai_status_t redis_get_table_bitmap_router_entry_stats_ext( |
| 58 | + _In_ sai_object_id_t table_bitmap_router_entry_id, |
| 59 | + _In_ uint32_t number_of_counters, |
| 60 | + _In_ const sai_stat_id_t *counter_ids, |
| 61 | + _In_ sai_stats_mode_t mode, |
| 62 | + _Out_ uint64_t *counters) |
| 63 | +{ |
| 64 | + MUTEX(); |
| 65 | + |
| 66 | + SWSS_LOG_ENTER(); |
| 67 | + |
| 68 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 69 | +} |
| 70 | + |
| 71 | +sai_status_t redis_clear_table_bitmap_router_entry_stats( |
| 72 | + _In_ sai_object_id_t table_bitmap_router_entry_id, |
| 73 | + _In_ uint32_t number_of_counters, |
| 74 | + _In_ const sai_stat_id_t *counter_ids) |
| 75 | +{ |
| 76 | + MUTEX(); |
| 77 | + |
| 78 | + SWSS_LOG_ENTER(); |
| 79 | + |
| 80 | + return SAI_STATUS_NOT_IMPLEMENTED; |
| 81 | +} |
| 82 | + |
| 83 | +REDIS_GENERIC_QUAD(TABLE_BITMAP_ROUTER_ENTRY,table_bitmap_router_entry); |
| 84 | + |
| 85 | +const sai_bmtor_api_t redis_bmtor_api = { |
| 86 | + |
| 87 | + REDIS_GENERIC_QUAD_API(table_bitmap_classification_entry) |
| 88 | + |
| 89 | + redis_get_table_bitmap_classification_entry_stats, |
| 90 | + redis_get_table_bitmap_classification_entry_stats_ext, |
| 91 | + redis_clear_table_bitmap_classification_entry_stats, |
| 92 | + |
| 93 | + REDIS_GENERIC_QUAD_API(table_bitmap_router_entry) |
| 94 | + |
| 95 | + redis_get_table_bitmap_router_entry_stats, |
| 96 | + redis_get_table_bitmap_router_entry_stats_ext, |
| 97 | + redis_clear_table_bitmap_router_entry_stats, |
| 98 | +}; |
0 commit comments