Damjan Marion [Mon, 16 Jan 2017 20:29:39 +0000 (21:29 +0100)]
dpdk: register rte_delay_us callback from vnet
Change-Id: Ibf7fc9a54d3fbee431b4814fa8abc5ba29ed9eef
Signed-off-by: Damjan Marion <damarion@cisco.com>
Filip Tehlar [Mon, 2 Jan 2017 09:22:56 +0000 (10:22 +0100)]
LISP: Enhance IPx offset computing
Change-Id: I0ccb0db73bcf4e2a282cabd4ebbe49599fa8ee7c
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Damjan Marion [Mon, 16 Jan 2017 13:00:03 +0000 (14:00 +0100)]
Define more dependencies between libs
Change-Id: Ia74699bad15c1c583571944458fc8a5c3ded574b
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Mon, 16 Jan 2017 15:19:38 +0000 (16:19 +0100)]
Add 'make test' to verify job
Change-Id: Iaab9c1a1c691a613d25ea28a22ac5db5943d8892
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Sun, 15 Jan 2017 20:30:50 +0000 (21:30 +0100)]
Toplevel Makefile cleanup
Change-Id: I2f4cb267dbb4d6e6fc6bef908c4bb548c5f37b35
Signed-off-by: Damjan Marion <damarion@cisco.com>
Marek Gradzki [Mon, 16 Jan 2017 13:00:56 +0000 (14:00 +0100)]
Fix linker warnings for jvpp shared libs
Change-Id: I02d01ce210d5bbe11ad2ee70f7703647f9147416
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Dave Barach [Sat, 14 Jan 2017 15:30:50 +0000 (10:30 -0500)]
Provision linux stack ip4 and ip6 addresses for tap interfaces
To simplify system configuration. Converted existing code to use an
argument structure, instead of [one or two too many] discrete
parameters.
Change-Id: I3eddfa74eeed918c1b04a6285fba494651594332
Signed-off-by: Dave Barach <dave@barachs.net>
Damjan Marion [Wed, 4 Jan 2017 12:19:27 +0000 (13:19 +0100)]
vlib: add buffer and thread callbacks
Change-Id: I8e2e8f94a884ab2f9909d0c83ba00edd38cdab77
Signed-off-by: Damjan Marion <damarion@cisco.com>
Matus Fabian [Fri, 13 Jan 2017 12:15:54 +0000 (04:15 -0800)]
SNAT: IPFIX logging (VPP-445)
Change-Id: I8450217dd43a1cd9f510e40dfb22274ffc33a4c6
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Billy McFall [Wed, 11 Jan 2017 13:44:52 +0000 (08:44 -0500)]
VPP-279: Document changes for vnet/vnet/devices
Add doxygen documentation for netmap CLI commands.
Change-Id: I8d3ce12b1cfa5af30ddcd31cb476ca4652cfc2f3
Signed-off-by: Billy McFall <bmcfall@redhat.com>
Damjan Marion [Fri, 13 Jan 2017 21:11:56 +0000 (22:11 +0100)]
Fix remove-rpath script, take 2
Change-Id: If0fc5adb495b243dc9d7bfb8112ffee79ca1335e
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Fri, 13 Jan 2017 19:58:19 +0000 (20:58 +0100)]
Fix remove-rpath script
Change-Id: Ieb9ca2c5ac64dbb73de1b3dd701bb794c91aeae5
Signed-off-by: Damjan Marion <damarion@cisco.com>
Padraig Connolly [Tue, 10 Jan 2017 17:10:39 +0000 (17:10 +0000)]
vppctl: new bash completion for vppctl commands
Bash completion for vppctl
*vppctl_completion uses generated list vppctl-cmd-list to provide bash completion
*List of commands generated using grep, then moved by vpp packaging
*Once vpp package installed restart bash to use
Change-Id: I3b25e55a432c395af421231cf7c37c2e243fee61
Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
Filip Tehlar [Fri, 13 Jan 2017 13:13:09 +0000 (14:13 +0100)]
LISP: Fix gpe API
Change-Id: Iba076fc13e3f870c49fc5ca971dc7b8799188a27
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Matus Fabian [Fri, 13 Jan 2017 13:35:34 +0000 (05:35 -0800)]
SNAT: fixed crash - interface without IP address (VPP-599)
Change-Id: I7f4d0cbde3d3c4ed6537e6351d5487546daea058
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Billy McFall [Thu, 5 Jan 2017 18:23:39 +0000 (13:23 -0500)]
VPP-580: Host Interface created via Command Line Arg is misnamed
Host interfaces created via the command-line arguments are missed named
(i.e. - UnknownEthernet0 instead of af_packet0). In DPDK 16.11, they
changed the driver names from eth_xxx to net_xxx. However, looks like
the AF_PACKET driver still returns "AF_PACKET PMD" as the driver name
in the rte_eth_dev_info_get(..) call. I modified the driver name look
table in vnet/devices/dpdk/dpdk.h to revert the name back.
Change-Id: I2b0a9f6b4d5245b76548027891d40f81a56b230d
Signed-off-by: Billy McFall <bmcfall@redhat.com>
Klement Sekera [Fri, 13 Jan 2017 06:25:25 +0000 (07:25 +0100)]
make test: improve test results printing
Accomodate longer test descriptions by increasing the headings
size.
Change-Id: I51c90b8d91feaa83b78972d0802d3054f8510f36
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Matus Fabian [Thu, 12 Jan 2017 12:24:35 +0000 (04:24 -0800)]
SNAT: add API and test for NAT pool address from interface
Change-Id: I2a868f736fae8d37b438c604a9284653ea415541
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Klement Sekera [Thu, 12 Jan 2017 06:17:01 +0000 (07:17 +0100)]
make test: fix capture handling special-case
Change-Id: I4fc5dce832f9a6162181967c5290e6d0daa4f9f0
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Neale Ranns [Tue, 10 Jan 2017 17:13:41 +0000 (18:13 +0100)]
Account for pool realloc when importing FIB entries during VRF export
Change-Id: I8ec6d53fa9c0790f85802663f70a6b3630239f8d
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Klement Sekera [Thu, 12 Jan 2017 02:39:42 +0000 (03:39 +0100)]
make test: fix typo
Change-Id: I70b4123129aab5770a45ccde4cef4452d06386b8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Neale Ranns [Mon, 9 Jan 2017 13:33:38 +0000 (14:33 +0100)]
Fix ARP on unnumbered interfaces (VPP-583)
Change-Id: Iea1e2c31c016c3bb6344f73173d082a2c548ffee
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Marek Gradzki [Thu, 12 Jan 2017 08:16:23 +0000 (09:16 +0100)]
jvpp: include jvpp_common in vpp packages
Change-Id: Idcf37fc4a031c1c95362aeadf11768103e40d0fd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Klement Sekera [Wed, 4 Jan 2017 11:58:53 +0000 (12:58 +0100)]
make test: improve documentation and PEP8 compliance
Change-Id: Ib4f0353aab6112fcc3c3d8f0bcbed5bc4b567b9b
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Thomas F Herbert [Wed, 11 Jan 2017 13:55:31 +0000 (08:55 -0500)]
Remove unnecessary build macro to fix slow builds.
JIRA: VPP-588
Change-Id: I05bcba3158edb4aee12ead82a30c611fddd29352
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Klement Sekera [Wed, 11 Jan 2017 07:16:53 +0000 (08:16 +0100)]
BFD: fix bfd_udp_add API
Fix reporting of bs_index in the return message. Enhance test suite
to cover this case.
Change-Id: I37d35b850818bc1a05abe67ca919c22aeac978b6
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Dave Barach [Wed, 11 Jan 2017 18:01:14 +0000 (13:01 -0500)]
Acquire SNAT pool addresses from specific interfaces
Pick up addresses added by DHCP client, or by static configuration
Needs to have binary API support added
Change-Id: I962ef89e6e5f36cdc5457b92e165c498b08b25a9
Signed-off-by: Dave Barach <dave@barachs.net>
Marek Gradzki [Tue, 10 Jan 2017 18:58:43 +0000 (19:58 +0100)]
jvpp: add missing dependencies on various libs
Change-Id: Ifa6845458f7249d2179a20b954fcdd49d6c68aa1
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Eyal Bari [Wed, 11 Jan 2017 11:39:54 +0000 (13:39 +0200)]
vxlan unit test - minor fixes
moved ip4_range and ip4n_range to util
added n_ucast_tunnels
Change-Id: I9140c4e54a0636d90a97db03da842f5183319af5
Signed-off-by: Eyal Bari <ebari@cisco.com>
Damjan Marion [Wed, 11 Jan 2017 10:11:00 +0000 (11:11 +0100)]
Makefile.am cleanup
- remove unused stuff
- add --quiet flag to libtool
- avoid building some tests programs when tests are not enabled
Change-Id: Ie34aeec1a598ad811256a00354f66cfddae9d0b9
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Tue, 10 Jan 2017 16:07:38 +0000 (17:07 +0100)]
Remove vcgn plugin
Change-Id: I79f18ec386dedd91a8dcea2ca5726208b7b3c67c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Jan [Thu, 8 Dec 2016 12:10:03 +0000 (13:10 +0100)]
test: ip4 vrf instances multi-context test (CSIT-492)
- add/delete IPv4 VRF instances and verify results by parsing output
of ip_fib_dump API command and by traffic
Change-Id: I61ed5013adca29afd00b942f65be7bf964f38d85
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Pavel Kotucek [Wed, 11 Jan 2017 09:13:54 +0000 (10:13 +0100)]
VPP-575 : Inconsistency in flag values for neighbors dump
Change-Id: Ice6861c150055d06aefff14b60dbc28e3d73769d
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Marek Gradzki [Tue, 10 Jan 2017 15:43:53 +0000 (16:43 +0100)]
jvpp: compile static Java files and include in generated jars
Most Java bindings for VPP APIs provide some tests/examples.
The patch includes them in the compilation process.
Change-Id: Icef3d061c1afd727e8544a7fe5c0204453b1c1d0
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Florin Coras [Tue, 10 Jan 2017 16:57:54 +0000 (08:57 -0800)]
Fix LISP Coverity warning
Change-Id: Idf58a62a5ec47bcf52ae36d00d2844a3db72273b
Signed-off-by: Florin Coras <fcoras@cisco.com>
Marco [Tue, 10 Jan 2017 12:53:31 +0000 (13:53 +0100)]
Added a sub-case to take into Thunderx platform
Change-Id: Ib440414693af6fe29ffaf78fc3b2992911afbcc6
Signed-off-by: Marco <marco.varlese@suse.com>
Pavel Kotucek [Tue, 3 Jan 2017 09:48:54 +0000 (10:48 +0100)]
API refactoring : l2, mpls, sr
Change-Id: Ic5f273dae607a1d3902489e65734c76f027dc30f
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Neale Ranns [Mon, 9 Jan 2017 09:00:45 +0000 (01:00 -0800)]
IPv6 NS RS tests and fixes
includes Fix for VPP-584 with API change to remove prefix length from LL programming
Change-Id: If860751c35e60255fb977f73bc33e8c2649e728e
Signed-off-by: Neale Ranns <nranns@cisco.com>
Ole Troan [Tue, 10 Jan 2017 09:07:04 +0000 (10:07 +0100)]
VPP-585: vhost-user interface deletion leaks memory.
Change-Id: I69bbc447e1989adea40f052eac4550036b6e2e1e
Signed-off-by: Ole Troan <ot@cisco.com>
Damjan Marion [Thu, 5 Jan 2017 21:10:01 +0000 (22:10 +0100)]
japi: include tests in jar files
Change-Id: Idffaafda8fac06a45edef6f3ef13379293d0faa0
Signed-off-by: Damjan Marion <damarion@cisco.com>
Pavel Kotucek [Mon, 9 Jan 2017 14:11:03 +0000 (15:11 +0100)]
API refactoring : dpdk
Change-Id: If2541be803a0303401b013390e117c26fd1d9739
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Damjan Marion [Tue, 10 Jan 2017 09:39:21 +0000 (10:39 +0100)]
Revert "vppctl: bash completion for vppctl commands"
This patch is causing build failures
This reverts commit
d995c757f05f78aa759b0a65c0a7e38088e690a9.
Change-Id: I0c8d5a4208135d77aaa3a6a470d26140f7b74733
Signed-off-by: Damjan Marion <damarion@cisco.com>
Dave Barach [Mon, 9 Jan 2017 20:54:00 +0000 (15:54 -0500)]
Self-service garbage collection for the API message allocator
Change-Id: Iadc08eede15fa5978e4010bbece0232aab8b0fee
Signed-off-by: Dave Barach <dave@barachs.net>
Padraig Connolly [Tue, 29 Nov 2016 17:17:20 +0000 (17:17 +0000)]
vppctl: bash completion for vppctl commands
Added bash completion that will include all commands from build time
*Script takes list of commands generated by doxygen-siphon-list
*Configured doxygen-siphon makefile to generate just cli commands
*List of cli commands put in /usr/share/vpp
*Stopped siphon using doxygen bootstrap, uses main bootstrap instead
*Added rpm/deb check for installation of packages, separate from bootstrap
*NOTE: Once you have installed the vpp .deb/.rpm package you will have to
restart bash
Change-Id: Ie503e80d5177481f6e7dbe59378f2e0d76f29152
Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
Billy McFall [Fri, 6 Jan 2017 22:55:25 +0000 (17:55 -0500)]
VPP-279: af_packet via Command-line Arg should no longer be supported
With the CLI command 'create host-interface', no longer need to
support af_packet interface creation via Command-line Arg. However,
this is mostly implemented by passing arguments to DPDK. Instead of
blocking functionality, put a warning in the log directing the user
to the CLI.
Change-Id: I6c6fba6096f32ef232f1da0c5d39396c6d13f54f
Signed-off-by: Billy McFall <bmcfall@redhat.com>
Jan Gelety [Mon, 9 Jan 2017 08:40:48 +0000 (09:40 +0100)]
Update CSIT tests 170101 -> 170108
- update of CSIT operational branch to be used for VPP-patch test
Change-Id: I58f1ea5f05a80874a16831bc7d23875d46610daa
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Matej Klotton [Thu, 22 Dec 2016 10:06:56 +0000 (11:06 +0100)]
make test: Loopback interface CRUD test
Change-Id: I0581da7a682bfe4dd6520ecf1b2ea6bd8c20b1b3
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Damjan Marion [Sun, 8 Jan 2017 17:03:21 +0000 (18:03 +0100)]
papi: fix building on aarch64
Change-Id: I3983576bd4e0f197193a7d281763d545a55e7d64
Signed-off-by: Damjan Marion <damarion@cisco.com>
Neale Ranns [Sat, 7 Jan 2017 18:04:09 +0000 (10:04 -0800)]
In python tests send NS packets to the solicited mcast address with correct mcast MAC, rather than to quiered addr and broadcast MAC
Change-Id: Idb2f8ad09ccb421b7974b8a944cb411cfb4be9d5
Signed-off-by: Neale Ranns <nranns@cisco.com>
Damjan Marion [Sun, 8 Jan 2017 14:34:50 +0000 (15:34 +0100)]
Multiple Autotools improvements
- Defines some dependencies between shared libraries
- updates version.h only when version changes
Updating version.h on each "make" and "make install" was causing issues with
parallel builds. "make install" was re-linking vpp binary due to "updated"
version.h and in parallel it was re-linking shared libraries as part of
installation process. That was resulting on sporadic build failures.
Change-Id: I2a27ae1aea6a7a4100822018e095a60dd48d39ca
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Fri, 6 Jan 2017 13:33:05 +0000 (14:33 +0100)]
plugin: add API to get pointer to symbol in different plugin
Change-Id: Ic2fbbd8227d5d0c033e5d7b5f43b859a4889d2f3
Signed-off-by: Damjan Marion <damarion@cisco.com>
Dave Barach [Fri, 6 Jan 2017 21:33:06 +0000 (16:33 -0500)]
python clients can set the API rx message queue length
Change-Id: I7af1493a823747e0f7389ad6c2093e4cec6c2ce9
Signed-off-by: Dave Barach <dave@barachs.net>
Billy McFall [Fri, 6 Jan 2017 17:40:14 +0000 (12:40 -0500)]
VPP-279: doxygen documentation for host interface CLI commands
Change-Id: I2c6c16688be35e2e122c2377ded467c68a4c5a97
Signed-off-by: Billy McFall <bmcfall@redhat.com>
Eyal Bari [Tue, 20 Dec 2016 16:36:46 +0000 (18:36 +0200)]
Added basic tests for multicast vxlan tunnels
unicast flood test - test headend replication
multicast flood test - test flooding when a multicast vxlan tunnel is present in BD
multicast receive test - verify that multicast packet are received on their
corresponding unicast tunnels and that unmatched packets are dropped
all tests run after adding and removing 200 mcast tunnels to test stability
Change-Id: Ia05108c39ac35096a5b633cf52480a9ba87c14df
Signed-off-by: Eyal Bari <ebari@cisco.com>
Jan Srnicek [Thu, 5 Jan 2017 11:42:00 +0000 (12:42 +0100)]
Added vpe.api java binding generation
added missing path for vpe.api file
Change-Id: I61f727002dd663d6a5656b0d01380e77b44c4a42
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Dave Barach [Thu, 5 Jan 2017 15:08:52 +0000 (10:08 -0500)]
Fix uninitialized stack local, VPP-581
Sporadically messes up the client message allocation ring, by setting
c->message_bounce[msg_id] non-zero. A day-1 bug, made blatantly
obvious by the python API language binding for no particular reason.
Manually cherry-picked from stable/1701 due to the recent tree
reorganization.
Change-Id: Ifa03c5487436cbe50a6204db48fd9ce4938e32bb
Signed-off-by: Dave Barach <dave@barachs.net>
Neale Ranns [Thu, 5 Jan 2017 09:01:47 +0000 (01:01 -0800)]
FIB memory leaks (VPP-578)
1) vec_free the fe_srcs of a fib_entry_t when the fib_entry_t is itself reed
2) in the load-balance fixup if a drop path is required add this to a new vector of next-hops 'fixed_nhs'. This vector is managed by the load-balance function. The caller continues to manage its own set. The function is now const implying that the caller is safe to assume the next-hops do not change.
Change-Id: I0f29203ee16b9a270f40edf237488fa99ba65320
Signed-off-by: Neale Ranns <nranns@cisco.com>
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Filip Tehlar [Wed, 4 Jan 2017 09:42:25 +0000 (10:42 +0100)]
LISP: make data plane programming thread safe
Change-Id: I4b949e606fa3969d4c03dc6e753a2546be6329cf
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
AkshayaNadahalli [Fri, 23 Dec 2016 12:16:08 +0000 (17:46 +0530)]
Merging all ioam plugin libraries to single library
Double commit from 1702 branch to master.
Change-Id: I33a646ba45848c7400df4271e4933e28e62c9ad7
Signed-off-by: AkshayaNadahalli <anadahal@cisco.com>
(cherry picked from commit
e4e9fbbb7c8fa4385ae31072d60ad8621fe798a4)
Signed-off-by: AkshayaNadahalli <anadahal@cisco.com>
Damjan Marion [Wed, 4 Jan 2017 15:07:54 +0000 (16:07 +0100)]
Fix library dependency issue
Change-Id: I2b08194f4554b2c0f1e595184ef0a36bd494ad17
Signed-off-by: Damjan Marion <damarion@cisco.com>
Gabriel Ganne [Wed, 4 Jan 2017 13:42:21 +0000 (14:42 +0100)]
rename vpp python's api debian scripts
python's api has been renamed from *vpp-python-api* -> *vpp-api-python*
deb scripts need to follow the package name in order to be called
Change-Id: I0c9ec45cc3d478c3b90aa75bcd2b8a9f7809cbc9
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Damjan Marion [Tue, 3 Jan 2017 19:11:35 +0000 (20:11 +0100)]
vlib: merge libvlib_unix.so into libvlib.so
Change-Id: Iedbee427d838794c4b26db5bd07b8d27aad9fcd8
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Tue, 3 Jan 2017 18:56:43 +0000 (19:56 +0100)]
fix version.h generation for out-of-tree builds
Change-Id: Ic882f5aec74858a36533ed8cd61a7726947dceef
Signed-off-by: Damjan Marion <damarion@cisco.com>
Eyal Bari [Mon, 2 Jan 2017 12:29:21 +0000 (14:29 +0200)]
vxlan fix mcast tunnel delete
Change-Id: I15f7ff1e957718e808bfad811895deaacb85d2a3
Signed-off-by: Eyal Bari <ebari@cisco.com>
Klement Sekera [Mon, 19 Dec 2016 08:05:21 +0000 (09:05 +0100)]
BFD: immediately honor reduced remote_min_rx interval
Change-Id: I7f09b45c926557d2ad0e2706b38fa56ff8194a3d
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Andrew Yourtchenko [Tue, 3 Jan 2017 16:52:22 +0000 (16:52 +0000)]
VPP-574: fix VPP hang during security group configuration on a suspended VM
The unix connect() in vhost-user driver in VPP is blocking, and
a non-expedient accept() on the other side causes the entire VPP to hang.
Solution: set the nonblocking flag for the socket fd before calling
connect(), and set the socket back to blocking after the accept() succeeds.
Change-Id: Ia5ee782037eeffabdad71db8241f476a048a4f6f
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Andrew Yourtchenko [Tue, 3 Jan 2017 17:06:29 +0000 (17:06 +0000)]
VPP-574: fix the MACIP ACLs blocking ARP traffic
The initial assumption was that the MACIP ACL classifier tables would be applied
after the classification of the traffic based on the ethertype, it turned out
to be untrue, but the fix in the code did not happen.
Add the ethertype to the mask, and the logic to create the ACL classifier tables
permitting the ARP ethertype with the correct payload.
Change-Id: I7c05c7893f6df8258998eed8983056c77586df81
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Filip Tehlar [Tue, 3 Jan 2017 14:44:21 +0000 (15:44 +0100)]
LISP: fix EID addition
Change-Id: I32f61ab89598a7911df3d0d8f45de1302af8aa6a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Gabriel Ganne [Mon, 2 Jan 2017 15:44:21 +0000 (16:44 +0100)]
preserve environment when make install-dep
for those who work behind a firewall/proxy-server
Change-Id: I099830d2da05296b2f109ca25576a1e865ddcce6
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Filip Tehlar [Thu, 15 Dec 2016 13:04:02 +0000 (14:04 +0100)]
LISP: fix fwd entry addition
Change-Id: Ibdc9ad21cc53cf0a6d571a3f913038d61d9282a1
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Gabriel Ganne [Tue, 3 Jan 2017 13:07:19 +0000 (14:07 +0100)]
vlxlan-gpe - fix api registering
(was registering span api twice instead)
Change-Id: I196d520061d10872fd795c0b1115574591e8d978
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Damjan Marion [Wed, 28 Dec 2016 16:51:56 +0000 (17:51 +0100)]
Do not require external vppapigen when not cross-compiling
Change-Id: I80b8348ed4efd53d292c37a1ff69c13ee4741986
Signed-off-by: Damjan Marion <damarion@cisco.com>
Matus Fabian [Tue, 3 Jan 2017 12:56:09 +0000 (04:56 -0800)]
SNAT: fix out2in ICMP worker lookup
Change-Id: I113e7927739de876f07c3f17454ad7499a74c634
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Damjan Marion [Tue, 3 Jan 2017 10:17:19 +0000 (11:17 +0100)]
jvpp: install jvpp_common.h into include/
Change-Id: Iaffc619f3219239e753609f0963d396237aae378
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Tue, 3 Jan 2017 10:39:51 +0000 (11:39 +0100)]
deb: fix issues in debian/control, silence some warnings
Change-Id: I135646dbc641b1ff517fc137f8c653f7f3fe60fe
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Tue, 3 Jan 2017 12:09:10 +0000 (13:09 +0100)]
Improve Java 8 detection m4 script to deal with pre-set JAVA_HOME
Change-Id: I38685530634fd43d0a46ff43e5ef7d62b9ee4d9b
Signed-off-by: Damjan Marion <damarion@cisco.com>
root [Tue, 13 Dec 2016 16:00:02 +0000 (17:00 +0100)]
vpp-python-api deb packaging - use easy_install to install the python api
Change-Id: I67963d5a6ec324b13c50f8f6c51ed3c715b4c145
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Wojciech Dec [Tue, 3 Jan 2017 09:38:37 +0000 (10:38 +0100)]
Fix crash on null vhost-user socket - VPP-573
Fix for VPP-573.
Change-Id: If7d9690901efebf62fdf28219097153d98c79c0c
Signed-off-by: Wojciech Dec <wdec@cisco.com>
Wojciech Dec [Tue, 3 Jan 2017 09:27:03 +0000 (10:27 +0100)]
Fix crash on vhost-user deletion - VPP-571
Fixes VPP-571.
VPP crashes when deleting created vhost interfaces
which have not been configured with L3 or
bridge-domain.
Change-Id: I7fe6f2e52d4d5d77ec3c122758aa4bf43250b1d1
Signed-off-by: Wojciech Dec <wdec@cisco.com>
Klement Sekera [Mon, 2 Jan 2017 09:31:17 +0000 (10:31 +0100)]
make test: fix debug print
Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Klement Sekera [Mon, 2 Jan 2017 09:18:34 +0000 (10:18 +0100)]
make test: rotate capture files after consuming arp/ndp
Change-Id: I512dc07638b4539d4a75e2ac40d3acee77f0bba6
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Klement Sekera [Mon, 2 Jan 2017 08:03:47 +0000 (09:03 +0100)]
make test: fix assert_nothing_captured api
Change-Id: I5cd11adcbd90a018deb3cd7cf157f72d9ab76e1c
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Jan Gelety [Mon, 2 Jan 2017 10:03:08 +0000 (11:03 +0100)]
Update CSIT tests 161218 -> 170101
- update of CSIT operational branch to be used for VPP-patch test
Change-Id: I58f631e9319e55e5dd23516776fcbb9e9798a489
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Dave Barach [Mon, 2 Jan 2017 17:22:48 +0000 (12:22 -0500)]
Update emacs plugin generator skeleton
Generated code compiles with the new build scheme, works, etc.
Change-Id: I147aa5fa580a71ef25615b02277870867e475042
Signed-off-by: Dave Barach <dave@barachs.net>
Dave Barach [Mon, 12 Dec 2016 20:37:29 +0000 (15:37 -0500)]
Handle execessive hash collisions, VPP-555
Change-Id: I55dad7b5cfb3d38c22b1105f7d2d61e7449410ea
Signed-off-by: Dave Barach <dave@barachs.net>
Klement Sekera [Mon, 2 Jan 2017 06:46:14 +0000 (07:46 +0100)]
make test: improve test_flowperpkt
Change-Id: Id1b2bef2a93ac931a420d7a3c322d65c1fbce055
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Matus Fabian [Mon, 2 Jan 2017 12:44:03 +0000 (04:44 -0800)]
fix run-vat path
Change-Id: Idfe5050b2db35794687da797afdca60a707aa42c
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Damjan Marion [Sun, 1 Jan 2017 15:53:22 +0000 (16:53 +0100)]
dpdk: do not build igb_uio module
igb_uio is anyway build out of source from dkms package
so there is no need to build it here.
Also, this creates issues in cases where kernel headers are not
available (i.e. building inside containers).
Change-Id: I270598a94dc67ad0b31e7f0db9ed6bd6fc8cfe30
Signed-off-by: Damjan Marion <damarion@cisco.com>
Vengada [Sun, 1 Jan 2017 11:43:11 +0000 (03:43 -0800)]
ioam: fix Coverity issue
Initialize outer_fib_index variable to zero to avoid coverity warning.
Change-Id: I400564f5873b23ceb1c72ea2e9e1df69b1e82f0c
Signed-off-by: Vengada <venggovi@cisco.com>
Damjan Marion [Wed, 28 Dec 2016 17:38:59 +0000 (18:38 +0100)]
Move java,lua api and remaining plugins to src/
Change-Id: I1c3b87e886603678368428ae56a6bd3327cbc90d
Signed-off-by: Damjan Marion <damarion@cisco.com>
Chris Luke [Wed, 28 Dec 2016 14:44:47 +0000 (09:44 -0500)]
Repair Doxygen build infrastructure
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>
Damjan Marion [Wed, 28 Dec 2016 14:14:46 +0000 (15:14 +0100)]
test: fix paths after source code move
Change-Id: I3100260bb697f9af2f73ad3777e8b27069c5babe
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Mon, 19 Dec 2016 22:05:39 +0000 (23:05 +0100)]
Reorganize source tree to use single autotools instance
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23
Signed-off-by: Damjan Marion <damarion@cisco.com>
Damjan Marion [Fri, 23 Dec 2016 21:42:41 +0000 (22:42 +0100)]
dpdk: Add support for Mellanox ConnectX-4 devices
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>
Damjan Marion [Mon, 26 Dec 2016 10:39:42 +0000 (11:39 +0100)]
vlib: Add support for PCI VPD parsing
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>
Dave Barach [Fri, 23 Dec 2016 20:15:48 +0000 (15:15 -0500)]
Make test support for the ipfix flow-per-pkt plugin
Change-Id: I7a0d37fc2bc21dbbff1cea1b92dc24d43f971eec
Signed-off-by: Dave Barach <dave@barachs.net>
Matus Fabian [Fri, 23 Dec 2016 10:59:34 +0000 (02:59 -0800)]
SNAT: fix 'show snat verbose' bug - format vector as %v
Change-Id: Ia829da43a273c89dee47b32250ab032d992193cd
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Klement Sekera [Wed, 21 Dec 2016 07:50:14 +0000 (08:50 +0100)]
make test: improve handling of packet captures
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>
Dave Barach [Wed, 14 Dec 2016 19:49:55 +0000 (14:49 -0500)]
Build vpp_api_test binary API debug CLI into vpp
Change-Id: I60ce73a62d8632a644fbfdfbe13ff8ddbb959233
Signed-off-by: Dave Barach <dave@barachs.net>
Klement Sekera [Fri, 23 Dec 2016 08:16:39 +0000 (09:16 +0100)]
make test: add log.txt
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>