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

XN Tracking: Fragment handling IPv4 #101

Open
KrisNey-MSFT opened this issue Apr 21, 2022 · 3 comments
Open

XN Tracking: Fragment handling IPv4 #101

KrisNey-MSFT opened this issue Apr 21, 2022 · 3 comments
Assignees

Comments

@KrisNey-MSFT
Copy link
Collaborator

Related information

Scope - P4 DASH pipeline. Requires extending the conntrack table key with Frag ID and using it instead of L4 ports.

@KrisNey-MSFT KrisNey-MSFT changed the title XN Tracking: Fragment handling IPv4 XN Tracking: Fragment handling IPv4 (VenkatP) Jun 30, 2022
@KrisNey-MSFT KrisNey-MSFT changed the title XN Tracking: Fragment handling IPv4 (VenkatP) XN Tracking: Fragment handling IPv4 Jun 30, 2022
@yusefMS06
Copy link
Collaborator

What can we do to assist in unblocking this?

Issue has been here for some months now @venkat-pullela-keys

@KrisNey-MSFT
Copy link
Collaborator Author

Handle via behavior of the NIC; frag handling s/be handled by the NIC with the pipeline to see the full packet. Frag packet incoming, we do not have a method to obtain the correct hash, b/c the L4 header isn't present. K to close

@KrisNey-MSFT
Copy link
Collaborator Author

KrisNey-MSFT commented Apr 4, 2024

IP fragmentation; (jumbo for example) if split into 2, the 2nd fragmented packet will not have the header (L4 info) in order to perform the 5-tuple hash / steering to the correct queue.
Could do virtual reassembly? Possible but complicated. Packets may not work as expected.
DPU contains functionality of NIC, s/be able to handle. NIC is doing reassembly prior to the hash, although buffer would be needed.
Will this happen prior to the pipeline? May be vendor independent.

Reassemble then go to pipeline? Or reassemble through pipeline? In Clouds, the MTU may be set to transit the network seamlessly. If a specific application scenario requires it, we may need to take IP fragmentation into consideration.

If he has time, @r12f might be able to research / confirm the IP fragmentation requirement.

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

No branches or pull requests

4 participants