Adding optional padding into table features Property to make it multiple of 8#109
Merged
italovalcy merged 6 commits intomasterfrom Dec 10, 2025
Merged
Adding optional padding into table features Property to make it multiple of 8#109italovalcy merged 6 commits intomasterfrom
italovalcy merged 6 commits intomasterfrom
Conversation
…enience because some vendors include this match field into TableFeatures message
…dding when packed message is not multiple of 8
italovalcy
commented
Nov 25, 2025
italovalcy
commented
Nov 25, 2025
viniarck
approved these changes
Nov 25, 2025
Member
viniarck
left a comment
There was a problem hiding this comment.
LGTM. Just left a trivial comment about documenting a TODO
Thanks, Italo. Great to have table features Property packing fixed and improved.
italovalcy
commented
Nov 26, 2025
viniarck
approved these changes
Nov 26, 2025
Member
viniarck
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the updates, @italovalcy
Merged
viniarck
approved these changes
Dec 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #102
Summary
See updated changelog file and/or add any other summarized helpful information for reviewers
Local Tests
Without the proposed changes:
With the changes:
See that, new size is multiple of 8 by padding with 4 zero bytes, as suggested by the spec.
I've also added unit tests from packet capture obtained from a passive openflow connection from a Noviflow switch (I preferred to use Noviflow instead of OpenVswitch because the Table Features from OpenVSwitch is huge.. has many fields from NXM -- Nicira Extended Match and others).
End-to-End Tests
Please refer to the results presented here: #110
The end-to-end tests were executed with all PRs stacked