Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add another bridge-router-bridge test (test_brb2) #46

Merged
merged 1 commit into from
Jun 10, 2015
Merged

add another bridge-router-bridge test (test_brb2) #46

merged 1 commit into from
Jun 10, 2015

Conversation

yonghong-song
Copy link
Collaborator

o router is implemented as a namespace, similar to test_brb.
o using linux bridge to provide bridge functionality.
In test_brb, a simple bpf program implemented limited
bridge functionality.
o on my local box, test_brb performance is roughly 12% better
than test_brb2.

Signed-off-by: Yonghong Song [email protected]

  o router is implemented as a namespace, similar to test_brb.
  o using linux bridge to provide bridge functionality.
    In test_brb, a simple bpf program implemented limited
    bridge functionality.
  o on my local box, test_brb performance is roughly 12% better
    than test_brb2.

Signed-off-by: Yonghong Song <[email protected]>
bpf_clone_redirect(skb, *ifindex_p, 0);
}

return 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it passes packets to the stack. more accurate would be to drop them.

4ast pushed a commit that referenced this pull request Jun 10, 2015
add another bridge-router-bridge test (test_brb2)
@4ast 4ast merged commit dce98b9 into master Jun 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants