aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
AgeCommit message (Collapse)AuthorFilesLines
2016-08-12VPP-237: indent fixes in prep for checkstyleEd Warnicke10-80/+68
Ran indent *twice* Change-Id: If9c18b81983bb859cc8dc3b415c67cbf318fc618 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-12VPP-189 fix more coverity warningsDave Barach4-9/+16
Change-Id: If464a5f06ab15eead9eaf12e89792d3761796956 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-11Coverty error: Incorrect expression (PW.ASSIGN_WHERE_COMPARE_MEANT)Ole Troan1-6/+13
While the code is correct (assignment was intended) I have rewritten it for readability. Change-Id: I5f6fd7d7377c3904e74de4edfd478322a75af612 Signed-off-by: Ole Troan <ot@cisco.com>
2016-08-11Custom adjacency formatting fix (Revived)Pierre Pfister1-8/+23
Looks like something strange is going on with indentation. Change-Id: I8e734a2119a4a744d7ce76ce83ecc7b237828d3b Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-08-11VPP-130: MagLev-like Load BalancerPierre Pfister1-1/+2
This plugin provides load balancing for VPP in a way that is largely inspired from Google's MagLev: http://research.google.com/pubs/pub44824.html More info in the README.md Change-Id: I1223f495d5c2d5200808a398504119f2830337e9 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-08-11VPP-196 LISP L2/L3 tunnel multihomingFlorin Coras7-113/+407
Change-Id: If96d9ff23a7aacdb684494f854d4029f55837065 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-10VPP-189 Fix coverity warningsDave Barach7-23/+51
Change-Id: Iea6d338e60a95f7f30c10c2e751d4827e816f700 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-10VPP-315: Fix "show vxlan-gpe" issueHongjun Ni1-2/+2
Change-Id: If721d3b701a7182e595ece1294c2767981d29d3e Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-09VPP-314: Vxlan wrong name of decap nodeJohn Lo1-2/+4
Fix VXLAN decap node counter update using the correct node index. Change-Id: Iebfd2bfd97747bc6d0758f4c5829e23ef9899d74 Signed-off-by: John Lo <loj@cisco.com>
2016-08-09VPP-245 Coding standards cleanup for vnet/vnet/cdpDave Barach5-788/+878
Change-Id: I5253c52eace4b635f7791aa019ab01ec55d7fb4d Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-09Revert "Custom adjacency formatting fix"Keith Burns1-9/+8
This reverts commit ffc7ecace8304217104a5eade163aff5f8903935. Change-Id: I32784a3e7ddf57abb9d70aa1e06884f028d78397 Signed-off-by: Keith Burns <alagalah@gmail.com>
2016-08-09Custom adjacency formatting fixPierre Pfister1-8/+9
Looks like something strange is going on with indentation. Change-Id: I1522caffa3a8a5e3aa00e1169b7469facc505a8d Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-08-09VPP-256 - Coding style cleanup vnet/vnet/ipsecKeith Burns (alagalah)19-4169/+4694
Change-Id: Ie9e05e2c74e7843a937870e2c64db0499f03a6a4 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-09Rename flow_report_sample.c/.h filesJuraj Sloboda3-27/+27
Change-Id: I1f82e74977de8879dec9859275afc791f0a55606 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-08-09VPP-189 - Coverity OVERRUN error in port-rangeKeith Burns (alagalah)2-579/+647
Change-Id: Ib9f43dffa9d04478d92063b71dd7bef4ac6969f1 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
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 Clean up more coverity warningsDave Barach5-10/+14
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 Barach22-2642/+3177
Change-Id: I08ed983f594072bc8c72202e77205a7789eea599 Signed-off-by: Dave Barach <dave@barachs.net>
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-05vpp-189 Clean up more coverity warningsDave Barach12-24/+36
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 Barach2-4/+26
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-04LISP multihoming API changes and cleanupFlorin Coras6-141/+155
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)2-356/+510
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-03LISP API/VAT cleanupFlorin Coras3-0/+10
- 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-02API support for src/dst based routing policy in LISPFilip Tehlar1-30/+15
Change-Id: I0ae90f884378acabeda310a6431c89f3ec195d0e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-01VPP-226 IPv4 src-address + port range checkerDave Barach10-78/+1144
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-07-31Initial L2 LISP supportFlorin Coras15-306/+1070
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-30VPP-189: Fix another batch of coverity warningsDave Barach3-3/+3
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-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-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-28Add IP adjacency registration functionPierre Pfister2-4/+98
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>
2016-07-28Edit eid table dumpAndrej Kozemcak1-8/+30
- change output from eid table - add eid filter: all - dump all eid local - dump local eid remote - dump remote eid Change-Id: Ifaaad8abf44cf70c4c22d05252e501456f1f1083 Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-28LISP - Bug fix, can`t remove static remote mappingAndrej Kozemcak3-64/+112
Fix bug, can`t remove static remote mapping, small update in LISP remote mapping API. Change-Id: Ide32485a1a0d2cf08829d544500fa2755214b8cc Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-27VPP-189 coverity warning cleanupsDave Barach1-1/+1
Change-Id: Ia4fbf4352119504e022b89d10d44a5259d94f316 Signed-off-by: Dave Barach <dave@barachs.net>
2016-07-27Vhost-User: Fix bind sockaddr lengthPierre Pfister2-12/+12
The sockaddr length argument provided to bind was wrong. This patch also adds an error message in the CLI when the vhost-user add function fails. Change-Id: Ib4466accffe49c8c3f4951ebf3a83a24529f6a5b Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-07-27VAT add_locator_set api support multiple locatorsAndrej Kozemcak1-3/+10
Change-Id: I22df3d4407bd7fdd953783f00605380a2d6fb46e Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
2016-07-26VPP-214: IPSec cli/api vector ck and ik initializationMatus Fabian1-2/+2
Change-Id: I34e19d1feb350c47987b9764b642ef9baa000581 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-07-26VPP-223 General documentation updatesChris Luke1-3/+3
Per the TWS session... - Some simple treatment of the contents of pool.h - Changing some \brief commands to @brief. (will do a more complete pass at this later.) Change-Id: I050ee69c59c4b572ac295b5f86940b7f4c934cd9 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-07-26policer classifyMatus Fabian16-44/+884
JIRA: VPP-114 If the classifier finds a matching entry, it sends packet to the policer, packet should be pre-colored for color-aware policers. Change-Id: I10cb53b49907137769418f230df2cab577d0f3a0 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-07-26Fix Coverty warning in lisp_add_del_map_resolver_command_fnFlorin Coras1-2/+9
Change-Id: I074d9e026ae42aa14caedc56287816ab64968425 Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-07-25VPP-142 - Follow up fix for shared_count in indirect adjacenciesJohn Lo2-4/+11
Change-Id: Ia2d0351ffd40c75cbf9611e00a7e111189ad70b5 Signed-off-by: John Lo <loj@cisco.com>
2016-07-22Add DPDK 16.07 support (rc3 based)Damjan Marion7-10/+78
DPDK vhost-user support is disabled due to significan changes in the DPDK vhost-user code which are not compatible with current VPP code. Change-Id: I3f0d28cb75f6370282ec7e33d57cbfb77e1a3ce1 Signed-off-by: Damjan Marion <damarion@cisco.com>