SAI Metadata
|
This module defines SAI Hash interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_hash_api_t |
Hash methods, retrieved via sai_api_query() More... | |
Typedefs | |
typedef enum _sai_native_hash_field_t | sai_native_hash_field_t |
Attribute data for SAI native hash fields. | |
typedef enum _sai_fine_grained_hash_field_attr_t | sai_fine_grained_hash_field_attr_t |
Fine-grained hash field attribute IDs. | |
typedef enum _sai_hash_attr_t | sai_hash_attr_t |
Hash attribute IDs. | |
typedef sai_status_t(* | sai_create_fine_grained_hash_field_fn) (_Out_ sai_object_id_t *fine_grained_hash_field_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create fine-grained hash field. | |
typedef sai_status_t(* | sai_remove_fine_grained_hash_field_fn) (_In_ sai_object_id_t fine_grained_hash_field_id) |
Remove fine-grained hash field. | |
typedef sai_status_t(* | sai_set_fine_grained_hash_field_attribute_fn) (_In_ sai_object_id_t fine_grained_hash_field_id, _In_ const sai_attribute_t *attr) |
Set fine-grained hash field attribute. | |
typedef sai_status_t(* | sai_get_fine_grained_hash_field_attribute_fn) (_In_ sai_object_id_t fine_grained_hash_field_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get fine-grained hash field attribute value. | |
typedef sai_status_t(* | sai_create_hash_fn) (_Out_ sai_object_id_t *hash_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create hash. | |
typedef sai_status_t(* | sai_remove_hash_fn) (_In_ sai_object_id_t hash_id) |
Remove hash. | |
typedef sai_status_t(* | sai_set_hash_attribute_fn) (_In_ sai_object_id_t hash_id, _In_ const sai_attribute_t *attr) |
Set hash attribute. | |
typedef sai_status_t(* | sai_get_hash_attribute_fn) (_In_ sai_object_id_t hash_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get hash attribute value. | |
typedef struct _sai_hash_api_t | sai_hash_api_t |
Hash methods, retrieved via sai_api_query() | |
This module defines SAI Hash 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 saihash.h.