summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-28Repair Doxygen build infrastructureChris Luke5-28/+48
After Gerrit 4430 much of the documentation failed to build, but silently so it was easily missed; equally missing that several paths have been missing for a while. - Correct paths after directory tree changes. - Doxygen now bails when input paths don't exist. - Fix up some of the less deranged entries in the documentation index. - Exclude the LUA tree, its documentation is a mess. Change-Id: I35e6b433feee5e05bca772d93aa1635c724db734 Signed-off-by: Chris Luke <chrisy@flirble.org>
2016-12-28test: fix paths after source code moveDamjan Marion2-4/+3
Change-Id: I3100260bb697f9af2f73ad3777e8b27069c5babe Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1056-1700/+920
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-26dpdk: Add support for Mellanox ConnectX-4 devicesDamjan Marion11-35/+96
Due to external library dependency support for Mellanox devices is disabled. To enable it uncoment following line: vpp_uses_dpdk_mlx5_pmd = yes in build-data/platforms/vpp.mk and install OFED libraries. Change-Id: I131d52b5d449a958349f31f9cc04311948f78b71 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-26vlib: Add support for PCI VPD parsingDamjan Marion2-5/+93
This allows better detection of various NICs, including the ones where different sub-models are sharing same PCI VID:PID. This change also extends output of "show pci" debug cli command. Change-Id: I06f78e8376307e88b0252a99c203c696437a6e35 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-23Make test support for the ipfix flow-per-pkt pluginDave Barach4-9/+289
Change-Id: I7a0d37fc2bc21dbbff1cea1b92dc24d43f971eec Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-23SNAT: fix 'show snat verbose' bug - format vector as %vMatus Fabian1-3/+3
Change-Id: Ia829da43a273c89dee47b32250ab032d992193cd Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-12-23make test: improve handling of packet capturesKlement Sekera19-271/+321
Perform accounting of expected packets based on created packet infos. Use this accounting info to automatically expect (and verify) the correct number of packets to be captured. Automatically retry the read of the capture file if scapy raises an exception while doing so to handle rare cases when capture file is read while only partially written during busy wait. Don't fail assert_nothing_captured if only junk packets arrived. Change-Id: I16ec2e9410ef510d313ec16b7e13c57d0b2a63f5 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-23Build vpp_api_test binary API debug CLI into vppDave Barach11-724/+1560
Change-Id: I60ce73a62d8632a644fbfdfbe13ff8ddbb959233 Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-23make test: add log.txtKlement Sekera2-8/+13
Always create a log.txt under test's temporary directory containing V=2 output for debugging purposes. Change-Id: If149c8126f42f80724ee17b63c411ddec6645f85 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-22api: save some typing when adding new api filesDamjan Marion2-173/+132
Change-Id: Ia994b723eafe8ab41c1c3031a7f7cd1853554128 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-22Add L2 flow-record generationDave Barach7-161/+881
Change-Id: I32a9513f2b66d35e0abe2aeb6eb86a4729ba7f74 Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-22API refactoring : lisp-gpePavel Kotucek8-232/+461
Change-Id: I47b38a9b5ae8ead2a161402974205982669851a7 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22API refactoring : lispPavel Kotucek7-2066/+2131
Change-Id: Ia1ebd03e5d55e5b20f244158366b9de15b1baae1 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22API refactoring : ipsec-grePavel Kotucek7-157/+283
Change-Id: I984c6f2c5aaeeef98aadd5a66159cac046a86586 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22API refactoring : ipsecPavel Kotucek7-890/+1008
Change-Id: Ice5bc725c619412e3b6cd1f56e225c6bf33104df Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-22SNAT: Remove the oldest translation fix (VPP-568)Matus Fabian4-8/+41
Fixed bug and add test. Change-Id: Ibe70dfc81e6c264223050d316cf6a2a3a0e1524e Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-12-22API refactoring : bfdPavel Kotucek7-355/+483
Change-Id: Ifbf9b491a1d3906fd4dd4256dcaba976511657be Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : l2tpPavel Kotucek7-280/+405
Change-Id: I30d2785ceaf304b245192f9bce60e37e9da69023 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : grePavel Kotucek7-145/+272
Change-Id: Idea10d6ba4139fdcb4f16300a06c2b30ef339b3c Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : vxlan-gpePavel Kotucek6-47/+325
Change-Id: Ia31de797e0ff79ceff010b496af30f5196de9fd6 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : vhost_userPavel Kotucek7-275/+398
Change-Id: I8813d5500973079d582e0bb5f8c2052f8f31c5c7 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : netmapPavel Kotucek7-98/+222
Change-Id: I0e1ba784b09c00d2ae5ea51128dcba09d06f8766 Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : af_packetPavel Kotucek7-103/+228
Change-Id: Id912ca655583a419b52d4904d6c54dac1f1b26ac Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21API refactoring : vxlanPavel Kotucek6-72/+348
Change-Id: Ied105d738ba3625086359b267db0390be842b7bc Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
2016-12-21Bump to 17.04 releasev17.04-rc0Damjan Marion5-5/+10
Change-Id: I94078dbb35491b4fa36f3a1d60e0ab82b542ebd9 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-21VPP-470: Introduce VxLAN-GPE as transport for iOAM.Vengada Govindan11-57/+926
This is the second of the two commits. This commit introduces VxLAN-GPE transit functionality. Change-Id: I12f13e00f456df0047f2b7a0737addfeb683c420 Signed-off-by: Vengada Govindan <venggovi@cisco.com>
2016-12-21Support multiple VXLAN tunnels with same mcast dstEyal Bari2-74/+121
Support multiple vni's with the same group(multicast) address. Implemented by sharing local adj. and rewrite among tunnels. Change-Id: I8ca036b87af65dd6a8f1aff7da1855f72b4c8f4b Signed-off-by: Eyal Bari <ebari@cisco.com>
2016-12-21Fix coverity issuesMarek Gradzki2-6/+8
Change-Id: I7707a42321df2c73e5414926d4000f8672ecfaf3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-21fix 'show trace' bug - format vector as %vKlement Sekera1-1/+1
Change-Id: I1b5e633b92674c6c7118eaa6ff7be3d824a186c3 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-21Add missing variable definitions to java VPP APIMarek Gradzki1-0/+4
Change-Id: I121b26f4d566417e7cb5ee1a021896dd7dc5599e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-21vagrant: Fixing sudo related vagrant errorsRay Kinsella2-6/+9
The dpkg sudo trigger appears to want to run interactively despite the noninteractive debconf setting. This is a problem upstream for vagrant also, see. https://github.com/hashicorp/terraform/issues/9763 Incorporating the recommended fix to Vagrantfile from upstream https://github.com/hashicorp/terraform/pull/9783 Change-Id: I8da8522fc9e80fc3bd268b347a786054ad019170 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-12-21Python API: Incorrect error for empty VLA list.Ole Troan2-4/+11
Change-Id: Ie3e9a54ca23af6b9ee43615f59a48cb05e3906d4 Signed-off-by: Ole Troan <ot@cisco.com>
2016-12-21vagrant: updated Vagrantfile to use rsyncRay Kinsella2-58/+16
Replacing problematic nfs & git clone, with a simplier rsync. Change-Id: I26a95bd81b7fbf6ea0179cd62361e0902f2d22ed Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-12-21aarch64 compatibilityChristophe Fontaine8-10/+100
- lb plugin: compatibility for non x86 platforms. - Add vector_neon.h to support simd instructions, especially 'u16x8_zero_byte_mask' used in "vnet/vnet/ip/ip4_source_and_port_range_check.c" Change-Id: I395546b0e2d5748e73daffa51269a200ef8d1235 Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
2016-12-21classify: add simple mechanism for automatic flow creation (VPP-338)Juraj Sloboda1-23/+5
VPP-338 Support wildcards in IPFIX flow configuration Change-Id: Ie5ab4f89d70153c3b15fc6bd8d97fa383ee842d9 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-12-21fix sample-plugin rpm packagingGabriel Ganne1-2/+2
Change-Id: I0f4d029fe16d1d272c8bbd5c380ba70a646ddb20 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-12-21make test: Add classifier - ip/mac/pbr casesSteve Shin2-0/+440
Change-Id: I9cdf022a48b2b63e7ce07f4f5322ffda28c08ff0 Signed-off-by: Steve Shin <jonshin@cisco.com>
2016-12-20Always set start_of_ethernet_header in ethernet-input speed pathJohn Lo1-6/+10
The speed path of ethernet-input node is setting the packet context field start_of_ethernet_header for L2 only. This is also needed for L3 path because of IPv4 ARP processing which need to know the start of ethernet header of the incoming ARP packet. Change-Id: I98ee88c482f8536e4fccc0b8afcb8811d63f4435 Signed-off-by: John Lo <loj@cisco.com>
2016-12-20Decouple dependencies/assumptions in MAC changeNeale Ranns7-21/+35
Change-Id: Ic38d0e468da1ad5b56eefda471a5961146a1c372 Signed-off-by: Neale Ranns <nranns@cisco.com>
2016-12-20VPP-525: multi-thread case binary API post-mortem dump AWOLDave Barach1-6/+9
root cause: blocking all signals in worker threads Change-Id: Ife0a5f04be0648fab84e493f203e79ba94890052 Signed-off-by: Dave Barach <dave@barachs.net>
2016-12-20dpdk: fix advance header for ip4-no-checksumSergio Gonzalez Monroy1-0/+1
Fixes: 78eeef747b19 ("Improve dpdk-input node to handle drivers not setting mbuf PTYPE") Change-Id: I94addcec2bf3097ab047e8d7e957bc983eab9add Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2016-12-20Remove RPATH from binaries before creating .deb and .rpm packagesDamjan Marion5-4/+34
Change-Id: I684d4eabac03e049524204864c985e14eea8d92e Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-20Add missing variable definitions to python VPP APIJuraj Sloboda1-0/+3
Change-Id: I03eee75fb8575ced6f126fa32c778850a570f0ea Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-12-20Improve dpdk-input node to handle drivers not setting mbuf PTYPEJohn Lo5-48/+111
For drivers that do not provide dpdk rte_mbuf PTYPE information, check ethernet header Etype to acccelerate IP4 and IP6 forwarding path. Update packet trace for dpdk-input node to provide more info from DPDK rte_mbuf offload flags and packet types. Change-Id: I207158797a155305314d002726c0af97b8cb0eb3 Signed-off-by: John Lo <loj@cisco.com>
2016-12-20Declare variables as externalDamjan Marion14-13/+31
non-external declarations in header files are generating multiple empty definitions of the same symbol. Change-Id: I7f3933404f79d08579468d0052c106731b57507c Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-19l2input: remove unused code and reduce number of branchesDamjan Marion1-44/+18
Change-Id: Ic37b5740285dc0020b9fdb0d8c98bc304cee7aa8 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-19make test: work around timing issue in bfd testKlement Sekera1-1/+1
Change-Id: I3f70091950b9288670969e54eadd35ac733905e4 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-19snat: fix port allocationMatus Fabian1-12/+21
Change-Id: Id6aeb4d19476934dfaa354562aa1703650bd037f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2016-12-19Python API: Add back support for old-style VLA, e.g. mask[0]Ole Troan3-51/+144
Change-Id: I5be6bfe522e5ea93934f0ddf75d4e4707376dc0c Signed-off-by: Ole Troan <ot@cisco.com>