aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-16Update of release notes, disable SIXRD; VPP-412v16.09Keith Burns (alagalah)2-3/+1
Change-Id: I74ca4846e41f1bd8b4bf384f4c1e5791d0481f6d Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-16Add ILA API and API test plugin VPP-412Pierre Pfister6-70/+669
The ILA plugin could only be configured through CLI. This patch adds API support to ila_interface and ila_add_del_entry functions. The patch also adds a test plugin for vpp_api_test. Change-Id: I35d96c4e56bb32862cd08cc86a9fa25ff56ef583 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-09-14Fix vpp-plugins rpmsEd Warnicke1-6/+6
vpp by default looks in /usr/lib/vpp_plugins rpmbuild has ${_libdir} as /usr/lib64 Thus vpp doesn't see the plugins. Change-Id: Iecbc491940678728305c181b04bb0914ad174bf1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-1416.09 Release Notes - VPP-135Keith Burns (alagalah)4-1/+141
Change-Id: I9a2ae5dc859e73682003175a8987d49bf0729d02 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-14Add structure to some of the documentation; VPP-223Chris Luke7-5/+18
Moves the random .md files into a config examples tree Change-Id: If423b82f1047f1c84f90876a786313054b5f7c77 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-09-14VPP-282: Document changes for vnet/vnet/ethernetBilly McFall3-32/+139
Change-Id: Ie75f43516fdd76ba3720f65f38d66f14749e3e2d Signed-off-by: Billy McFall <bmcfall@redhat.com>
2016-09-14VPP-306: Document changes for vnet/vnet/vxlanBilly McFall2-1/+76
Change-Id: I1ec4a80ee431758998716014e3fb6f80a5b9c168 Signed-off-by: Billy McFall <bmcfall@redhat.com>
2016-09-13Update CSIT tests 160904 -> 160912Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test in VPP branch stable/1609 Change-Id: Ia053d152dd20bbd0f967313ac058e0b7be1db585 Signed-off-by: Jan <jgelety@cisco.com>
2016-09-12VPP-402 Provide vpp-plugins rpm packagingEd Warnicke1-0/+31
Change-Id: Ifbd99818ead5f38c5f8ad3ecdb36b24a9fa59798 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-12vhost user buffer allocation and counter fix for 1609Pierre Pfister1-16/+17
This patch backports parts of ba1d04641454 to 1609 branch: - Bug allocation error (Not enough buffers were allocated) - Dropped packet counting bugfix Those fixes are more critical than what I expected. DO NOT CHERRY-PICK TO MASTER Sorry for the inconveniance. Change-Id: I96bd9beb54924ab13fc87e6d4546cd9fa4dd6725 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-09-11VPP-341: iOAM plugin documentationShwetha2-0/+483
Change-Id: I0042ce8b8a70bb709765037c3636be667ad88aa2 Signed-off-by: Shwetha <shwethab@cisco.com> (cherry picked from commit f074eef0409a64475e840f59581306273313b218)
2016-09-11Move CLI examples from wiki to code - VPP-165Keith Burns (alagalah)6-4/+243
Change-Id: I50ad0d79a6ffaf0a51848abf2c5ed57e83c8640f Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-11Peg vpp and vpp-plugins to depend on specific versions; VPP-367Ed Warnicke1-2/+2
vpp now depends on the version of vpp-lib it was built with vpp-plugins now depends on the version of vpp it was built with Change-Id: Idf706f94d3a35bdf51930badf61cac288855873d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-09Check for zero-sized Graphvix config file on Ubuntu; VPP-396Chris Luke1-1/+2
- The previous change only accounted for a missing Graphviz config file; apparently it can be zero-sized too. Change-Id: Ic6957d10cdc7cb7b9da72d2b2a0f8913100870c5 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-09-09On Ubuntu check for graphviz system config; VPP-396Chris Luke1-0/+3
- Sometimes it seems Ubuntu doesn't always set up the Graphviz handler config. If it's missing, generate it. https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/1349026 Change-Id: I2c1e566817de8415f8b360c6f967cd76307a2a52 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-09-08VPP-388 Improve IP header lookup in ipsec_outputFlorin Coras1-14/+31
Change-Id: I5df0067c9ce56d7a15a991b82d4761924d91758b Signed-off-by: Florin Coras <fcoras@cisco.com> (cherry picked from commit fb28e9a80c8e36db0a3a484a20e9e0114be517bd)
2016-09-07VPP-223 Various documentation fixes.Chris Luke35-97/+135
[Note: This is an amalgamation of two patches on master with only the parts relevant to stable included. See 16bcf7d8 and d4024f58] This is a cleanup of some obvious syntactic issues with Doxygen tags in the documentation. It is not an attempt to improve the documentation itself. Change-Id: I278ad91fe980243778f84560c5e4b84a9423dc09 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-09-07VPP-221 CLI auto-documentation infrastructureChris Luke12-81/+1095
[Note: This is an amalgamation of several patches cherry-picked from master all related to introducing auto-CLI documentation. See commits d4024f58 ee4743ad 16bcf7d8 e0d802bc 54ccf226] As a step before Doxygen, extract CLI-related struct initializers from the code and parse that into a summary of the CLI commands available with the provided help text, such as it is. At the moment this only renders this into an indexed Markdown file that Doxygen then picks up but later we can use this information to enrich the existing VLIB_CLI_COMMAND macro documentor as well as provide runtime documentation to VPP that is stored on disk outside the binary image. Additionally support a comment block immediately prior to VLIB_CLI_COMMAND CLI command definitions in the form /*? ... ?*/ that can be used to include long-form documentation without having it compiled into VPP. Examples of documenting CLI commands can be found in vlib/vlib/unix/cli.c which, whilst not perfect, should provide a starting point. Screen captures of sample output can be seen at https://chrisy.flirble.org/vpp/doxy-cli-example.png and https://chrisy.flirble.org/vpp/doxy-cli-index.png . Next, shift the Doxygen root makefile targets to their own Makefile. The primary reason for this is that the siphon targets do dependency tracking which means it needs to generate those dependencies whenever make is run; that is pointless if we're not going to generate any documentation. This includes the package dependencies since they since they sometimes unnecessarily interfere with the code build in some cases at the moment; later we will look to building a Python venv to host the Python modules we use. One final remark: In future we may consider deprecating .long_help in the VLIB_CLI_COMMAND structure entirely but add perhaps .usage_help. .short_help would be reserved for a summary of the command function and .usage_help provide the syntax of that command. These changes would provide great semantic value to the automaticly generated CLI documentation. I could also see having .long_help replaced by a mechanism that reads it from disk at runtime with a rudimentary Markdown/Doxygen filter so that we can use the same text that is used in the published documentation. Change-Id: I8afccfd7fe2096411d8064ac954ca5a2cbca9ae7 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-09-07VPP-390: include *.so symlinks in vpp-libEd Warnicke1-0/+2
Currently, vpp-lib rpm includes symlinks for *.so.0 -> *.so.0.0.0 but not *.so -> *.so.0.0.0 This causes linker issues in cases where vpp-lib and vpp-devel rpms are installed and sources are built that rely on libraries in vpp-lib. Example: libtool: link: gcc -shared -fPIC -DPIC jvpp/.libs/libjvpp_nsh_la-jvpp_nsh.o -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra -lpthread -lm -lrt -ljvpp_common -L/usr/lib64 -O2 -Wl,-soname -Wl,libjvpp_nsh.so.0 -o .libs/libjvpp_nsh.so.0.0.0 /usr/bin/ld: cannot find -lvlibmemoryclient /usr/bin/ld: cannot find -lvlibapi /usr/bin/ld: cannot find -lsvm /usr/bin/ld: cannot find -lvppinfra collect2: error: ld returned 1 exit status Change-Id: Ic8eebc696f973ea348be0b43e7cfb289efbe44fe Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-07VPP-307 - vnet/vnet/vxlan-gpe Documentation fixesKeith Burns (alagalah)3-73/+73
Change-Id: Icd7b82306f49e8148d5e7b2fccd8b5f1005f935d Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-07VPP-303 - Documentation changes for vnet/vnet/srKeith Burns (alagalah)4-60/+390
Change-Id: If8b76959d7c29c216bf03609483a2c9e1d034f46 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-09-06VPP-386 Fix map-server output in lisp-cp-lookup traceFlorin Coras1-6/+3
Change-Id: I67dd7896932b8ea96062b9ff074959c172b51ba4 Signed-off-by: Florin Coras <fcoras@cisco.com> (cherry picked from commit 5a1c11b53f60f4339e893b1a24cfc6515d2b08f7)
2016-09-06VPP-381 Add LISP interfaces to sw_interface_dumpFlorin Coras1-0/+7
Change-Id: I62b65472e77a33b1fc94f7c4975b5e9cbf358f41 Signed-off-by: Florin Coras <fcoras@cisco.com> (cherry picked from commit ce98275ac31f1120c263d22d667841e6e7a7b936)
2016-09-06Update CSIT tests 160821 -> 160904Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test in VPP branch stable/1609 Change-Id: I4dfd568d1078e0ce92053dd64225dd043f556575 Signed-off-by: Jan <jgelety@cisco.com>
2016-09-06VPP-385: Fix ARP for indirect adjacenciesFlorin Coras1-0/+16
Change-Id: I48cffb8acbd9e6655d7ec661ee8f7e0689b12a2d Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-09-06VPP-374: getting jvppgen.py into rpm vpp-devel packageEd Warnicke1-0/+11
Change-Id: Ia2643f33170da92fde0f8228c8d8393f23e98d11 Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit 406ab9d3657d028c974069ce63807a88dfa62a4f)
2016-09-06VPP-373: stop building from /vpp mountEd Warnicke3-5/+63
Change-Id: I7f8fe8fa6c24b4229b0cb45e6c83e7cb2828e2da Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit 3ba4d36d927444cfd1929c3d130af7dc9194ea6c)
2016-09-02VPP-375: Fix LSIP locator set hash table on additionFilip Tehlar1-1/+1
Change-Id: Iec9e6538d2731ba12ae8338b72fdc3a0bd5f0c69 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-09-01VPP-371: Fix for vppctl to suppress "load_one_plugin:63: Loaded plugin:" msgsEd Warnicke1-2/+2
Change-Id: I06fcb024036b48a6401d2865a2181b122cb32108 Signed-off-by: Ed Warnicke <eaw@cisco.com> (cherry picked from commit f53db2a6c2a7e511716018aa37bc8ae8d0c18156)
2016-08-30VPP-365: Fix sending of bd_index in lisp_eid_table_add_del_mapv16.09-rc2Filip Tehlar1-1/+7
Change-Id: I1f8fd65fa33b0bc7ee07aa0eeb5f794a7ede9537 Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 5a4e2dde94262a6f93c0c87be81a10317f2ae426)
2016-08-30VPP-361: Memory leak on delete of VXLAN over IPv6 tunnelJohn Lo1-1/+4
The key for VXLAN over IPv6 tunnel is allocated on create and should be freed on delete. Change-Id: I11bdd9465030fed57cc4bbd28dbccdf952633b34 Signed-off-by: John Lo <loj@cisco.com>
2016-08-30vhost-user: unmap previously configured memory if necessarySteve Shin1-0/+3
If there's any memory-mapped region configued previously, it should be unmapped before setting up a new vhost memory table. Otherwise, huge page leakage will happen. Change-Id: I375f603ea303919f1502df44a26a7384ab2ea00e Signed-off-by: Steve Shin <jonshin@cisco.com> (cherry picked from commit 5e15c91b6c2b5fbd7f989c5dc4edde506d254926)
2016-08-30tuntap_rx modification to handle jumbo packets ( > 2K bytes)Steve Shin1-4/+13
Change-Id: Iebe30b87457741ac268b24c96fa7ea8ad1e101a6 Signed-off-by: Steve Shin <jonshin@cisco.com> (cherry picked from commit 82a7af95e7553747dcebdb865a9c9a67826745d4)
2016-08-27VPP-356: Fix wrong byte order in LISP APIFilip Tehlar3-7/+8
Change-Id: Ib2284025b8394a87f1d5765713adb7070b450cba Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit e3552c45f38d1f101cf512c9046647201d6c121b)
2016-08-26VPP-357 Fix vni for LISP fwd entry removalsFlorin Coras1-1/+1
Change-Id: I5d20c1939f7a5a142bf696b34143f7ebca6afbcb Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-26VPP-345: pull in upstream checksum patch for ICMP packetsSean Chandler1-0/+18
http://www.dpdk.org/dev/patchwork/patch/15216/ Change-Id: I91b67f3e5c0abff52626e504e2707814ae0c3ed0 Signed-off-by: Sean Chandler <seandchandler@gmail.com> (cherry picked from commit dc731bd4b1ad6ea588334c681d1409cbdec9ce67)
2016-08-26VPP-305: Documentation for vnet/vnet/unixKeith Burns (alagalah)8-158/+647
Change-Id: I3f1a225033ecebe0cedfc3466b552176461b76ab Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-25VPP-307: Documentation for vnet/vnet/vxlan-gpeKeith Burns (alagalah)6-44/+380
Change-Id: Iaab6f4b63ed0d986be1ac0636c692b46098ad54d Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-25VPP-321: Fix param order of unformat_lisp_eid_apiFilip Tehlar1-3/+2
Change-Id: Ib00ca0f0dab4784a3fb34ffd91c18a3940e9a5d5 Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 251aec436b9e3be15f92a464fa4559396b115b2a)
2016-08-25Fix issues with vhost-user when dpdk vhost-user is disabled, fixes VPP-347, ↵Damjan Marion5-35/+84
VPP-349 Change-Id: I774bab98e43d55678a67a7708ca50edbbd4cbb06 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-24VPP-340: MAP-T wrong destination addressOle Troan1-1/+1
The bug was in VAT MAP code parsing a 32 bit integer into a 8 bit type. Perhaps we should try to build some defences in unformat_chech_input() to avoid these errors. Rebuild. Change-Id: Iae4959f7e04d889da2e9650a4201c4db15d74201 Signed-off-by: Ole Troan <ot@cisco.com>
2016-08-23VPP-342: Don't allow remote mapping to overwrite local or static mappingFilip Tehlar4-5/+22
Change-Id: I9888d7c087da538b81a6a1967edbdf1103cc095a Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 3cd9e730f9db0d998e5e8a27ddff1da5a123625b)
2016-08-17Change default branch in .gitreviewv16.09-rc1Dave Barach1-0/+1
Change-Id: Ia39cdfd2b3d6c9dbe252dff0bcea3ba0adabdaaf Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-17VPP-202: L2-GRE over IPSecv16.12-rc0Matus Fabian21-26/+1887
GRE encapsulate layer 2 traffic and IPSec encrypt what is encapsulated by GRE. The whole point of L2-GRE over IPSec is to tunnel layer 2 over GRE and IPSec by bridging the physical interface with IPSec-GRE tunnel interface. Change-Id: Ia4cf9ed407bf663770e0d8905c0ad44ce73bd23b Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-08-17VPP-336: Fix build order for jvpp_{core,registry}.la dependency on ↵Ed Warnicke1-0/+2
jvpp_common.la Change-Id: I886d087532d20bf7e6555da44e4e75ee0ca38268 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-17Coding standards cleanup in vnet/vnet/devices, fixes VPP-248Damjan Marion19-2975/+3646
Change-Id: I35cf89bf1aa54b76294876e9feb0ed0ccc316975 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-17VPP-205: documentation updateMarek Gradzki2-76/+113
Change-Id: I98e5bdbd0472c2973885defe2712b53d9da8a536 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-17VPP-261 Coding standards cleanup - vnet/vnet/lisp-gpeFlorin Coras6-1935/+2046
Change-Id: I1bc2098e79ce753f3d72f05f2fcac9ab00d0d052 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-17VPP-260 Coding standards cleanup - vnet/vnet/lisp-cpFlorin Coras11-2078/+2269
Change-Id: I29b84c44c12ab746e9e61c30efa0ac3418d1a09a Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-17Fix coverity issues in IPSec code, fixes VPP-189Damjan Marion5-17/+29
Change-Id: I4e43606884ebad9a84abda779b82417192727ef3 Signed-off-by: Damjan Marion <damarion@cisco.com>