-
Notifications
You must be signed in to change notification settings - Fork 15
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
Make ECMP hashing for GTP-U traffic TEID-based #232
Conversation
I have several concerns to discuss on the PDP sync meeting. |
The author of this PR, osinstom, is not an activated member of this organization on Codecov. |
It looks like we are hitting the 45m timeout in Jenkins: https://gerrit.onosproject.org/plugins/gitiles/ci-management/+/refs/heads/master/jjb/templates/fabric-tna-jobs.yaml#46 Execution time likely increased because of new SCTP packet type in #124 and the new ECMP tests in this PR (each one sending 50 pkts each). As a temporary workaround, we can disable testing the |
3bda971
to
40d6b24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left only minor comments.
Co-authored-by: Carmelo Cascone <[email protected]>
Co-authored-by: Carmelo Cascone <[email protected]>
I would like @Yi-Tseng to approve as well before merging |
# teid_toport list is used to learn the teid that causes the packet | ||
# to be forwarded for each port | ||
teid_toport = [None, None] | ||
for i in range(50): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ccascone do you remember why we need to run 50 times?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. I believe the goal was to generate enough packet header combinations to hash on all buckets. This is consistent with other ECMP-related tests, but I agree it can be optimized. If you agree, please add this to #238, and unless you have other concerns I suggest we merge this change as-is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm overall, just one minor comment about the test
This PR implements ECMP hashing for GTP-U traffic.
Closes #232.