aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2fwd/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2015-10-29Fix Make, Make clean and when the src directories are clonedRadek Zetik1-1/+1
Update the rules for Make clean and distclean. Update make not to clone the repositories if they are already cloned, simply pull, checkout the tags and build. Changes in this patch: 1. QEMU is built just once in .../src directory. .../src_vanilla and .../src_cuse don't contain qemu anymore 2. 'make clean' deletes all built *.o files 3. 'make distclean' deletes all built and generated files (distclean is used instead of cleanse now) 4. 'make' calls 'git pull' when repository is cloned already JIRA: VSPERF-94 Change-Id: I80f9a135580b450fb4606cf947661049ff509548 Signed-off-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Gene Snider <eugene.snider@huawei.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
2015-06-15Update targets for l2fwd buildEugene Snider1-1/+8
Added cleanse, clobber and force_make targets for top level Makefile compliance Change-Id: I510ed174e3ae01b35e9df975e5aaa1c989b34ce9 Signed-off-by: Eugene Snider <eugene.snider@huawei.com>
2015-05-06Add l2 fwd kernel moduleEugene Snider1-0/+43
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>