aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22Raw export of IP6 packet with iOAM metadataShwetha12-124/+1735
- is enabled on iOAM pop nodes with "set ioam export ipfix collector" - ioam_export_node Hooks into vlib graph b/n ip6-hop-by-hop node and ip6-pop-hop-by-hop node - A buffer per worker thread is created for collecting packet data to be exported - ioam_export_node exports first 3 cachelines by collecting it in a MTU sized frame, slaps on ipfix header for export - ioam_export_thread process node - checks for unsent record buffers for longer than 20 seconds and exports it - Added dual loop and prefetch in add, hop-by-hop and pop functions To be done: - IPfix template - Multi collector distribution of ipfix packets - Port to be configurable Change-Id: I959b4253036551382562bdaf10a83fd6f2f1c88b Signed-off-by: Shwetha <shwethab@cisco.com>
2016-08-22Update CSIT tests 160815 -> 160821Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test Change-Id: I4791551fa0b161ac0347d992bcda4bc1fb8c74d2 Signed-off-by: Jan <jgelety@cisco.com>
2016-08-19VPP-337 Add per interface IN filteringDave Barach24-200/+684
- ip post-rewrite feature subgraph arc support Change-Id: Ia4b07197463021ade916326231af246e2559a290 Signed-off-by: Dave Barach <dave@barachs.net> Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-08-19vhost-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>
2016-08-18tuntap_rx modification to handle jumbo packets ( > 2K bytes)Steve Shin1-4/+13
Change-Id: Iebe30b87457741ac268b24c96fa7ea8ad1e101a6 Signed-off-by: Steve Shin <jonshin@cisco.com>
2016-08-17Bump of JVPP version for new MASTER.Keith Burns (alagalah)1-1/+1
Change-Id: If03efcea871641e33fa079d3c1c308dc8e23cdcc Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
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>
2016-08-17Coding standards cleanup - remove trailing whitespace, fixes VPP-332Damjan Marion24-171/+175
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-205: jvpp plugin support.Marek Gradzki57-1313/+2153
Splits jvpp into two jars jvpp-registry.jar - base jvpp functionality jvpp-core.jar - Java wrapper for vpe.api Plugins can be generated the same way jvpp-core.jar is. Example (nsh): https://gerrit.fd.io/r/#/c/2118/ Change-Id: I2254f90b2c3e423563bb91bf70877979f1e90a7d Signed-off-by: Marek Gradzki <mgradzki@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-16Create python package for jvpp generation.Ed Warnicke12-38/+55
Change-Id: I2254f90b2c3e423563bb91bf70877979f1e86a6b Signed-off-by: Ed Warnicke <eaw@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@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-15Update CSIT tests 160807 -> 160815Jan1-1/+1
- update of CSIT operational branch to be used for VPP-patch test Change-Id: Ia9cb275d9471f3c25a02f943d0ace65aec425f8d Signed-off-by: Jan <jgelety@cisco.com>
2016-08-15VPP-257 Coding standards cleanup for vnet/vnet/l2Dave Barach34-5160/+6073
Change-Id: Iba5f33675bb2eb806e9becdc42b11da5d3932d55 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-15VPP-198: LISP map-resolver failover algorithmFilip Tehlar4-60/+417
Change-Id: Iadd49e58a359a2e58610bd1793818ec8a25d51f1 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-15VPP-327 Coding standards cleanup for vppinfraDave Barach154-8448/+11293
Fix additional a few additional deviations reported elsewhere by checkstyle Change-Id: I026a8ae1c5b1856bbe3c4a555e1b690e7501b045 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-15VPP-236 Support 64-bit vector lengths, shared memory segments >4 GBDave Barach13-76/+264
Change-Id: I02aee33e96e7ae32094b9f82f6a667d30bb52f59 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-15VPP-189 Fix another batch of coverity warningsDave Barach4-6/+6
Change-Id: I1d56bc9377db161ae9226e2b2da7c1916c8d1c3b Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-12VPP-237: Checkstyle script to check for new checkstyle breakageEd Warnicke2-0/+76
indent is... cantankerous It sometimes happens that if you run indent A resulting in A' and then indent A' you get back A. Since the check here is premised on being able to run indent and not see any changed... we have to run it twice to be sure. Change-Id: I5b73e02f5996d8a01ec2e46741affbc6d62da6c9 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-12VPP-237: indent fixes in prep for checkstyleEd Warnicke29-350/+373
Ran indent *twice* Change-Id: If9c18b81983bb859cc8dc3b415c67cbf318fc618 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-12VPP-237: Bracket VL_API_PACKED(...) macros, which indent manglesEd Warnicke1-0/+3
Change-Id: I208be749350ddb093ecfae149d420f580846c52a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-12Bracket CLIB_PACKED(...) macros, which indent manglesDave Barach1-0/+4
Change-Id: I39722d7b778e6e0dc5a2d12d005c102845159116 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-12VPP-189 fix more coverity warningsDave Barach7-115/+96
Change-Id: If464a5f06ab15eead9eaf12e89792d3761796956 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-12VPP-223 Add doxygen tags to counter.hDave Barach1-58/+118
Change-Id: Ifddf37db04b2ecfa7b470cd52e8eaa2211823f3d Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-12VPP-321: Fix filtering in LISP EID dump callFilip Tehlar1-2/+2
Change-Id: Ide5d461cf324c0d9010f20732748d9c71cf6f02e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-12VPP: NXP dpaa2 platform porting to dpdk-16.07Sachin2-7/+40113
This patch will temporary add the "dpaa2" driver support in VPP in-built DPDK v16.07 Change-Id: Ieb7005c73bdb72e5eac88e17c21474479ad087f0 Signed-off-by: Sachin <sachin.saxena@nxp.com>
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-11VPP-319: Fix handling of ERANGE from getgrnam_rEd Warnicke1-4/+16
Change-Id: I1c5b3ed678622a0352fb881f2236a514743f3c50 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-11Don't re-add *INDENT-OFF* ... *INDENT-ON* tagsDave Barach1-24/+58
Change-Id: Ifd2249c0152805e7b23c4629acce31634dca6f04 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-11VPP-130: LoadBal: Add lookup bypass and fix adjacency format functionPierre Pfister4-5/+125
Change-Id: Ib83c6ba04c41dbb80603c6a08c324d71eb44a102 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-08-11Custom adjacency formatting fix (Revived)Pierre Pfister2-11/+26
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 Pfister18-1/+2870
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-11VPP-321: Fix wrong checking of LISP mapping local flagFilip Tehlar1-20/+14
Change-Id: Ia1d5a53742a5ebe34566de0a68c2d0a81e002ffa Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2016-08-11Rename DPDK-16.07 patch file from 0007... to 0008... to avoid conflictJohn Lo1-0/+0
There are now two 0007... patch files. So renaming one to 0008... Change-Id: I82ab883db3436b1fce6b169065b257df052fe63c Signed-off-by: John Lo <loj@cisco.com>
2016-08-11VPP-223 Document vlib cooperative multi-tasking threadsDave Barach2-2/+173
Change-Id: I283963b004ed6d91133e7e36811f75834280bbe7 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-10VPP-189 Fix coverity warningsDave Barach10-26/+55
Change-Id: Iea6d338e60a95f7f30c10c2e751d4827e816f700 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-10VPP-189 Fix coverity warningsDave Barach1-31/+47
in api_format.c. Change-Id: Iedc510fe962b6e8fb8614be4038e695b13e12ef9 Signed-off-by: Dave Barach <dave@barachs.net>