forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovs-ofctl: Extract tunnel metadata correctly when sorting flows.
When flow fields are sorted before dumping in ovs-ofctl, each significant field is extracted for sorting. However, in the case of tunnel metadata a mapping table is necessary to know where each field begins and ends. This information is current stripped off before fetching the field data and returned field is simply zeroed. This makes sorting based on tunnel metadata non-deterministic. We have the tunnel allocation stored in match metadata with each flow, so we can simply extract the data from there rather than trying to build and populate a global mapping table. Signed-off-by: Jesse Gross <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information
1 parent
f681214
commit 5bc39e9
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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