aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-08-09DPDK: adding patch to init ptype in vmxnet3, e1000 and virtio PMDsRay1-0/+70
Ensure the packet_type is reset before the buffer is used. This can cause packets to be mishandled in systems with more than one type of driver in use. Change-Id: I14ef9bd6be834d66d19bae36122b648450a9f7e6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com> Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
2016-08-09VPP-189 Fix Coverity warningsDave Barach7-294/+20
Remove a bunch of historical SMP code that we're not using; clean up coverity warnings as a side-effect. Change-Id: Ic80d2f87c7fd4e654078cac23ad5ec287a1d7ffe Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-08VPP-239 Tag packets that hit LISP negative adjacenciesFlorin Coras2-75/+127
Change-Id: I88eaf23791d0a148513cc32262cd79a7f4e25d1f Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-08VPP-189 Fix new Coverity warningsFlorin Coras1-14/+38
Change-Id: I2a580320118d9ab638d9ac0986544ebad8d50e67 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-08VPP-189 Clean up more coverity warningsDave Barach13-45/+39
Change-Id: If66713d79c545c762c385faf08cc809347741152 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-08VPP-263 - Coding standards cleanup - vnet/vnet/mapKeith Burns (alagalah)6-3642/+5035
Change-Id: I401124320a21e30b5cdf3684d36890e51a2fcb6c Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-08VPP-311 Coding standards cleanup for vnet/vnet/*.[ch]Dave Barach23-2642/+3185
Change-Id: I08ed983f594072bc8c72202e77205a7789eea599 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-08Update CSIT tests 160731 -> 160807Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test Change-Id: If21641bfa958f06a61e5b3534ed1fe809de4eca3 Signed-off-by: Jan <jgelety@cisco.com>
2016-08-08DPDK: adding patch to revert ptype change to ixgbe vpmdRay1-0/+133
Commit d9a2009a81089093645fea2e04b51dd37edf3e6f on DPDK.org, reverted the ptype functionality from the ixgbe vPMD. Reverting this change pending a deeper analysis. Change-Id: I2515f3d700b2a4922495ba9e63f202d679543d01 Signed-off-by: Ray <ray.kinsella@intel.com>
2016-08-07VPP-243 - Coding style changes - updated emacs LISP styleifyKeith Burns (alagalah)1-0/+4
Change-Id: I46ae6badcccd14c0e34f1a19187749980baba3ac Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-07VPP-303 vnet/vnet/sr docsKeith Burns (alagalah)2-2/+60
Change-Id: I66eff733dff5e7eb2fa429dcdbb2b6b82423d25c Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-07VPP-244 - Coding style cleanup vnet/vnet/srKeith Burns (alagalah)4-1452/+1558
Change-Id: Ibbbaeacf9816ee0e7847cd53b45f9db48bddc85b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-07VPP-241: Add custom dump functions for LISPFilip Tehlar1-1/+365
Change-Id: I4ad86190b8f23a992a00f536492ba4f8caefeb43 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-06Add DPDK definition to DOXYGENKeith Burns (alagalah)1-2/+3
Change-Id: I04e8663b49b5f706940b7aada0a7c2cae913a82b Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-06VPP-242: Fix wrong checking of LISP Proxy-ITR modeFilip Tehlar1-1/+1
Change-Id: I89c9e52ecf0d053a278a78e57c9e589798b4cb7f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-05VPP-237 Coding standards cleanupDave Barach22-12405/+13768
Change-Id: I239143f920285050ad85244ece6893236195534f Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-05VPP-223 Document vppinfra/bitmap.hDave Barach1-38/+210
Change-Id: I259a5b716bd8a7abdb0e6bf778432f034338ffdc Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-05vpp-189 Clean up more coverity warningsDave Barach23-64/+102
Time to make the donuts Change-Id: I528937800f7daefce19723dda0216e58d857942c Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-05VPP-189 Clean up more coverity warningsDave Barach5-6/+54
Change-Id: I1b971ab326dc334a4743fd7d4184cef106b0523d Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-04VPP-197: LISP Source/Dest control plane supportFilip Tehlar4-93/+623
Change-Id: I0db53af96b925ec0d975dd77f471804b61351aec Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-04Update coding style for hash_foreach_memKeith Burns (alagalah)1-0/+4
Change-Id: I2f336331463cedb2703150b003761e5c6e4431e8 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-04VPP-237 vpp-api-test coding style cleanupDave Barach10-10214/+11709
Change-Id: I50a5412463e9346149a7504344a68c8b5762dc97 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-04ENIC driver patch for PKT_RX_VLAN_PKT packet flag backward compatibilityJohn Lo1-0/+42
The PKT_RX_VLAN_PKT flag will be totally obsolete by 16.11. We still need this ENIC driver patch for 16.07. Change-Id: I287035525d2d1b5313e88e9e74b6310536de2c32 Signed-off-by: John Lo <loj@cisco.com>
2016-08-04LISP multihoming API changes and cleanupFlorin Coras9-161/+205
Change-Id: I106352a6da0fad2b91dc8593f8d6d664af3113a8 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-03VPP-166 Documentation changes for ip4_forward.cKeith Burns (alagalah)1-4/+23
Change-Id: Ia9f80bea9ca8a94430ed37ececbe4434f9f5ad48 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-03VPP-226 - adding UDP TCP to port-rangeKeith Burns (alagalah)6-409/+606
Change-Id: I5f4261279dcdbb03e182b18d05602407c0e55f89 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-03VPP-166 Documentation changes for ip4.h/lookup.hKeith Burns (alagalah)2-41/+47
Change-Id: Ia9f18b0eeba3a7cee35e66dbd15d3efb567acfc6 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-03VPP-180 Clean up multi-socket / multi-chunk mempool discoveryDave Barach5-9/+76
Change the default DPDK version to 16.07, and rename the indicated patch directory. Use the native vhost-user driver. Change-Id: Ie3d17e90e363ce86f0233b58c152de683b5d9456 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-03LISP API/VAT cleanupFlorin Coras6-408/+298
- cleaned up some of the LISP APIs - added support for mac in dp APIs Change-Id: I11d419a30d73ddbf6554768d6dc2a09cc5a6e072 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-03VPP-233: disallow array[0] in reply messagesMarek Gradzki2-4/+9
- updates jvpp generator to raise exception if array[0] is present in reply/detail/counter message - fixes vpe.api reply/detail/counter messages that use incorrect variable array syntax. Additional info: Variable arrays in reply/detail/counter messages needs to have lenght defined in other variable within the message. The other variable can have any name, so it is impossible to generate Java/Python code handling. New syntax introduced by https://gerrit.fd.io/r/#/c/1617/ fixes the problem: u32 some_var; XX array[some_var]; Change-Id: I0af50f1ef1d94d95b56d9326d4e944e72b4edcdd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-02API support for src/dst based routing policy in LISPFilip Tehlar2-32/+22
Change-Id: I0ae90f884378acabeda310a6431c89f3ec195d0e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-02VPP-229: fix NPE in JNI array handlingMarek Gradzki1-4/+4
Change-Id: Ieb5182a7a3612e09bd2b28eb6a4abbdb4d29d34b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-02Fix for broken vagrant installs when using Vagrant 1.8.5.Thomas F Herbert1-0/+1
I upgraded Fedora23 which installed kernel 4.6.4 which in turn required VirtualBox 5.1.2 which in turn required Vagrant 1.8.5. Workaround for a change in Vagrant 1.8.5 that breaks Centos. The newer version of Vagrant doesn't chmod the ssh directory before trying to copy new public key during installs. This will be fixed upstream in Vagrant 1.8.6. Bug doesn't affect Ubuntu because it uses a different umask whereas Centos uses 0002. Change-Id: I8108d4cc208fc47fa69f8a5cf27b2bba7e34293e Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-08-02VPP: Fixed dpdk-16.07 BAD checksum errorSachin1-1/+1
- Updated tarball name and checksum value Change-Id: If06581285e506859bd1edb516b690e963c7de5d0 Signed-off-by: Sachin <sachin.saxena@nxp.com>
2016-08-01VPP-226 IPv4 src-address + port range checkerDave Barach14-84/+1561
Change-Id: Ia251e9d7d53e894a5666109f69e9626d27ea74cb Signed-off-by: Dave Barach <dave@barachs.net> Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-01Fix new LISP Coverity warningsFlorin Coras3-24/+11
Change-Id: I60ef5218110e596f77d11e3949284a7a7af7dedb Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-01Update CSIT test 160727 -> 160731Jan1-1/+1
- update of CSIT operational branch to be user for VPP-patch test Change-Id: I4c5200fbf0fcdc2f8fef2913a9b9a5981a6ecec1 Signed-off-by: Jan <jgelety@cisco.com>
2016-08-01Jvpp: add handling for mising unsigned array typesMarek Gradzki1-4/+34
Change-Id: I239082622ceabdd1d0a7b6b6489a2789096a01fc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-31Initial L2 LISP supportFlorin Coras18-317/+1086
This introduces support for layer 2 overlays with LISP. Similarly to L3, all tenant packets to be encapsulated are captured by an interface, but the mapping (layer binding) instead of being between an L3 VRF and a LISP VNI, it is between and an L2 bridge domain and a VNI. At a high level, this results in two important properties: 1) the source and destinations of all packets flooded in the bridge-domain are mapped via the LISP control plane and the replies are converted into data-plane tunnels tracked via a LISP specific source/dest L2 FIB 2) All packets reaching the interface and matching a source/dest L2 LISP FIB entry are L3 (IP4/6) encapsulated. This is solely a unicast feature, therefore at this time ARPs are not handled in any special way. Change-Id: I0b7badcd7c6d5166db07d4acd2cc4ae7fba3e18e Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-07-30Addition of u16[] to JVPP generatorKeith Burns (alagalah)1-0/+15
Change-Id: I8d746cfae4d64ae200ff0053de23b80ee951c290 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-07-30VPP-189: Fix another batch of coverity warningsDave Barach4-4/+4
Change-Id: I2b13894cca950ddb6732714f3acc180443552b5f Signed-off-by: Dave Barach <dave@barachs.net>
2016-07-30Remove per-worker destination frame queueDamjan Marion3-12/+0
This frame queue is not part of the dpdk code anymore, so it can be removed. It will save some space in the 1st cacelineof dpdk device data struct. Change-Id: If839861961548750601400a511a609be7ae84b30 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-07-29enic: fix bug introduced with scatter rxShesha Sreenivasamurthy1-0/+24
Author: Nelson Escobar <neescoba@cisco.com> Date: Mon Jun 13 17:24:41 2016 -0700 We did not properly set the rq pointers we pass up to dpdk when rx scatter was introduced. This resulted in segfaults whenever more than one rq was being used. Change-Id: I77a9793ea9035baa1ada77d3af7bc83baf58d097 Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-07-29LISP - fix bug in ip_prefix_normalize_ip6Andrej Kozemcak1-41/+57
- fix bug - refactoring code Change-Id: I2c330f3fbdead567b65c889cfffc2562d99b61db Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-29plugins/vcgn-plugin: Fix vpp hang with pthread spinlockMichael Qiu1-8/+12
Currently, pthread spinlock is initialized in macro ASSERT, thus the spinlock only will be initialized when CLIB_ASSERT_ENABLE is true. But CLIB_ASSERT_ENABLE depends on CLIB_DEBUG been set. Mostly, CLIB_DEBUG is zero, so spinlock will never been initialized, which will lead vpp hang when try to hold the lock. This patch fix this issue. Change-Id: If01982b5df849834ccbc705f8e9291f2b6c32d0a Signed-off-by: Michael Qiu <qiudayu@chinac.com>
2016-07-29plugin/vcgn:Remove local defined ip4_interface_first_addressMichael Qiu1-19/+1
Function ip4_interface_first_address has been defined in vnet/ip/ip4.h, and result an compile issue. CC vcgn/cnat_ipv4_icmp_error_outside_input.lo CC vcgn/cnat_logging.lo vcgn/cnat_logging.c:361:1: error: conflicting types for 'ip4_interface_first_address' ip4_interface_first_address (ip4_main_t * im, u32 sw_if_index) ^ In file included from /usr/include/vnet/ip/ip.h:57:0, from vcgn/cnat_logging.c:24: /usr/include/vnet/ip/ip4.h:390:1: note: previous declaration of 'ip4_interface_first_address' was here ip4_interface_first_address (ip4_main_t * im, u32 sw_if_index, ^ make: *** [vcgn/cnat_logging.lo] Error 1 Change-Id: I1165c9bb778263c195ed34ab438dcb27dfd207bc Signed-off-by: Michael Qiu <qiudayu@chinac.com>
2016-07-29VPP-142 Follow up fix for shared_count of indirect adjacenciesJohn Lo2-16/+0
Clean up dead code path added in previous attempt. Change-Id: Ib95b07bfd7699496f6808da97200993e2104d796 Signed-off-by: John Lo <loj@cisco.com>
2016-07-28VPP-189 More coverity bug fixesDave Barach5-9/+14
Change-Id: I6e9290b26b1e74fc5652b689c8d5cc2972ac11d5 Signed-off-by: Dave Barach <dave@barachs.net>
2016-07-28VPP-223 Bounded-index extensible hash documentationDave Barach4-2/+166
Change-Id: If162252062014dbd8ef44f7f10649d54d9a288b0 Signed-off-by: Dave Barach <dave@barachs.net>
2016-07-28Add IP adjacency registration functionPierre Pfister3-9/+115
Given that it is possible and easy to add dynamic IP adjacencies, it might be helpful to have an explicit call to do so. This way, additional information such as how to display the adjacency can be provided at the same time. Change-Id: I5c735ae45ed763560352f637e3462f2931dc97d9 Signed-off-by: Pierre Pfister <ppfister@cisco.com>