summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-01-12Account for pool realloc when importing FIB entries during VRF exportNeale Ranns1-4/+12
Change-Id: I8ec6d53fa9c0790f85802663f70a6b3630239f8d Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2017-01-12Fix ARP on unnumbered interfaces (VPP-583)Neale Ranns1-2/+15
Change-Id: Iea1e2c31c016c3bb6344f73173d082a2c548ffee Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2017-01-12jvpp: include jvpp_common in vpp packagesMarek Gradzki1-1/+1
Change-Id: Idcf37fc4a031c1c95362aeadf11768103e40d0fd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-11BFD: fix bfd_udp_add APIKlement Sekera3-29/+29
Fix reporting of bs_index in the return message. Enhance test suite to cover this case. Change-Id: I37d35b850818bc1a05abe67ca919c22aeac978b6 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-11Acquire SNAT pool addresses from specific interfacesDave Barach3-1/+127
Pick up addresses added by DHCP client, or by static configuration Needs to have binary API support added Change-Id: I962ef89e6e5f36cdc5457b92e165c498b08b25a9 Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-11jvpp: add missing dependencies on various libsMarek Gradzki1-5/+23
Change-Id: Ifa6845458f7249d2179a20b954fcdd49d6c68aa1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-11Makefile.am cleanupDamjan Marion8-102/+11
- remove unused stuff - add --quiet flag to libtool - avoid building some tests programs when tests are not enabled Change-Id: Ie34aeec1a598ad811256a00354f66cfddae9d0b9 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-11Remove vcgn pluginDamjan Marion1-66/+0
Change-Id: I79f18ec386dedd91a8dcea2ca5726208b7b3c67c Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-11VPP-575 : Inconsistency in flag values for neighbors dumpPavel Kotucek1-1/+1
Change-Id: Ice6861c150055d06aefff14b60dbc28e3d73769d Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2017-01-11jvpp: compile static Java files and include in generated jarsMarek Gradzki1-3/+3
Most Java bindings for VPP APIs provide some tests/examples. The patch includes them in the compilation process. Change-Id: Icef3d061c1afd727e8544a7fe5c0204453b1c1d0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-01-10Fix LISP Coverity warningFlorin Coras1-1/+1
Change-Id: Idf58a62a5ec47bcf52ae36d00d2844a3db72273b Signed-off-by: Florin Coras <fcoras@cisco.com>
2017-01-10API refactoring : l2, mpls, srPavel Kotucek10-1511/+1770
Change-Id: Ic5f273dae607a1d3902489e65734c76f027dc30f Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2017-01-10IPv6 NS RS tests and fixesNeale Ranns11-54/+31
includes Fix for VPP-584 with API change to remove prefix length from LL programming Change-Id: If860751c35e60255fb977f73bc33e8c2649e728e Signed-off-by: Neale Ranns <nranns@cisco.com>
2017-01-10VPP-585: vhost-user interface deletion leaks memory.Ole Troan1-0/+7
Change-Id: I69bbc447e1989adea40f052eac4550036b6e2e1e Signed-off-by: Ole Troan <ot@cisco.com>
2017-01-10japi: include tests in jar filesDamjan Marion1-0/+1
Change-Id: Idffaafda8fac06a45edef6f3ef13379293d0faa0 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-10API refactoring : dpdkPavel Kotucek8-257/+475
Change-Id: If2541be803a0303401b013390e117c26fd1d9739 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2017-01-10Revert "vppctl: bash completion for vppctl commands"Damjan Marion1-30/+0
This patch is causing build failures This reverts commit d995c757f05f78aa759b0a65c0a7e38088e690a9. Change-Id: I0c8d5a4208135d77aaa3a6a470d26140f7b74733 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-09Self-service garbage collection for the API message allocatorDave Barach4-4/+30
Change-Id: Iadc08eede15fa5978e4010bbece0232aab8b0fee Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-09vppctl: bash completion for vppctl commandsPadraig Connolly1-0/+30
Added bash completion that will include all commands from build time *Script takes list of commands generated by doxygen-siphon-list *Configured doxygen-siphon makefile to generate just cli commands *List of cli commands put in /usr/share/vpp *Stopped siphon using doxygen bootstrap, uses main bootstrap instead *Added rpm/deb check for installation of packages, separate from bootstrap *NOTE: Once you have installed the vpp .deb/.rpm package you will have to restart bash Change-Id: Ie503e80d5177481f6e7dbe59378f2e0d76f29152 Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
2017-01-09VPP-279: af_packet via Command-line Arg should no longer be supportedBilly McFall1-0/+3
With the CLI command 'create host-interface', no longer need to support af_packet interface creation via Command-line Arg. However, this is mostly implemented by passing arguments to DPDK. Instead of blocking functionality, put a warning in the log directing the user to the CLI. Change-Id: I6c6fba6096f32ef232f1da0c5d39396c6d13f54f Signed-off-by: Billy McFall <bmcfall@redhat.com>
2017-01-09papi: fix building on aarch64Damjan Marion1-1/+1
Change-Id: I3983576bd4e0f197193a7d281763d545a55e7d64 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-08Multiple Autotools improvementsDamjan Marion5-16/+41
- Defines some dependencies between shared libraries - updates version.h only when version changes Updating version.h on each "make" and "make install" was causing issues with parallel builds. "make install" was re-linking vpp binary due to "updated" version.h and in parallel it was re-linking shared libraries as part of installation process. That was resulting on sporadic build failures. Change-Id: I2a27ae1aea6a7a4100822018e095a60dd48d39ca Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-07plugin: add API to get pointer to symbol in different pluginDamjan Marion2-7/+26
Change-Id: Ic2fbbd8227d5d0c033e5d7b5f43b859a4889d2f3 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-06python clients can set the API rx message queue lengthDave Barach5-10/+13
Change-Id: I7af1493a823747e0f7389ad6c2093e4cec6c2ce9 Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-06VPP-279: doxygen documentation for host interface CLI commandsBilly McFall2-2/+65
Change-Id: I2c6c16688be35e2e122c2377ded467c68a4c5a97 Signed-off-by: Billy McFall <bmcfall@redhat.com>
2017-01-05Added vpe.api java binding generationJan Srnicek1-0/+1
added missing path for vpe.api file Change-Id: I61f727002dd663d6a5656b0d01380e77b44c4a42 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Fix uninitialized stack local, VPP-581Dave Barach2-0/+5
Sporadically messes up the client message allocation ring, by setting c->message_bounce[msg_id] non-zero. A day-1 bug, made blatantly obvious by the python API language binding for no particular reason. Manually cherry-picked from stable/1701 due to the recent tree reorganization. Change-Id: Ifa03c5487436cbe50a6204db48fd9ce4938e32bb Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-05FIB memory leaks (VPP-578)Neale Ranns6-24/+48
1) vec_free the fe_srcs of a fib_entry_t when the fib_entry_t is itself reed 2) in the load-balance fixup if a drop path is required add this to a new vector of next-hops 'fixed_nhs'. This vector is managed by the load-balance function. The caller continues to manage its own set. The function is now const implying that the caller is safe to assume the next-hops do not change. Change-Id: I0f29203ee16b9a270f40edf237488fa99ba65320 Signed-off-by: Neale Ranns <nranns@cisco.com> Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2017-01-04LISP: make data plane programming thread safeFilip Tehlar1-1/+30
Change-Id: I4b949e606fa3969d4c03dc6e753a2546be6329cf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-04Merging all ioam plugin libraries to single libraryAkshayaNadahalli10-125/+78
Double commit from 1702 branch to master. Change-Id: I33a646ba45848c7400df4271e4933e28e62c9ad7 Signed-off-by: AkshayaNadahalli <anadahal@cisco.com> (cherry picked from commit e4e9fbbb7c8fa4385ae31072d60ad8621fe798a4) Signed-off-by: AkshayaNadahalli <anadahal@cisco.com>
2017-01-04Fix library dependency issueDamjan Marion1-0/+1
Change-Id: I2b08194f4554b2c0f1e595184ef0a36bd494ad17 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03vlib: merge libvlib_unix.so into libvlib.soDamjan Marion5-15/+9
Change-Id: Iedbee427d838794c4b26db5bd07b8d27aad9fcd8 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03fix version.h generation for out-of-tree buildsDamjan Marion2-2/+56
Change-Id: Ic882f5aec74858a36533ed8cd61a7726947dceef Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03vxlan fix mcast tunnel deleteEyal Bari2-23/+27
Change-Id: I15f7ff1e957718e808bfad811895deaacb85d2a3 Signed-off-by: Eyal Bari <ebari@cisco.com>
2017-01-03BFD: immediately honor reduced remote_min_rx intervalKlement Sekera3-22/+31
Change-Id: I7f09b45c926557d2ad0e2706b38fa56ff8194a3d Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-03VPP-574: fix VPP hang during security group configuration on a suspended VMAndrew Yourtchenko1-0/+4
The unix connect() in vhost-user driver in VPP is blocking, and a non-expedient accept() on the other side causes the entire VPP to hang. Solution: set the nonblocking flag for the socket fd before calling connect(), and set the socket back to blocking after the accept() succeeds. Change-Id: Ia5ee782037eeffabdad71db8241f476a048a4f6f Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2017-01-03VPP-574: fix the MACIP ACLs blocking ARP trafficAndrew Yourtchenko1-0/+47
The initial assumption was that the MACIP ACL classifier tables would be applied after the classification of the traffic based on the ethertype, it turned out to be untrue, but the fix in the code did not happen. Add the ethertype to the mask, and the logic to create the ACL classifier tables permitting the ARP ethertype with the correct payload. Change-Id: I7c05c7893f6df8258998eed8983056c77586df81 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
2017-01-03LISP: fix EID additionFilip Tehlar1-2/+5
Change-Id: I32f61ab89598a7911df3d0d8f45de1302af8aa6a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-03LISP: fix fwd entry additionFilip Tehlar1-1/+1
Change-Id: Ibdc9ad21cc53cf0a6d571a3f913038d61d9282a1 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-01-03vlxlan-gpe - fix api registeringGabriel Ganne1-1/+1
(was registering span api twice instead) Change-Id: I196d520061d10872fd795c0b1115574591e8d978 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2017-01-03Do not require external vppapigen when not cross-compilingDamjan Marion5-11/+28
Change-Id: I80b8348ed4efd53d292c37a1ff69c13ee4741986 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03SNAT: fix out2in ICMP worker lookupMatus Fabian1-0/+7
Change-Id: I113e7927739de876f07c3f17454ad7499a74c634 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2017-01-03jvpp: install jvpp_common.h into include/Damjan Marion1-0/+3
Change-Id: Iaffc619f3219239e753609f0963d396237aae378 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03Improve Java 8 detection m4 script to deal with pre-set JAVA_HOMEDamjan Marion1-1/+15
Change-Id: I38685530634fd43d0a46ff43e5ef7d62b9ee4d9b Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-03vpp-python-api deb packaging - use easy_install to install the python apiroot1-0/+1
Change-Id: I67963d5a6ec324b13c50f8f6c51ed3c715b4c145 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2017-01-03Fix crash on null vhost-user socket - VPP-573Wojciech Dec1-0/+5
Fix for VPP-573. Change-Id: If7d9690901efebf62fdf28219097153d98c79c0c Signed-off-by: Wojciech Dec <wdec@cisco.com>
2017-01-03Fix crash on vhost-user deletion - VPP-571Wojciech Dec1-7/+10
Fixes VPP-571. VPP crashes when deleting created vhost interfaces which have not been configured with L3 or bridge-domain. Change-Id: I7fe6f2e52d4d5d77ec3c122758aa4bf43250b1d1 Signed-off-by: Wojciech Dec <wdec@cisco.com>
2017-01-02Handle execessive hash collisions, VPP-555Dave Barach4-84/+146
Change-Id: I55dad7b5cfb3d38c22b1105f7d2d61e7449410ea Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-02ioam: fix Coverity issueVengada1-1/+1
Initialize outer_fib_index variable to zero to avoid coverity warning. Change-Id: I400564f5873b23ceb1c72ea2e9e1df69b1e82f0c Signed-off-by: Vengada <venggovi@cisco.com>
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion205-51/+38548
Change-Id: I1c3b87e886603678368428ae56a6bd3327cbc90d Signed-off-by: Damjan Marion <damarion@cisco.com>