aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-24ISIS support for tap-injectHEADmasterJakub Horn1-0/+3
Change-Id: I856bbfbd55969f52d8f326855c51de8bd9e4ccaf Signed-off-by: Jakub Horn <jhorn@cisco.com>
2018-10-08Fix build issue due to vpp's function parameters changeHongjun Ni1-1/+1
Change-Id: I00282bc235cffb672911454af8d7dc7ab04fd7a1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-08-21Remove FIB_1.0 support and fix FIB_2.0 issueHongjun Ni5-110/+12
Change-Id: I90e593993851a364b728034c13e8e69852b558c4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-07-02Note about selinux rules used by router plugin and log added about sendmsg ↵Tomasz Plaza2-1/+12
error in netlink. Change-Id: Id761357ae5842e66d3425ec5e949ac284dca98cf Signed-off-by: Tomasz Płaza <tomasz.plaza@gmail.com>
2018-04-11Merge "Add support for MPLS labels in router plugin"Pierre Pfister5-331/+444
2018-04-04Add support for MPLS labels in router pluginChad Wang6-333/+446
1. Fixed more formatting issues. Added ASSERT. 2. Added MPLS features to support iproute2 command like ip -f mpls route add <label> dev vpp0 ip route add <IP> encap mpls <LABELS> via <IP> dev vpp0 3. Modifications to compile with the latest VPP. Change-Id: I5ed55ec3c6484beb1377496e9c763bb55da7ee26 Signed-off-by: Chad Wang <imflinter@gmail.com>
2018-03-15Fixed two places in mapper.c to compile with the latest vpp.Chad Wang1-2/+2
Deleted the old code that was commented out. Change-Id: Iff2637d9574662c7467931065857b9fcefc66124 Signed-off-by: Chad Wang <imflinter@gmail.com>
2017-11-07Changing unix_file to clib_file in order to work with VPP 1801Michael Borokhovich2-7/+8
Change-Id: Ie27f1884692802ae1b6a48ac25ef5aef25495c0a Signed-off-by: Michael Borokhovich <michaelbor@gmail.com>
2017-10-31Merge "Fix multicast packet reception."Pierre Pfister2-16/+23
2017-10-26Fix multicast packet reception.Michael Borokhovich2-16/+23
This commit adds the 224.0.0.0/24 entry to the mfib, making it possible to receive multicast packets. Previously, multicast packets would not be received because the entry was added to the unicast fib and not mfib. Change-Id: Id324805da3f214b3b68e9dba8b3967c615135765 Signed-off-by: Michael Borokhovich <michaelbor@gmail.com>
2017-10-20Update README to note vcl-ldpreload has moved to the vpp project.Dave Wallace1-84/+5
Change-Id: Ice7c773158a4e67b5060cb2767d3a0c32c721add Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-10-13Merge "vpp-userdemo: Small changes to README/GUI"Keith Burns6-37/+34
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>