Skip to content

Commit 27acc94

Browse files
committed
Reorder set/get functions
Signed-off-by: Jason Bos <jbos@cisco.com>
1 parent 1ba273e commit 27acc94

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

inc/saitam.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,30 +2215,30 @@ typedef sai_status_t (*sai_remove_tam_counter_subscription_fn)(
22152215
_In_ sai_object_id_t tam_counter_subscription_id);
22162216

22172217
/**
2218-
* @brief Get values for specified event object attributes
2218+
* @brief Set value for a specified counter subscription object attribute
22192219
*
22202220
* @param[in] tam_counter_subscription_id Counter Subscription object id
2221-
* @param[in] attr_count Number of attributes
2222-
* @param[inout] attr_list Array of attributes
2221+
* @param[in] attr Attribute
22232222
*
22242223
* @return #SAI_STATUS_SUCCESS on success, failure status code on error
22252224
*/
2226-
typedef sai_status_t (*sai_get_tam_counter_subscription_attribute_fn)(
2225+
typedef sai_status_t (*sai_set_tam_counter_subscription_attribute_fn)(
22272226
_In_ sai_object_id_t tam_counter_subscription_id,
2228-
_In_ uint32_t attr_count,
2229-
_Inout_ sai_attribute_t *attr_list);
2227+
_In_ const sai_attribute_t *attr);
22302228

22312229
/**
2232-
* @brief Set value for a specified counter subscription object attribute
2230+
* @brief Get values for specified event object attributes
22332231
*
22342232
* @param[in] tam_counter_subscription_id Counter Subscription object id
2235-
* @param[in] attr Attribute
2233+
* @param[in] attr_count Number of attributes
2234+
* @param[inout] attr_list Array of attributes
22362235
*
22372236
* @return #SAI_STATUS_SUCCESS on success, failure status code on error
22382237
*/
2239-
typedef sai_status_t (*sai_set_tam_counter_subscription_attribute_fn)(
2238+
typedef sai_status_t (*sai_get_tam_counter_subscription_attribute_fn)(
22402239
_In_ sai_object_id_t tam_counter_subscription_id,
2241-
_In_ const sai_attribute_t *attr);
2240+
_In_ uint32_t attr_count,
2241+
_Inout_ sai_attribute_t *attr_list);
22422242

22432243
/**
22442244
* @brief TAM event callback

0 commit comments

Comments
 (0)