Support vlan action, including pop and push#810
Closed
shuowang-123 wants to merge 1 commit intovishvananda:mainfrom
Closed
Support vlan action, including pop and push#810shuowang-123 wants to merge 1 commit intovishvananda:mainfrom
shuowang-123 wants to merge 1 commit intovishvananda:mainfrom
Conversation
Author
|
This should fix #588 |
Collaborator
|
@shuowang-123 please fix the conflicts |
1 similar comment
Collaborator
|
@shuowang-123 please fix the conflicts |
Collaborator
|
@shuowang-123 ping |
Owner
|
Closing due to inactivity. Feel free to reopen. |
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.
This would allow users to strip/add vlan tags as a packet goes through an interface. Tested on an Oracle Linux 8 VM. I ran the test without clean up, and verified that vlan push rule was added correctly:
filter parent ffff: protocol all pref 1 flower chain 0
filter parent ffff: protocol all pref 1 flower chain 0 handle 0x1
eth_type ipv4
dst_ip 1.0.0.1/24
src_ip 2.0.0.1/24
enc_dst_ip 3.0.0.1/24
enc_src_ip 4.0.0.1/24
enc_key_id 1234
enc_dst_port 8472
not_in_hw
action order 1: vlan pop pipe
index 1 ref 1 bind 1