SAI Metadata
|
This module defines SAI QOS Policer interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_policer_api_t |
Policer methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_meter_type_t | sai_meter_type_t |
Enum defining types of meters. | |
typedef enum _sai_policer_mode_t | sai_policer_mode_t |
Enum defining mode of the policer object. | |
typedef enum _sai_policer_color_source_t | sai_policer_color_source_t |
Enum defining Policer color source. | |
typedef enum _sai_policer_attr_t | sai_policer_attr_t |
Enum defining Policer Attributes. | |
typedef enum _sai_policer_stat_t | sai_policer_stat_t |
Enum defining policer statistics. | |
typedef sai_status_t(* | sai_create_policer_fn) (_Out_ sai_object_id_t *policer_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create Policer. | |
typedef sai_status_t(* | sai_remove_policer_fn) (_In_ sai_object_id_t policer_id) |
Delete policer. | |
typedef sai_status_t(* | sai_set_policer_attribute_fn) (_In_ sai_object_id_t policer_id, _In_ const sai_attribute_t *attr) |
Set Policer attribute. | |
typedef sai_status_t(* | sai_get_policer_attribute_fn) (_In_ sai_object_id_t policer_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Policer attribute. | |
typedef sai_status_t(* | sai_get_policer_stats_fn) (_In_ sai_object_id_t policer_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get Policer Statistics. Deprecated for backward compatibility. | |
typedef sai_status_t(* | sai_get_policer_stats_ext_fn) (_In_ sai_object_id_t policer_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) |
Get Policer Statistics extended. | |
typedef sai_status_t(* | sai_clear_policer_stats_fn) (_In_ sai_object_id_t policer_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear Policer statistics counters. | |
typedef struct _sai_policer_api_t | sai_policer_api_t |
Policer methods table retrieved with sai_api_query() | |
This module defines SAI QOS Policer interface.
Copyright (c) 2014 Microsoft Open Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
Definition in file saipolicer.h.