summaryrefslogtreecommitdiffstats
path: root/vnet
AgeCommit message (Collapse)AuthorFilesLines
2016-09-14Add structure to some of the documentation; VPP-223Chris Luke2-2/+2
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-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-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-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 Luke25-80/+102
[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-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-385: Fix ARP for indirect adjacenciesFlorin Coras1-0/+16
Change-Id: I48cffb8acbd9e6655d7ec661ee8f7e0689b12a2d Signed-off-by: Florin Coras <fcoras@cisco.com>
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-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-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-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-25Fix issues with vhost-user when dpdk vhost-user is disabled, fixes VPP-347, ↵Damjan Marion4-9/+61
VPP-349 Change-Id: I774bab98e43d55678a67a7708ca50edbbd4cbb06 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-23VPP-342: Don't allow remote mapping to overwrite local or static mappingFilip Tehlar3-4/+21
Change-Id: I9888d7c087da538b81a6a1967edbdf1103cc095a Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 3cd9e730f9db0d998e5e8a27ddff1da5a123625b)
2016-08-17VPP-202: L2-GRE over IPSecv16.12-rc0Matus Fabian17-22/+1527
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-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-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>
2016-08-17Coding standards cleanup - remove trailing whitespace, fixes VPP-332Damjan Marion20-160/+160
Change-Id: I649a17f8fa47599faf438b2e596f53761790d10c Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-16Coding standards cleanup in vnet/vnet/devices/dpdk, partially fixes VPP-248Damjan Marion8-3635/+4146
Change-Id: Ie3ee4ccc126c5db9020779cbd06b0d1da99c8411 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-16VPP-330 Track pending map-requests with a fifoFlorin Coras2-9/+12
Change-Id: Icc64abb91047f756c955c880f6f85b26faef666a Signed-off-by: Florin Coras <fcoras@cisco.com>
2016-08-16VPP-258: Style change for l2tpCalvin6-693/+792
Change-Id: Ib456558974820d8d45114b2bbad014a3a3aa2d21 Signed-off-by: Calvin <calvin.ference@gmail.com> Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-16Fix coverity issues in DPDK code, fixes VPP-189Damjan Marion3-7/+18
Change-Id: Ie2ebb29451200158504bda8c616d57821edbd749 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-16Fix coverity issues in vhost-user code, fixes VPP-189Damjan Marion1-1/+4
Change-Id: Ief95aac5d4451f411dbed8050528708c0b1b7732 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-08-15VPP251 - Code style vnet/vnet/ethernetKeith Burns (alagalah)10-2034/+2330
Change-Id: I3e51ca70a8e1ac7f6584bc5b0271ee4daacc1084 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-15VPP-266: style change for vnet/vnet/osiCalvin4-103/+153
Change-Id: I6004a96f9f791fb9fbc961440c9988f7a3ca7db0 Signed-off-by: Calvin <calvin.ference@gmail.com>
2016-08-15Vhost-User: Fix calculate memory region sizeJianfeng Tan1-3/+3
The memory region size calculation is wrong. For example, a region with size of 1G (hugepage size is also 1G), and offset is zero, use the previous way to calculate, the ultimate size to mmap and munmap is 2G, which could lead to segment fault when munmap is executed. This patch refers the way in DPDK to calculate the region size. Change-Id: I6f35cde15e2402be0025c556c192b87a46bbf978 Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
2016-08-15VPP-257 Coding standards cleanup for vnet/vnet/l2Dave Barach33-5156/+6069
Change-Id: Iba5f33675bb2eb806e9becdc42b11da5d3932d55 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-15VPP-198: LISP map-resolver failover algorithmFilip Tehlar3-55/+413
Change-Id: Iadd49e58a359a2e58610bd1793818ec8a25d51f1 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
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>