Skip to content
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

fix(agw): Modified code in sgw_s8 task to port ue context hash table to protobuf map #14406

Merged
merged 19 commits into from
Nov 28, 2022

Conversation

rsarwad
Copy link
Contributor

@rsarwad rsarwad commented Nov 10, 2022

Summary

fix(agw): Modified code in sgw_s8 task to port ue context hash table to protobuf map
Removed dependency of spgw task and sgw_s8 task on hash table

Test Plan

Executed unit test cases and built with "make build_oai" and executed s1ap sanity test suite
We will not be able to verify inbound roaming feature in local setup.

Additional Information

Needs to be tested federated integ_tests once PCRF is integrated

…edure_id to protobuf map

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
After rebase revisit this branch

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
…d_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
…d_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
…d_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
 into 11190_s8_port_ue_ctx_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
 into 11190_s8_port_ue_ctx_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
@rsarwad rsarwad requested review from a team and ajahl November 10, 2022 09:29
@pull-request-size pull-request-size bot added the size/L Denotes a Pull Request that changes 100-499 lines. label Nov 10, 2022
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: agw Access gateway-related issue label Nov 10, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2022

✔️ The Semantic PR check ended with status success. See instructions on formatting your commit and pull request titles.

}
free_cpp_wrapper((void**)ptr);
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]

Copy link
Contributor

Choose a reason for hiding this comment

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

Please finx cpplint errors

return;
}
state_cache_p->imsi_ue_context_map.map =
new google::protobuf::Map<unsigned long int, struct spgw_ue_context_s*>();
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Use int16/int64/etc, rather than the C type long [runtime/int] [4]

Copy link
Contributor

Choose a reason for hiding this comment

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

Fix this error

}
free_cpp_wrapper((void**)ptr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please finx cpplint errors

return;
}
state_cache_p->imsi_ue_context_map.map =
new google::protobuf::Map<unsigned long int, struct spgw_ue_context_s*>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix this error

@rsarwad rsarwad changed the title fx(agw): Modified code in sgw_s8 task to port ue context hash table to protobuf map fix(agw): Modified code in sgw_s8 task to port ue context hash table to protobuf map Nov 10, 2022
…ask and sgw_s8 task

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Copy link
Contributor

@pruthvihebbani pruthvihebbani left a comment

Choose a reason for hiding this comment

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

LGTM

…ctx_hl

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2022

FeG Lint & Test

    2 files  203 suites   40s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit 218fba2.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2022

DP Lint & Test

14 tests   14 ✔️  2m 34s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit 218fba2.

♻️ This comment has been updated with latest results.

Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
Signed-off-by: Rashmi <rashmi.sarwad@radisys.com>
@rsarwad rsarwad merged commit 8c4bb5a into magma:master Nov 28, 2022
lucasgonze pushed a commit to lucasgonze/magma that referenced this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue size/L Denotes a Pull Request that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants