Skip to content

Comments

[action] [PR:4068] [ssw][ha] add ACTION_COUNTER to acl table type#201

Merged
mssonicbld merged 1 commit intoAzure:202506from
mssonicbld:cherry/msft-202506/4068
Jan 29, 2026
Merged

[action] [PR:4068] [ssw][ha] add ACTION_COUNTER to acl table type#201
mssonicbld merged 1 commit intoAzure:202506from
mssonicbld:cherry/msft-202506/4068

Conversation

@mssonicbld
Copy link
Collaborator

What I did

Add action counter to acl table type when creating initializing tunnel termination acl table.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it
It's added for the acl rules but not for the table today.

How I verified it
This change was there for our HA development (on a custom branch) but missed on the master branch. It's verified in many demo sessions.

Details if related

Error logs if missing this PR:

2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: SAI_LOG|SAI_API_ACL: src/acl/sai_acl_cmd.cpp:86: ACL Table 0x380000000000003 does not support action SAI_ACL_ACTION_TYPE_COUNTER
2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_INVALID_PARAMETER
2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_TABLE_ID: oid:0x7000000000661
2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_PRIORITY: 9998
2025 Dec 12 00:50:02.269384 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ADMIN_STATE: true
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_COUNTER: oid:0x9000000015a72
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_DST_IP: 3.2.1.0&mask:255.255.255.255
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_TUNNEL_TERMINATED: true
2025 Dec 12 00:50:02.269443 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_REDIRECT: oid:0x400000000065c
2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- create: create status: SAI_STATUS_INVALID_PARAMETER
2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- createRule: Failed to create ACL rule Vnet_55_3.2.1.0/32_TUNN_TERM, rv:-5

<!--
Please make sure you have read and understood the contribution guildlines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

1. Make sure your commit includes a signature generted with `git commit -s`
2. Make sure your commit title follows the correct format: [component]: description
3. Make sure your commit message contains enough details about the change and related tests
4. Make sure your pull request adds related reviewers, asignees, labels

Please also provide the following information in this pull request:
-->

**What I did**

Add action counter to acl table type when creating initializing tunnel termination acl table.

sign-off: Jing Zhang zhangjing@microsoft.com

**Why I did it**
It's added for the acl rules but not for the table today.

**How I verified it**
This change was there for our HA development (on a custom branch) but missed on the master branch. It's verified in many demo sessions.

**Details if related**

Error logs if missing this PR:

```
2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: SAI_LOG|SAI_API_ACL: src/acl/sai_acl_cmd.cpp:86: ACL Table 0x380000000000003 does not support action SAI_ACL_ACTION_TYPE_COUNTER
2025 Dec 12 00:50:02.269248 switch1 ERR syncd#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_INVALID_PARAMETER
2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_TABLE_ID: oid:0x7000000000661
2025 Dec 12 00:50:02.269366 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_PRIORITY: 9998
2025 Dec 12 00:50:02.269384 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ADMIN_STATE: true
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_COUNTER: oid:0x9000000015a72
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_DST_IP: 3.2.1.0&mask:255.255.255.255
2025 Dec 12 00:50:02.269426 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_FIELD_TUNNEL_TERMINATED: true
2025 Dec 12 00:50:02.269443 switch1 ERR syncd#syncd: :- processQuadEvent: attr: SAI_ACL_ENTRY_ATTR_ACTION_REDIRECT: oid:0x400000000065c
2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- create: create status: SAI_STATUS_INVALID_PARAMETER
2025 Dec 12 00:50:02.269711 switch1 ERR swss#orchagent: :- createRule: Failed to create ACL rule Vnet_55_3.2.1.0/32_TUNN_TERM, rv:-5
```
@mssonicbld
Copy link
Collaborator Author

Original PR: sonic-net/sonic-swss#4068

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mssonicbld mssonicbld merged commit ea8f863 into Azure:202506 Jan 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant