25#if !defined (__SAIGENERICPROGRAMMABLE_H_)
26#define __SAIGENERICPROGRAMMABLE_H_
100 _Out_ sai_object_id_t *generic_programmable_id,
101 _In_ sai_object_id_t switch_id,
102 _In_ uint32_t attr_count,
113 _In_ sai_object_id_t generic_programmable_id);
124 _In_ sai_object_id_t generic_programmable_id,
137 _In_ sai_object_id_t generic_programmable_id,
138 _In_ uint32_t attr_count,
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.
enum _sai_generic_programmable_attr_t sai_generic_programmable_attr_t
Attribute Id for Generic Programmable extension.
_sai_generic_programmable_attr_t
Attribute Id for Generic Programmable extension.
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.
sai_status_t(* sai_remove_generic_programmable_fn)(_In_ sai_object_id_t generic_programmable_id)
Delete a Generic programmable entry.
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.
struct _sai_generic_programmable_api_t sai_generic_programmable_api_t
Generic extensions methods table retrieved with sai_api_query()
@ SAI_GENERIC_PROGRAMMABLE_ATTR_OBJECT_NAME
HW block name to program the entry.
@ SAI_GENERIC_PROGRAMMABLE_ATTR_CUSTOM_RANGE_START
@ SAI_GENERIC_PROGRAMMABLE_ATTR_COUNTER_ID
Attach a counter.
@ SAI_GENERIC_PROGRAMMABLE_ATTR_START
Start of attributes.
@ SAI_GENERIC_PROGRAMMABLE_ATTR_END
End of attributes.
@ SAI_GENERIC_PROGRAMMABLE_ATTR_ENTRY
JSON string carrying HW block entry information.
@ SAI_GENERIC_PROGRAMMABLE_ATTR_CUSTOM_RANGE_END
This module defines SAI portable types.
Generic extensions methods table retrieved with sai_api_query()