SAI Metadata
|
Classes | |
struct | _sai_generic_programmable_api_t |
Generic extensions methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_generic_programmable_attr_t | sai_generic_programmable_attr_t |
Attribute Id for Generic Programmable extension. | |
typedef sai_status_t(* | sai_create_generic_programmable_fn) (_Out_ sai_object_id_t *generic_programmable_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a Generic programmable entry. | |
typedef sai_status_t(* | sai_remove_generic_programmable_fn) (_In_ sai_object_id_t generic_programmable_id) |
Delete a Generic programmable entry. | |
typedef sai_status_t(* | sai_set_generic_programmable_attribute_fn) (_In_ sai_object_id_t generic_programmable_id, _In_ const sai_attribute_t *attr) |
Set Generic programmable Table entry attribute. | |
typedef sai_status_t(* | sai_get_generic_programmable_attribute_fn) (_In_ sai_object_id_t generic_programmable_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Generic programmable entry attribute. | |
typedef struct _sai_generic_programmable_api_t | sai_generic_programmable_api_t |
Generic extensions methods table retrieved with sai_api_query() | |
Enumerations | |
enum | _sai_generic_programmable_attr_t { SAI_GENERIC_PROGRAMMABLE_ATTR_START , SAI_GENERIC_PROGRAMMABLE_ATTR_OBJECT_NAME = SAI_GENERIC_PROGRAMMABLE_ATTR_START , SAI_GENERIC_PROGRAMMABLE_ATTR_ENTRY , SAI_GENERIC_PROGRAMMABLE_ATTR_COUNTER_ID , SAI_GENERIC_PROGRAMMABLE_ATTR_END , SAI_GENERIC_PROGRAMMABLE_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_GENERIC_PROGRAMMABLE_ATTR_CUSTOM_RANGE_END } |
Attribute Id for Generic Programmable extension. More... | |
typedef sai_status_t(* sai_create_generic_programmable_fn) (_Out_ sai_object_id_t *generic_programmable_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a Generic programmable entry.
[out] | generic_programmable_id | The OID returned per entry per HW block |
[in] | switch_id | The Switch Object id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
Definition at line 99 of file saigenericprogrammable.h.
typedef sai_status_t(* sai_get_generic_programmable_attribute_fn) (_In_ sai_object_id_t generic_programmable_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Generic programmable entry attribute.
[in] | generic_programmable_id | The table id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Definition at line 136 of file saigenericprogrammable.h.
typedef sai_status_t(* sai_remove_generic_programmable_fn) (_In_ sai_object_id_t generic_programmable_id) |
Delete a Generic programmable entry.
[in] | generic_programmable_id | The table id |
Definition at line 112 of file saigenericprogrammable.h.
typedef sai_status_t(* sai_set_generic_programmable_attribute_fn) (_In_ sai_object_id_t generic_programmable_id, _In_ const sai_attribute_t *attr) |
Set Generic programmable Table entry attribute.
[in] | generic_programmable_id | The table id |
[in] | attr | Attribute |
Definition at line 123 of file saigenericprogrammable.h.
Attribute Id for Generic Programmable extension.
Definition at line 39 of file saigenericprogrammable.h.