Add l2 fwd kernel module 78/478/4
authorEugene Snider <eugene.snider@huawei.com>
Tue, 5 May 2015 18:31:12 +0000 (11:31 -0700)
committerEugene Snider <eugene.snider@huawei.com>
Wed, 6 May 2015 17:31:23 +0000 (10:31 -0700)
commitfcc2e6c829f1ddbfc745addf4ac4b7ca84ba72db
tree5e7f7e66b87cedd3e054132dbea106a4d157fcaa
parentb1d3b553bbb82907ed643ddf245b85097dce7f91
Add l2 fwd kernel module

This commit adds a simple kernel module for l2 forwarding or termination

This module provides only level 2 forwarding between two ports, it does not
do any NAT or Masquerade.

Arguments are:

net1=ethXXXX # set forwarding port 1
net2=ethXXX  # set forwarding port 2
terminate=1  # terminate the connection and free the skb

Changed to GPL licensing to avoid compilation issues
Added sanity build target
Fix whitespace issues

JIRA: VSPERF-39

Change-Id: I0fa3e0135af06b7cba665a357dccfb9459edb9f6
Signed-off-by: Eugene Snider <eugene.snider@huawei.com>
src/Makefile
src/README
src/l2fwd/LICENSE.txt [new file with mode: 0644]
src/l2fwd/Makefile [new file with mode: 0644]
src/l2fwd/gen_debian_package.sh [new file with mode: 0755]
src/l2fwd/l2fwd.c [new file with mode: 0644]