Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
prgeor committed Aug 29, 2024
1 parent 0351c75 commit c49e86a
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions inc/saiport.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,24 +112,9 @@ typedef struct _sai_port_oper_status_notification_t
/** Port operational status */
sai_port_oper_status_t port_state;

} sai_port_oper_status_notification_t;

typedef struct _sai_port_oper_status_extended_notification_t
{
/**
* @brief Port id.
*
* @objects SAI_OBJECT_TYPE_PORT
*/
sai_object_id_t port_id;

/** Port operational status */
sai_port_oper_status_t port_state;

/** Bitmask of various port error status */
sai_port_errors_status_t port_error_status;

} sai_port_oper_status_extended_notification_t;
} sai_port_oper_status_notification_t;

/**
* @brief Attribute data for #SAI_PORT_ATTR_GLOBAL_FLOW_CONTROL_MODE
Expand Down Expand Up @@ -3450,20 +3435,6 @@ typedef void (*sai_port_state_change_notification_fn)(
_In_ uint32_t count,
_In_ const sai_port_oper_status_notification_t *data);

/**
* @brief Port state change notification
*
* Passed as a parameter into sai_initialize_switch()
*
* @count data[count]
*
* @param[in] count Number of notifications
* @param[in] data Array of port operational status extended with error status
*/
typedef void (*sai_port_state_change_extended_notification_fn)(
_In_ uint32_t count,
_In_ const sai_port_oper_status_extended_notification_t *data);

/**
* @brief Port host tx ready notification
*
Expand Down

0 comments on commit c49e86a

Please sign in to comment.