summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-31add vpp debugging support to test frameworkKlement Sekera11-188/+510
improve test documentation Change-Id: Ia9678aa2532ecb4cb33736aedb4a31aa3f2a3f93 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-10-31Update _slabshr fields when updating HQoS masksDavid Hotham1-0/+6
Change-Id: Ia1042622c656861a80b856115aeb3c2e5cf5ea2a Signed-off-by: David Hotham <david.hotham@metaswitch.com>
2016-10-31VPP-120: add custom types support to jvppMarek Gradzki10-342/+779
Generates java classes based on typeonly definitions (hashcode, equals and toString methods are also included). Adds JNI handling for request and reply messages (also arrays of custom types). Change-Id: I16f1cea17899704426aa083fad1cb800a8d115df Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-31vppinfra: use 64-bit crc32 instruction in bihash_24_8Damjan Marion2-24/+14
Change-Id: Ibeb6d35e15a8d332753df7c352c0b51c277a0ee5 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-31vhost-user: fix crash in vhost_user_intfc_tx (VPP-519)Damjan Marion1-6/+0
The crash was the result of indexing off the end of the next[] array. Removing that prefetch code completelly, as it is questionable how much it helps so late in the game. Change-Id: I7bc83483a1088437edb4ac0f95a54c39afce136b Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-31VPP-478: SNAT address range overlappingMatus Fabian1-0/+7
Ignore adding duplicate address. Change-Id: Icbb76bbcb3a78a18acb1a50d5d8ab777e9f9bd36 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-10-31VPP-459: SNAT dump API for in and out interfacesMatus Fabian4-61/+180
Change-Id: Ie0cba0778b094eaafa960d3f432199e1e3b2d116 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-10-29Initial deb packaging of vpp-python-apiEd Warnicke5-1/+21
Change-Id: I14d5180d6abd59b813906011718121a2bbc9bafd Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-29IPv6 Classify Forwarding Graph errorsNeale Ranns9-20/+25
Fix a few places where the protocol of the DPO object was incorrectly set and hence the graph traversed by the packet jumped between ip4 and ip6 nodes. Change-Id: I75c4ecfdf79df39f5dbb7c68f1fc82ff04aaed28 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2016-10-28vppinfra: fix issue with bihash_8_8 hash function (VPP-518)Damjan Marion1-1/+1
Change-Id: Ia9a484575d0142e89ec5b6b4c6c2e702e1098a1e Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-28policer: replace uintX_t with uX, fix styleDamjan Marion8-1764/+1926
Change-Id: Ie4a0ba57d5c672ab04fe37801836f65d8731a90a Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-28Update test framework after API function changeJuraj Sloboda1-0/+4
Change-Id: I326ef57fa0c691c5a1cecea0364d770b6f7a73c8 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-10-27Fix potential L2 forwarding crash with stale L2FIB entry (VPP-516)John Lo4-50/+44
On moving interface between L2 and L3 forwarding modes, adjust the l2-output node next index for the sw_if_index of the interface so packet output via stale MAC entries in L2 FIB will be dropped. Change-Id: I25afd7a617edb4ae35ce296bac33e62683edad9a Signed-off-by: John Lo <loj@cisco.com>
2016-10-27Fix coverity issues in LISPFilip Tehlar1-1/+2
Change-Id: Ifef27540f02f423070e8843951be5cba0acea8cf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-10-27Per-packet IPFIX record generation pluginDave Barach15-1/+1481
Change-Id: Ia790aa018e70d67ed343e3e466d1b33b22560fc0 Signed-off-by: Dave Barach <dave@barachs.net>
2016-10-26features: fix crash due to missing null terminationDamjan Marion1-8/+8
Change-Id: I98b407f9b698307c5a0007b198a734674b33f925 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26Fix description of devel package.Thomas F Herbert1-10/+8
Change-Id: Ia289299691daa2ed47f0129d2695678e1d390ab8 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-10-26dpdk: enable building with dpdk 16.11-rc1Damjan Marion3-0/+29
Works with: http://dpdk.org/browse/dpdk/snapshot/dpdk-16.11-rc1.tar.xz placed into dpdk/ or ~/Downloads Change-Id: I17f6a721529dbefc796f555e2525d157b9bf8740 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26Fix unformat-at-eof bugDave Barach1-1/+1
Change-Id: Id9a64303b1d415b55a3bc0ea1483df6fc2eb5011 Signed-off-by: Dave Barach <dave@barachs.net>
2016-10-26refactor test frameworkKlement Sekera20-1867/+2658
Change-Id: I31da3b1857b6399f9899276a2d99cdd19436296c Signed-off-by: Klement Sekera <ksekera@cisco.com> Signed-off-by: Matej Klotton <mklotton@cisco.com> Signed-off-by: Jan Gelety <jgelety@cisco.com> Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-10-26dpdk: remove support for dpdk 16.04Damjan Marion12-2664/+10
This also removes old DPDK vhost-user code which doesn't help much with DPDK 16.07 or newer. Change-Id: Ic996df1eaccc33acd3fa6cabeaf7381a672c2a90 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26dpdk: remove support for dpdk 2.2Damjan Marion3-68/+0
Change-Id: I2d1a7063f3776a9070e75a627beb5d0e45a67874 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26dpdk: remove KNI supportDamjan Marion5-228/+2
This code is outdated and without real use case Change-Id: I30628cc4ca293e5249aea3891173507cbfad8b61 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26Use only 24 bits for vni in lisp-gpe data packetsFlorin Coras2-3/+4
Change-Id: I5a8ff12dfa8d4d9f24275590ff8293e7eb7ffbb6 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-10-26python api - vla - allow the user to pass in a normal python listGabriel Ganne1-2/+11
Only add support for named variable-length-arrays as some api fo not follow the expected order of length preceding the value. Change-Id: I4c22c9b3c05f23edb3edc1cbc445be87b0a69162 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-10-25dpdk: remove dpdk_pmd_constructor_initDamjan Marion2-76/+1
This is not needed anymore, likely because we use --whole-archive parameter during linking. Change-Id: Iab0f2ec647b63c59663faceacfbc60aa4a4b84a6 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-25Improve equals generation for jvpp DTOsMarek Gradzki1-6/+7
Variable 'other' is no longer defined in equals method of DTOs without defined fileds. Fixes dead local store coverity issues. Change-Id: I69eddf2b4b3f433149ff4d49e49c46515572d61a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-25Improve JNI code generation (array truncation)Marek Gradzki1-9/+14
Fixes DEADCODE coverity issue: size_t max_size = 0; if (max_size != 0 && ...) Change-Id: I0e3ea4e4ddddb476519490c6f00208379089397c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-25Support IETF routing Yang models (VPP-503).Neale Ranns32-115/+765
Add support for special routes to send ICMP unreachable or admin prohibited. Change-Id: Ia1ac65b0e5e925c0f9ebc7824141833b4e18f05e Signed-off-by: Neale Ranns <nranns@cisco.com>
2016-10-25Update CSIT tests 161017 -> 161024Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test Change-Id: Icb36e5a68f6c1ef5edbc5159f2af3d255cecbdeb Signed-off-by: Jan <jgelety@cisco.com>
2016-10-25Add API call of sw_interface_set_mpls_enable to vpp_api_testJohn Lo2-0/+64
Change-Id: If0e98c111b3dfa38cb2c619dde4ddb3e52ee8dfa Signed-off-by: John Lo <loj@cisco.com>
2016-10-25Disable colored output for tests, when not ttyPeter Ginchev1-5/+14
Change-Id: I73f01bd3a8e7caa00c75b845b9e61d3cb0f34877 Signed-off-by: Peter Ginchev <pginchev@cisco.com>
2016-10-25Add generated python bindings to .gitignoreMarek Gradzki1-0/+5
Change-Id: I05b5955afa9fee5dd213a98126982626eae4d9ca Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-25Fix LISP src/dst based policyFilip Tehlar4-13/+259
Change-Id: Ibcc58ad50e33cd26367fd28f60334e29f45a094c Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-10-24Fix VXLAN tunnel delete crashJohn Lo1-2/+2
Change-Id: I610648f28b7504798da9e377ea099629aa7a5150 Signed-off-by: John Lo <loj@cisco.com>
2016-10-24Fix jvpp coverity issues #2Marek Gradzki12-277/+250
- synchronize AbstractFutureJvppInvoker.getRequests - handle registry & jvpp close in API usage examples Change-Id: I918bf864b8212fde04f0d9194037f1c6a810fc3f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-24vppinfra: clib_memcpy optimizationDamjan Marion3-14/+11
This patch allows copiler to select which SIMD instructions will be used for copying 16 and 32 byte block. Immediate effect of this change will occur in avx2 variants of graph node functions. So far 128 byte registers were used even in code optimized for avx2 due to macro nature of clib_memcpy. With this patch gcc should pick 256 byte registers in such cases. Change-Id: I3510ee9b3bf01f3f0a9184e1a3f8e1bd827f8eee Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-23Dual Loop Lookup and Adj-midchainNeale Ranns2-145/+534
Change-Id: Id78b6dc637626c01b64bd5868d22425a30318348 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2016-10-22VPP-504: Permissions Error on Centos Vagrant VPP VMBilly McFall1-1/+1
Change-Id: I5e63538e0ba2395fb13f99f0c7c2ca3123a34e59 Signed-off-by: Billy McFall <bmcfall@redhat.com>
2016-10-21Fix Coverity Errors in FIB. This is mainly consolidating the vnet_link_t and ↵Neale Ranns20-156/+122
fib_link_t enums into just vnet_link_t. Change-Id: Id2147afec1a28e95fec86dfd524088cd56563f63 Signed-off-by: Neale Ranns <nranns@cisco.com>
2016-10-21Quad-loop ip4_lookup_inline, add _x4 validate buffer enqueueDave Barach2-65/+201
Change-Id: I80a25fa90d8a65db619b8697cede2b98bed37cea Signed-off-by: Dave Barach <dave@barachs.net>
2016-10-21Pretty-print vl_api_api_get_first_msg_id_t msgsDave Barach1-1/+12
Change-Id: I380bef59d64c8c647a437026085dfa20b27727e1 Signed-off-by: Dave Barach <dave@barachs.net>
2016-10-21Java api generation for ioam trace pluginShwetha9-8/+321
Makefile, configure, jvpp changes follow snat plugin jvpp Fixes trace api handling for endianess Change-Id: Id5c950ed3c85d5e0dc28ba31b580987baa1b133f Signed-off-by: Shwetha <shwethab@cisco.com>
2016-10-21Candidate fix for race condition in building jvpp_common and jvpp_registryEd Warnicke1-0/+1
Change-Id: I244c4e02befc8c4d30915b219abe36ab03c4291d Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-20vppinfra: add 256-bit vector typedefsDamjan Marion1-0/+15
Change-Id: Ic07c1c25f5ad99225209c73b5ff4deb9c52f3b1e Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-19improve java build processKlement Sekera1-34/+24
Change-Id: Ia4c7503ee31fca74fa45da4ff883f3b80b42e85e Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-10-19Fix coverity issues in jvpp (newlines + CompletableDumpFuture.ctxId)Marek Gradzki11-31/+31
Change-Id: I2931982ac1ae64313a6ab781212793620af24585 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-18Deprecate MPLSoGRE tunnels (VPP-502)Neale Ranns18-2219/+903
Add shared memory APIs for MPLS routes and MPLS to IP prefix bindings. Change-Id: I85b074a4dadc8249c410fdabd8ea019d20479cf8 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2016-10-18DO_NOT_MERGE: Update CSIT tests 161002 -> 161017pmikus1-1/+1
- Update of CSIT operational branch with 16.04 Change-Id: I47346a5756e0944f29bee7760540912eb36081fa Signed-off-by: pmikus <pmikus@cisco.com>
2016-10-18Fix test target buildPeter Ginchev1-6/+10
Change-Id: Ib06b40292858f32df9c62e747808e0ef140bd9dd Signed-off-by: Peter Ginchev <pginchev@cisco.com>