Skip to content

Commit 3fdcc38

Browse files
committed
move OCS port status notification definition to saiswitchextensions.h
Signed-off-by: Nathan Ni <nathan.ni@coherent.com>
1 parent 19bf3dc commit 3fdcc38

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

experimental/saiswitchextensions.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@ typedef enum _sai_switch_attr_extensions_t
262262
*/
263263
SAI_SWITCH_ATTR_FLOW_BULK_GET_SESSION_EVENT_NOTIFY,
264264

265+
/**
266+
* @brief Set Switch OCS port state change event notification callback function passed to the adapter.
267+
*
268+
* Use sai_ocs_port_state_change_notification_fn as notification function.
269+
*
270+
* @type sai_pointer_t sai_ocs_port_state_change_notification_fn
271+
* @flags CREATE_AND_SET
272+
* @default NULL
273+
*/
274+
SAI_SWITCH_ATTR_OCS_PORT_STATE_CHANGE_NOTIFY,
275+
265276
SAI_SWITCH_ATTR_EXTENSIONS_RANGE_END
266277

267278
} sai_switch_attr_extensions_t;

0 commit comments

Comments
 (0)