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.
lib/classifier: Use a prefix tree to optimize ports wildcarding.
Using a prefix tree (aka 'trie') for transport ports matching produces less specific (more wildcarded) datapath megaflows. Each subtable that matches on transport ports has it's own ports trie. This trie is consulted only after a failing lookup to determine the number of bits that need to be unwildcarded to guarantee that any packet that should match on any of the other rules will not match this megaflow. Signed-off-by: Jarno Rajahalme <[email protected]> Acked-by: Ethan Jackson <[email protected]>
- Loading branch information
Jarno Rajahalme
committed
Apr 30, 2014
1 parent
b53d5c3
commit 69d6040
Showing
3 changed files
with
96 additions
and
12 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
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