forked from contiv/ofnet
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support arbitary bitwise register mask (#20)
For NXReg, OvS will accept value/mask on arbitary bitwise. If using range[start:end], it is hard to combine discontinuous value/mask, such as, to merge reg0[0:0] with reg0[2:2], with range method, we will pass NXRange[0:2] and it will generate mask 0x7, but actually, the mask is 0x5. In this patch, we change merge function to support discontinuous mask according to each reg piece range and then merge all pieces for one register. Signed-off-by: Gao Jinjun <gjinjun@gmail.com>
- Loading branch information
1 parent
546c928
commit 69df921
Showing
5 changed files
with
39 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.5.1 | ||
v0.5.2 |
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
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