summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-04rename vpp python's api debian scriptsGabriel Ganne2-0/+0
python's api has been renamed from *vpp-python-api* -> *vpp-api-python* deb scripts need to follow the package name in order to be called Change-Id: I0c9ec45cc3d478c3b90aa75bcd2b8a9f7809cbc9 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.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 Marion3-56/+57
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 Sekera4-46/+93
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-03preserve environment when make install-depGabriel Ganne1-4/+4
for those who work behind a firewall/proxy-server Change-Id: I099830d2da05296b2f109ca25576a1e865ddcce6 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.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 Marion7-13/+29
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-03deb: fix issues in debian/control, silence some warningsDamjan Marion2-7/+12
Change-Id: I135646dbc641b1ff517fc137f8c653f7f3fe60fe 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 apiroot3-0/+14
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-02make test: fix debug printKlement Sekera1-1/+1
Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-02make test: rotate capture files after consuming arp/ndpKlement Sekera2-3/+9
Change-Id: I512dc07638b4539d4a75e2ac40d3acee77f0bba6 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-02make test: fix assert_nothing_captured apiKlement Sekera1-8/+9
Change-Id: I5cd11adcbd90a018deb3cd7cf157f72d9ab76e1c Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-02Update CSIT tests 161218 -> 170101Jan Gelety1-1/+1
- update of CSIT operational branch to be used for VPP-patch test Change-Id: I58f631e9319e55e5dd23516776fcbb9e9798a489 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2017-01-02Update emacs plugin generator skeletonDave Barach5-76/+27
Generated code compiles with the new build scheme, works, etc. Change-Id: I147aa5fa580a71ef25615b02277870867e475042 Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-02Handle execessive hash collisions, VPP-555Dave Barach4-84/+146
Change-Id: I55dad7b5cfb3d38c22b1105f7d2d61e7449410ea Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-02make test: improve test_flowperpktKlement Sekera2-146/+117
Change-Id: Id1b2bef2a93ac931a420d7a3c322d65c1fbce055 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-02fix run-vat pathMatus Fabian1-1/+1
Change-Id: Idfe5050b2db35794687da797afdca60a707aa42c Signed-off-by: Matus Fabian <matfabia@cisco.com>
2017-01-02dpdk: do not build igb_uio moduleDamjan Marion1-0/+1
igb_uio is anyway build out of source from dkms package so there is no need to build it here. Also, this creates issues in cases where kernel headers are not available (i.e. building inside containers). Change-Id: I270598a94dc67ad0b31e7f0db9ed6bd6fc8cfe30 Signed-off-by: Damjan Marion <damarion@cisco.com>
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 Marion253-2298/+719
Change-Id: I1c3b87e886603678368428ae56a6bd3327cbc90d Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-28Repair Doxygen build infrastructureChris Luke5-28/+48
After Gerrit 4430 much of the documentation failed to build, but silently so it was easily missed; equally missing that several paths have been missing for a while. - Correct paths after directory tree changes. - Doxygen now bails when input paths don't exist. - Fix up some of the less deranged entries in the documentation index. - Exclude the LUA tree, its documentation is a mess. Change-Id: I35e6b433feee5e05bca772d93aa1635c724db734 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-12-28test: fix paths after source code moveDamjan Marion2-4/+3
Change-Id: I3100260bb697f9af2f73ad3777e8b27069c5babe Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1056-1700/+920
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-26dpdk: Add support for Mellanox ConnectX-4 devicesDamjan Marion11-35/+96
Due to external library dependency support for Mellanox devices is disabled. To enable it uncoment following line: vpp_uses_dpdk_mlx5_pmd = yes in build-data/platforms/vpp.mk and install OFED libraries. Change-Id: I131d52b5d449a958349f31f9cc04311948f78b71 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-26vlib: Add support for PCI VPD parsingDamjan Marion2-5/+93
This allows better detection of various NICs, including the ones where different sub-models are sharing same PCI VID:PID. This change also extends output of "show pci" debug cli command. Change-Id: I06f78e8376307e88b0252a99c203c696437a6e35 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-23Make test support for the ipfix flow-per-pkt pluginDave Barach4-9/+289
Change-Id: I7a0d37fc2bc21dbbff1cea1b92dc24d43f971eec Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-23SNAT: fix 'show snat verbose' bug - format vector as %vMatus Fabian1-3/+3
Change-Id: Ia829da43a273c89dee47b32250ab032d992193cd Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-12-23make test: improve handling of packet capturesKlement Sekera19-271/+321
Perform accounting of expected packets based on created packet infos. Use this accounting info to automatically expect (and verify) the correct number of packets to be captured. Automatically retry the read of the capture file if scapy raises an exception while doing so to handle rare cases when capture file is read while only partially written during busy wait. Don't fail assert_nothing_captured if only junk packets arrived. Change-Id: I16ec2e9410ef510d313ec16b7e13c57d0b2a63f5 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-23Build vpp_api_test binary API debug CLI into vppDave Barach11-724/+1560
Change-Id: I60ce73a62d8632a644fbfdfbe13ff8ddbb959233 Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-23make test: add log.txtKlement Sekera2-8/+13
Always create a log.txt under test's temporary directory containing V=2 output for debugging purposes. Change-Id: If149c8126f42f80724ee17b63c411ddec6645f85 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-22api: save some typing when adding new api filesDamjan Marion2-173/+132
Change-Id: Ia994b723eafe8ab41c1c3031a7f7cd1853554128 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-22Add L2 flow-record generationDave Barach7-161/+881
Change-Id: I32a9513f2b66d35e0abe2aeb6eb86a4729ba7f74 Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-22API refactoring : lisp-gpePavel Kotucek8-232/+461
Change-Id: I47b38a9b5ae8ead2a161402974205982669851a7 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22API refactoring : lispPavel Kotucek7-2066/+2131
Change-Id: Ia1ebd03e5d55e5b20f244158366b9de15b1baae1 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22API refactoring : ipsec-grePavel Kotucek7-157/+283
Change-Id: I984c6f2c5aaeeef98aadd5a66159cac046a86586 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>