-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for metering #365
Conversation
vijasrin
commented
May 12, 2023
•
edited
Loading
edited
- Outbound metering P4 model changes in BMV2
- Changes to support the SAI api generation for metering tables
- Skipping failing SAIC tests till the metadata has been updated
Some meeting comments:
|
6c84b85
to
55def67
Compare
Adding skip for the SAIC tests till the metadata is updated |
CI fails for two reasons:
saiserver: saidasheni.cpp:376: sai_status_t sai_create_eni(sai_object_id_t*, sai_object_id_t, uint32_t, const sai_attribute_t*): Assertion `(matchedParams == expectedParams)' failed. [413296.894310] traps: saiserver[643376] general protection fault ip:7f5b56bdd941 sp:7f5b4f7fd420 error:0 in libc-2.31.so[7f5b56bdd000+178000] |
Hi @taras-keryk-plv could you be more specific which test is failing where dpugen is involved? We can explore updating it. Thank you!- @mgheorghe please take note |
Hi @chrispsommers, @mgheorghe
Thank you! |
Hi @vijasrin PR #378 was merged, it should address item #1 in #365 (comment). Assuming this is true can you merge from main, re-enable the tests you'd skipped (except for any still depending upon dpugen enhancements)? Thanks. |
@vijasrin Do you intend to add any new functional tests to verify the new features? |
@reshmaintel mentioned there are PTF test cases against outbound metering, written assuming this PR will get merged. Once it is merged those tests can be upstreamed. |
d309b3c
to
f361496
Compare
570c9bf
to
3ce44a2
Compare
- Metering P4 model changes in BMV2 - Changes to support the SAI api generation for metering tables
- Metering P4 model changes in BMV2 - Changes to support the SAI api generation for metering tables