Skip to content

Conversation

danobi
Copy link
Contributor

@danobi danobi commented Oct 26, 2023

These modes assigns CPUs based on L4 source and dest port. This is useful for load testing scenarios where you can assign sequential source ports to flows (like with neper).

For router/gateway use cases you use sport mapping on the forward direction and dport mapping on the reverse direction.

@danobi
Copy link
Contributor Author

danobi commented Oct 26, 2023

FWIW, this was used as part of the "Multi-core IPsec tunnels" work that I will be presenting at netdev next week.

Copy link
Member

@tohojo tohojo left a comment

Choose a reason for hiding this comment

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

Nice, thank you for the patch! Just a small nit, otherwise LGTM :)

These modes assigns CPUs based on L4 source and dest port. This is
useful for load testing scenarios where you can assign sequential source
ports to flows (like with neper).

For router/gateway use cases you use sport mapping on the forward
direction and dport mapping on the reverse direction.

Signed-off-by: Daniel Xu <[email protected]>
@tohojo tohojo merged commit c9913f9 into xdp-project:master Oct 26, 2023
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.

2 participants