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

Add GTP PDU Session Container to encap module #265

Merged
merged 2 commits into from May 3, 2021
Merged

Conversation

krsna1729
Copy link
Member

Add GTP PDU Session Container to encap module

  • Change FAR action values to match PDU type UL/DL in up4.bess, upf.go
  • Add extension header and psc structs
  • Use action metadata to set PDU type

Conditionally add PDU session container GTPU encap

  • Add upf.json conf gtppsc to control insertion of PSC
  • Add GtpuEncapArg to protobuf/module_msg.proto
  • Precalculate encap_size for prepend, copy and len

Signed-off-by: Saikrishna Edupuganti saikrishna.edupuganti@intel.com

- Change FAR `action` values to match PDU type UL/DL in up4.bess, upf.go
- Add extension header and psc structs
- Use `action` metadata to set PDU type

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
- Add upf.json conf gtppsc to control insertion of PSC
- Add GtpuEncapArg to protobuf/module_msg.proto
- Precalculate encap_size for prepend, copy and len

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
@krsna1729 krsna1729 force-pushed the psc-encap branch 2 times, most recently from 52c2a0f to 0f87235 Compare April 27, 2021 14:14
@krsna1729
Copy link
Member Author

@@ -210,7 +210,7 @@ pdrLookup:GTPUDecap \

# Add logical pipeline when gtpuencap is needed
farLookup:GTPUEncap \
-> gtpuEncap::GtpuEncap():1 \
-> gtpuEncap::GtpuEncap(add_psc=parser.gtppsc):1 \
Copy link
Contributor

Choose a reason for hiding this comment

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

can we not make it per call ?So that pfcp agent can control when to include this extension header.

Copy link
Member Author

Choose a reason for hiding this comment

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

@thakurajayL in future yes. we will need to work out the details of how that is conveyed along with the QER stuff.

Copy link
Member Author

Choose a reason for hiding this comment

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

But I feel like its not just about QFI is present or not. We anyway have to have the header for PDU type. When we want to support both 4G/5G concurrently in the same instance I feel like the expectation is on the eNB to ignore the extensions? That way we can keep it ON at an instance level.

@thakurajayL thakurajayL merged commit 02c6a3a into master May 3, 2021
@thakurajayL thakurajayL deleted the psc-encap branch May 3, 2021 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants