aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10LD_PRELOAD stub identified system callsshrinivasan ganapathy4-0/+96
- stub identifed unimplemented system call to return EOPNOTSUPP(95) Change-Id: I4f4a78717059f224bc695a0d32d4f0417dc46bd4 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-10Merge "LD_PRELOAD epoll_wait implementation"Keith Burns2-7/+48
2017-10-10netlink: Fix compilation issue in test/test.cPierre Pfister1-0/+2
A new header file was missing. Change-Id: Ic2c10d9577187dca7ea0729ebc95ba23a2c06e86 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2017-10-10Merge "[router] Remove call to vlib_buffer_chain_validate"Pierre Pfister1-2/+0
2017-10-10Merge "[router] Set VLIB_RX metadata to valid sw_if_index"Pierre Pfister1-1/+1
2017-10-09LD_PRELOAD epoll_wait implementationshrinivasan ganapathy2-7/+48
- support vcom fd Change-Id: I791e0983fb4b0ec574f4dff35e56adbfddc4f033 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-09Merge "LD_PRELOAD epoll_ctl implementation"Keith Burns3-199/+711
2017-10-09[router] Remove call to vlib_buffer_chain_validateJeff Shaw1-2/+0
The vlib_buffer_chain_validate() function was removed from VPP. To avoid referencing an undefined symbol, this commit removes the function call. Change-Id: I53f911a7d7b3d6121b8a4a0768b259af20730686 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2017-10-09[router] Set VLIB_RX metadata to valid sw_if_indexJeff Shaw1-1/+1
In normal cases, some multicast frames from the control plane are dropped by VPP before being sent. We were not setting the VLIB_RX interface to a valid sw_if_index, causing a segmentation fault when updating counters in the process_drop node. Change-Id: I950158b6c36c9056ee024d2524099db03bffbf35 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2017-10-09LD_PRELOAD epoll_ctl implementationshrinivasan ganapathy3-199/+711
- EPOLL_CTL_ADD - EPOLL_CTL_MOD - EPOLL_CTL_DEL - close() - amend 1 - removed stubs for vppcom_session_epoll_create and ctl - add trace for epoll_create, epoll_ctl and epoll_wait Change-Id: I0822f2212d56319f41236473bf547cf118fb18e0 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-05LDPRELOAD: readv writev v2Steven4-60/+173
Move the vector iteration down to vcom_socket Change-Id: I5bb8d0d34a18ea15daf7a385443e046cb64313a1 Signed-off-by: Steven <sluong@cisco.com>
2017-10-05LD_PRELOAD - fix multiple defineshrinivasan ganapathy3-18/+70
- EP_INT_MAX Change-Id: Ifb8a5fb722bffd80b53d7b8bab5cb360634c8cf5 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-10-05Merge "LDPRELOAD: Implement readv and writev"Keith Burns3-8/+106
2017-10-05Merge "VCL_LDPRELOAD epoll implementation"Keith Burns7-1236/+2143
2017-10-04LDPRELOAD: Implement readv and writevSteven3-8/+106
Iteratively call vcom_read for readv and vcom_write for writev system call. Change-Id: I1d5795165e22c84b3303dde3273ce0cfa76abb4a Signed-off-by: Steven <sluong@cisco.com>
2017-10-04VCL_LDPRELOAD epoll implementationshrinivasan ganapathy7-1236/+2143
-epoll_create implementation Change-Id: If05b5f44e48455f5a6f7a8096c1d020e7f3cd9cc Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-09-26Fix name of VCL LD_PRELOAD lib dir env var.Dave Wallace1-1/+1
Change-Id: I86a3ffc6c119eb9979580e8d48979dce5d5ce72d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-08-30Update vcl-preload instructionsKeith Burns (alagalah)2-15/+57
Change-Id: I2aab07d379a804b5b007db31abf0838b5b0798f4 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2017-08-28Merge "t commit -s Removed unnecessary includes"Keith Burns2-21/+1
2017-08-23Add generated files to .gitignore & fix buildDave Wallace2-6/+12
- Fix build references when VPP_DIR is specified for configure. Change-Id: I7274305764f9985fce3e5596fd522154248ccbe5 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-08-21t commit -sshrinivasan ganapathy2-21/+1
Removed unnecessary includes Change-Id: Ib51701e9c0f57968961526de27e08d4b3c5d65f5 Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-08-17VCL-LDPRELOAD LIBRARYshrinivasan ganapathy16-1/+6792
A LD_PRELOAD library built on top of VCL library - initial creation. - User can LD_PRELOAD any application that uses POSIX socket API and yet reap the benifits of VPP transport. - addressed review comments - fix bug in vcom_select rv was always zero. - updated README.md with instructions to use socket_test.sh script Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com> new file: vcl-ldpreload/LICENSE new file: vcl-ldpreload/MAINTAINERS new file: vcl-ldpreload/src/Makefile.am new file: vcl-ldpreload/src/configure.ac new file: vcl-ldpreload/src/libvcl-ldpreload.am new file: vcl-ldpreload/src/libvcl-ldpreload/TODO new file: vcl-ldpreload/src/libvcl-ldpreload/vcom.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_glibc_socket.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket.h new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket_wrapper.c new file: vcl-ldpreload/src/libvcl-ldpreload/vcom_socket_wrapper.h new file: vcl-ldpreload/src/vcl-ldpreload.mk new file: vcl-ldpreload/test/README.md Change-Id: I0db70bc4c3b3bac35451afa432c20dc04cb9699c Signed-off-by: shrinivasan ganapathy <shrinivasanganapathy@gmail.com>
2017-07-25Initial creation of LD_PRELOAD for VPP Communications Library (VCL)Keith Burns (alagalah)1-0/+1
Change-Id: I5f8b0aa50535c4fcf78de44128a5e87258b3ae4b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2017-05-02Merge "vpp-bootstrap: VPP 17.04 Support"Pierre Pfister3-23/+18
2017-04-28vpp-bootstrap: VPP 17.04 SupportRay Kinsella3-23/+18
* Adding support for VPP17.04 * Disabling DPDK to reduce mem footprint to 1G * Fixing AWS for Xenial Change-Id: I70f4ac0e70b80fd9b50d08f88a0987c089503ff2 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2017-04-25librtnl: Add compilation instructions to README.mdPierre Pfister1-3/+11
Change-Id: Ia7c7224e4561f238933c6d8b170b3e46b8675e8f Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2017-04-25librtnl: Add out-of-tree compilationPierre Pfister4-25/+45
See README.md changes for the new way to compile the plugin/library. Change-Id: I54ac5b9e7558ec8bb07430dc4a6f8e24d69cebbd Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2017-04-05Merge "FIx compile issue for netlink and router plugin"Pierre Pfister8-75/+176
2017-04-05FIx compile issue for netlink and router pluginHongjun Ni8-75/+176
Change-Id: I8a6f069af4acce97fd0ee262c217af645afd476d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Dave Barach <dave@barachs.net>
2017-03-31Merge "vpp-userdemo: updated to use stable repo"Pierre Pfister1-4/+2
2017-03-30Merge "vpp-bootstrap:"Pierre Pfister6-50/+178
2017-03-30vpp-userdemo: updated to use stable repoRay Kinsella1-4/+2
Minor update to use the stable repository. Change-Id: I1c08225f7e98f9d11b6443908afa68f63b380ffb Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2017-03-29vpp-bootstrap:Ray Kinsella6-50/+178
* Updated to VPP 17.01 * Updated README.md * Reduced image requirements to 2 cores & 2048 megs of ram. * Fixed VPP Binary on host to have more modest resource requirements. * XConnect the Containers automagically in VPP on the host. * Added support for python `pip` packages, updated scapy to 2.3.x for VXLAN support. * Using the VPP Binaries from 17.01 stable, instead of head. * Added gdb package to ctwo, so `make debug` will work. * Renamed veth backend interfaces on the host to `veth-c[one,two]`. Change-Id: Ie1a86989733c1eb18041e20a4d268a308ffaebb3 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2017-03-28Merge "vpp-userdemo: updated to VPP 17.01"Pierre Pfister3-3/+23
2017-03-28vpp-userdemo: updated to VPP 17.01Ray Kinsella3-3/+23
Updated the vpp-userdemo to support VPP 17.01, plus a number of other bug fixes. Change-Id: I79aebebdeaa4ad20690351f820e2efb5e62fdbee Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-12-20vhost-test: Add MoonGen lua script for perf profilingPierre Pfister2-5/+188
mg.lua is a MoonGen script dedicated to forwarding rate and drop rate measurement. It is sort of clever at finding which points to plot in order to discover interesting behaviors. Change-Id: I40c9ce4da27f3c13c27a8b3214c96298683c2658 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-12-15vhost-test: Feature addition to the vhost testing scriptPierre Pfister2-83/+221
This patch adds: - Support for custom virtio queue size. Patching qemu is required when a size other than 256. - Add/Del more vhost interfaces (limited to 1 VM though) - Start/Stop the VM at runtime Change-Id: Ie8410fd8dd9a7d22a7278dae4a898e66c7d3be5a Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-12-15vhost-test: Add .gitignore filePierre Pfister1-0/+3
Git ignores: - tmp directory (temporary configuration) - vmroot directory (mount point for the vm file system) - conf.sh (user configuration file) Change-Id: I8fe15f6428975b686e26c523954780d30189b58f Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-11-21vpp-bootstrap: initial commitRay Kinsella8-0/+396
vpp-bootstrap is a vagrant based tool to automatically bootstrap a vpp development environment. The tool is designed to be as data-driven and extensible. * An Ubuntu environment featuring one or more containers connected via a Linux bridge is created. * New containers can be easily created, packages install and configured via a provisioning scripts. * Networking, auth credentials and hostnames are automatically configured to enable using tools like ssh and scp without password and ip addresses. * Support for vagrant-proxy and vagrant-aws provisioning. * Two containers are initially provided:- * The first container provides network test tools such as scapy are automatically installed * In the second container VPP-lite is automatically git cloned, built and installed. Change-Id: Id484431f7dde8fdc9ff25ad198ff3cec55ba112c Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-11-04Adding CPU jitter elimination tricksPierre Pfister1-0/+26
Change-Id: I70bc1f5cff21ecbba734fa44cd2d94a1e5be8e9a Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-11-02vhost-test: Initial commit with first draftPierre Pfister3-0/+671
This is a first version for what intends to become some reference scripts to test vpp and vhost performances. The goal of this effort is to: - Give testers a reference script that they can run on their own device. - Give user a reference configuration that they should try to replicate. Change-Id: I810565a9000e79ea908c390a5527e7ccd9e05351 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-10-25flowtable - initial commitGabriel Ganne4-0/+2699
Adds vpp patches for: - the flowtable plugin - a port-mirroring plugin to work with the flowtable - test scripts Change-Id: I61d988342921b994cf1a6c0b784fa7e75ca07276 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-10-05[netlink] support new vpp fibJeff Shaw2-0/+54
Change-Id: Iceaceee96dddeb9e09aa1cfc178ec7fbc00f72c3 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-10-04[router] IPv6 support and refactoring.Jeff Shaw7-692/+1173
This change adds support for IPv6 while refactoring most of the original plugin code in the following ways. - Adhere to vpp style guidelines. - Split the netlink, node, and tap processing into separate files named with a "tap_inject" prefix which more accurately represents the functionality. - Implement our own tap management and rx/tx. This is to reduce the overhead of passing packets in and out of vnet tap devices, in favor of directly reading/writing from the tap. - Change how nodes work. Now we have neighbor, rx, and tx nodes. The neighbor node sends ARP replies and ICMP6 neighbor advertisements to the arp-input and icmp6-neighbor-solicitation nodes, respectively, before also injecting the packet to the host, making it possible for both vpp and the host network stack to resolve the next hop. The tx node injects packets into the host by writing to the tap. The rx node reads packets from the tap and sends them on its associated data plane interface. - Simplify the CLI. Instead of creating taps specifically for a given interface we create a tap for all of the Ethernet interfaces with the "enable tap-inject" CLI command. The interfaces are named with a "vpp" prefix, i.e. "vpp0". Also add a "disable tap-inject" option. - Provide ability to enable at configuration time with the tap-inject { enable } stanza. Change-Id: I6b56da606e2da1d793ce6aca222fe4eb5a4e070d Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
2016-09-15Addressed formatKeith Burns (alagalah)3-3/+3
Change-Id: I319a828b2357c2d450a429e34079afea68d7d7a1 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-15Added GUI for tutorials that runs entirely inside the VMAristeidis Iliopoulos38-10/+81547
-fixed issue with webserver not spinning up properly Change-Id: I3724f1640ba2b84b7d84fab29febbbd047120812 Signed-off-by: Aristeidis Iliopoulos <ailiopou@cisco.com>
2016-09-13vpp-userdemo: Convert namespaces to full containers.Ray Kinsella6-52/+124
Changes to convert namespaces to full containers as follows:- * c1 -> cone, c2 -> ctwo * Containers are accessible via lxc-console and ssh overlinux bridge. * vpp is installed and configure in the container. * Bridging, routing and tracing demo's work as before. Change-Id: I4e957600e1e487355e55d2570c430f2ad21cafd6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-09-05vpp-userdemo: adding debug optionRay Kinsella1-4/+24
Adding -d debug option to capture vpp-userdemo output to log file. This will aid debug down the line. Change-Id: Iaad69ad8890cafb9b748e3629447d9e6061a91f6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-29Merge "[router] Support UDP protocol."Pierre Pfister1-0/+18
2016-08-27Merge "vppsb: set up gitreview for the vppsb"Keith Burns1-0/+4