Skip to content

Commit

Permalink
Fix bitwidth of mac address in SAI ACL schema (sonic-net#590)
Browse files Browse the repository at this point in the history
[PINS] Fix bit width of MAC address in SAI ACL schema
  • Loading branch information
daniele-moro authored and itamar-talmon committed Jul 19, 2022
1 parent c6ea1ff commit a39978d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/saiaclschema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ const MatchFieldSchema &MatchFieldSchemaByName(const std::string &match_field_na
// SAI_ACL_TABLE_ATTR_FIELD_INNER_SRC_IPV6
// SAI_ACL_TABLE_ATTR_FIELD_INNER_DST_IPV6
{"SAI_ACL_TABLE_ATTR_FIELD_SRC_MAC",
{.stages = {Stage::kLookup, Stage::kIngress, Stage::kEgress}, .format = Format::kMac, .bitwidth = 32}},
{.stages = {Stage::kLookup, Stage::kIngress, Stage::kEgress}, .format = Format::kMac, .bitwidth = 48}},
{"SAI_ACL_TABLE_ATTR_FIELD_DST_MAC",
{.stages = {Stage::kLookup, Stage::kIngress, Stage::kEgress}, .format = Format::kMac, .bitwidth = 32}},
{.stages = {Stage::kLookup, Stage::kIngress, Stage::kEgress}, .format = Format::kMac, .bitwidth = 48}},
{"SAI_ACL_TABLE_ATTR_FIELD_SRC_IP",
{.stages = {Stage::kLookup, Stage::kIngress, Stage::kEgress}, .format = Format::kIPv4, .bitwidth = 32}},
{"SAI_ACL_TABLE_ATTR_FIELD_DST_IP",
Expand Down

0 comments on commit a39978d

Please sign in to comment.