Skip to content

[202412][trim]: Add Packet Trimming Port/Queue stats to VS lib#60

Merged
r12f merged 1 commit intoAzure:202412from
nazariig:202412-trim-stats
Jun 11, 2025
Merged

[202412][trim]: Add Packet Trimming Port/Queue stats to VS lib#60
r12f merged 1 commit intoAzure:202412from
nazariig:202412-trim-stats

Conversation

@nazariig
Copy link
Contributor

@nazariig nazariig commented Jun 5, 2025

No description provided.

Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
TEST_F(VirtualSwitchSaiInterfaceTest, queryStatsCapability)
{
sai_stat_capability_t capability_list[91];
std::vector<sai_stat_capability_t> capability_list;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good to keep dynamic

Copy link
Contributor

@kperumalbfn kperumalbfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sai_status_t SwitchStateBase::queryStatsCapability(
_In_ sai_object_id_t switchId,
_In_ sai_object_type_t objectType,
sai_status_t SwitchStateBase::queryPortStatsCapability(

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 118 lines.
@r12f r12f merged commit f21e12c into Azure:202412 Jun 11, 2025
4 checks passed
@r12f
Copy link
Contributor

r12f commented Jun 11, 2025

CI passed! merging.

mssonicbld added a commit that referenced this pull request Jul 7, 2025
```<br>* 8f50be7 - (HEAD -> 202503) Merge branch '202412' of https://github.com/Azure/sonic-sairedis.msft into 202503 (2025-07-07) [Sonic Automation]
* b36d564 - (base/202412) [trim]: Add Packet Trimming Asym DSCP to VS lib (#68) (2025-07-04) [mssonicbld]
* 6e75cc6 - [TAM]: Add default SAI_TAM_ATTR_TELEMETRY_OBJECTS_LIST of TAM for saivs create operation (#1614) (#66) (2025-06-29) [Ze Gan]
* 0ae8494 - [unittest ]Conditionally enable TestServerSaiMockChannel (#67) (2025-06-30) [mssonicbld]
* 12b21f3 - [syncd] Check whether stat_st and tam_telemetry is defined (#1590) (#65) (2025-06-25) [Ze Gan]
* 701a114 - [TAM]: Fix TAM notification and vslib implementation (#1606) (#62) (2025-06-24) [Ze Gan]
* 6b97f74 - [SAI]: Update SAI to support QUERY_STATS_ST_CAPABILITY and TAM (#1573) (#63) (2025-06-24) [Ze Gan]
* f21e12c - [trim]: Add Packet Trimming Port/Queue stats to VS lib (#60) (2025-06-11) [Nazarii Hnydyn]
* 9d39644 - Merge pull request #61 from mssonicbld/cherry/msft-202412/1548 (2025-06-08) [Ze Gan]
|\ 
| failure_prs.log skip_prs.log 613654b - [syncd] Move log set function after api initialize (2025-06-08) [Sonic Build Admin]
|/ 
* e18530c - Update SAI version to 1.16.1 (#54) (2025-05-12) [mramezani95]
* 3c33c26 - Update codeql runs-on ubuntu version to 22.04 (#56) (2025-05-10) [mssonicbld]
* 87d6f46 - [trim]: Add Packet Trimming to VS lib (#55) (2025-05-09) [mssonicbld]
* 80c4309 - Support auto negotiation on the VS platform to avoid error messages. (#52) (2025-05-01) [mssonicbld]
* 0209ab8 - [FlexCounter] add support for SRv6 MySID counters (#50) (2025-04-28) [mssonicbld]
* aceb9ed - Move time stamp to time stamp table in counter database to avoid frequently update the counter table (#51) (2025-04-28) [mssonicbld]<br>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants