Skip to content

Commit

Permalink
Merge branch 'acl_table_type' of github.com:stepanblyschak/sonic-swss…
Browse files Browse the repository at this point in the history
… into acl_table_type
  • Loading branch information
stepanblyschak committed Nov 22, 2021
2 parents 70d2c7d + 9b08a82 commit ec26e51
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions orchagent/aclorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2824,6 +2824,35 @@ void AclOrch::initDefaultTableTypes()
.build()
);


/*
* Type of Tables and Supported Match Types (ASIC database)
* |------------------------------------------------------------------|
* | | TABLE_MIRROR | TABLE_MIRROR | TABLE_MIRRORV6 |
* | Match Type |----------------------------------------------|
* | | combined | separated |
* |------------------------------------------------------------------|
* | MATCH_SRC_IP | √ | √ | |
* | MATCH_DST_IP | √ | √ | |
* |------------------------------------------------------------------|
* | MATCH_ICMP_TYPE | √ | √ | |
* | MATCH_ICMP_CODE | √ | √ | |
* |------------------------------------------------------------------|
* | MATCH_SRC_IPV6 | √ | | √ |
* | MATCH_DST_IPV6 | √ | | √ |
* |------------------------------------------------------------------|
* | MATCH_ICMPV6_TYPE | √ | | √ |
* | MATCH_ICMPV6_CODE | √ | | √ |
* |------------------------------------------------------------------|
* | MATCH_IP_PROTOCOL | √ | √ | |
* | MATCH_NEXT_HEADER | √ | | √ |
* | -----------------------------------------------------------------|
* | MATCH_ETHERTYPE | √ | √ | |
* |------------------------------------------------------------------|
* | MATCH_IN_PORTS | √ | √ | |
* |------------------------------------------------------------------|
*/

if (isAclMirrorV4Supported())
{
addAclTableType(
Expand Down

0 comments on commit ec26e51

Please sign in to comment.