Skip to content

Commit

Permalink
rename match and action related to COS to TC. add clarification
Browse files Browse the repository at this point in the history
on SAI_ACL_ENTRY_ATTR_ACTION_FORWARD
  • Loading branch information
lguohan committed Apr 9, 2015
1 parent 5c24a8c commit f2dcb1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sai/inc/saiacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ typedef enum _sai_acl_table_attr_t
SAI_ACL_TABLE_ATTR_FIELD_IP_FRAG,

/* Class-of-Service (Traffic Class) */
SAI_ACL_TABLE_ATTR_FIELD_COS,
SAI_ACL_TABLE_ATTR_FIELD_TC,

/* -- */

Expand Down Expand Up @@ -315,13 +315,13 @@ typedef enum _sai_acl_entry_attr_t
/* Ip Frag [sai_acl_ip_frag_t] */
SAI_ACL_ENTRY_ATTR_FIELD_IP_FRAG,

/* Class-of-Service (Traffic Class) */
SAI_ACL_ENTRY_ATTR_FIELD_COS,
/* Class-of-Service (Traffic Class) [sai_cos_t] */
SAI_ACL_ENTRY_ATTR_FIELD_TC,


/* Actions [pointer to sai_acl_action_data_t] */

/* Forward Normally */
/* Forward Normally, override any previous drop decision */
SAI_ACL_ENTRY_ATTR_ACTION_FORWARD = 0x00002000,

/* Redirect Packet */
Expand Down Expand Up @@ -357,8 +357,8 @@ typedef enum _sai_acl_entry_attr_t
/* Decrement TTL */
SAI_ACL_ENTRY_ATTR_ACTION_DECREMENT_TTL,

/* Set Class-of-Service (Traffic Class) */
SAI_ACL_ENTRY_ATTR_ACTION_SET_COS,
/* Set Class-of-Service (Traffic Class) [sai_cos_t] */
SAI_ACL_ENTRY_ATTR_ACTION_SET_TC,

/* Set Packet Inner Vlan-Id */
SAI_ACL_ENTRY_ATTR_ACTION_SET_INNER_VLAN_ID,
Expand Down

0 comments on commit f2dcb1b

Please sign in to comment.