254 Commits

Author SHA1 Message Date
Dave Barach
c42508d158 Allow CCACHE_DIR to be overridden, e.g. from .../build-root/build-config.mk
Change-Id: I9f2afa31c061b658e45ebbc16d01a6c118993116
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-27 18:35:14 +00:00
Damjan Marion
f46b7e6d78 Fix l2output error-drop next node index
Change-Id: I8a79f683350b77bd56b44e37a099293033aadd15
Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-27 18:09:05 +00:00
Dave Barach
aa67d61f01 Print worker thread name as a c-string, not a vector. Otherwise, the
output is certain to contain a NULL byte.

Change-Id: Id80e1334d7a2cb6788f1db33cde142f84826db36
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-27 10:27:43 -05:00
Ed Warnicke
a67c418487 Fix vppctl to cope with vpe -> vpp transition
Change-Id: Ida88cff8b84756660eb682a6ff4d4ded3b0432e1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26 15:45:07 -07:00
Ed Warnicke
9917623a80 Remove vpp-japi/m4/libtool.m4
Change-Id: Ife6221072603a7ba6cfbd16a96e9d71b2f36658b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26 15:04:27 -07:00
Dave Barach
c5d4dc7f8a Set the ssvm_ethernet interface pid. Otherwise, the recursive lock
check breaks in a horrible way.

Change-Id: I5c2e69f89152a3f073e678354763086ac7bb7610
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-26 15:36:54 -05:00
Ed Warnicke
014bdeb850 Small fix for vppctl
Change-Id: I5d2668b3487d240e7d8c8a257e9a5607e2b314ec
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26 09:57:14 -07:00
Ole Troan
1f8aeb9027 MAP: Ensure fragmented packets get from ip4_map to ip4_map_reass.
Change-Id: If253be8ca173070fb69ce2e43159a68bcfba5d08
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-25 16:29:32 +02:00
Ole Troan
0d4ffcd0ef MAP: Fix handling of jumbo frames.
Change-Id: Iec59a766af6955e547f2355495204b92aa42bea7
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-25 14:05:09 +00:00
Dave Barach
0e5e3c3b62 Fix rpm packaging bit-rot
Change-Id: Ia710b0773984891ee18c6c0558cc09b984043e38
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-25 08:28:40 -05:00
Dave Barach
309bef25f1 Enable shared-VM namespace support
Required prep work for gracefully supporting
"... dpdk { proc-type secondary }" -  multiple processes sharing a physical
host, VM, container, etc.

Change-Id: Ic3eb72f4093e26d7c86dde3b8799264f1d0c218b
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-22 16:10:07 -05:00
Dave Barach
61efa140b1 aarch64 CPU arch / ThunderX platform initial support
Change-Id: Ia2edd3cee2c25c26c7c47a9023744b97226434c7
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-22 08:23:27 -05:00
Dave Barach
bfdedbd5a3 PowerPC64-be arch support. Qemu ("qppc") platform support.
Change-Id: Ib0a05f9d1b08bacef09f6d7c101391737031ee0d
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-21 12:33:07 +00:00
Damjan Marion
08ff7e00bf Rename vpe binary name to avoid collision with latex
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be
Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-20 16:33:01 +01:00
Dave Barach
13056f93d9 Merge "Enhance and fix packet trace for IP forwarding as follows: 1. Add fib index to IP6 forwarding trace. 2. Display adjacency index in IP forwarding trace. 3. Fix adjacency display for L3 to L2 forwarding such as BVI and VXLAN tunnel decap. 4. Setup VXLAN tunnel fib index properly for packet trace." 2016-01-19 23:18:13 +00:00
Dave Barach
1549b61e76 Merge "Revert "Reenable debug cli telnet listener"" 2016-01-19 23:16:48 +00:00
Dave Barach
2eb349224d Merge "Fix bitmap list parsing" 2016-01-19 23:15:51 +00:00
Ed Warnicke
93d46756da Revert "Reenable debug cli telnet listener"
Please leave the telnet disabled in the packages, as its is not secure on a server deployment and we *should* be secure out of the box.

This reverts commit 9c76c1fc68aaf1140b8d5b8b32fc7552f6381ed3.

https://gerrit.fd.io/r/#/c/102/

Change-Id: I0187375441b4a6dd508424d687f380bbfc485259
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-19 22:29:42 +00:00
John Lo
2d34374f7d Enhance and fix packet trace for IP forwarding as follows:
1. Add fib index to IP6 forwarding trace.
2. Display adjacency index in IP forwarding trace.
3. Fix adjacency display for L3 to L2 forwarding such as
   BVI and VXLAN tunnel decap.
4. Setup VXLAN tunnel fib index properly for packet trace.

Change-Id: I261fea5abf51e2550d24cdcee53887be2fdd08de
Signed-off-by: John Lo <loj@cisco.com>
2016-01-19 17:27:17 -05:00
Damjan Marion
52372b6c8e Merge "Reenable debug cli telnet listener" 2016-01-19 21:05:28 +00:00
Damjan Marion
8a75906a2a Merge "Shell script to run the emacs-skeleton plugin boilerplate generator" 2016-01-19 21:04:19 +00:00
Dave Barach
f5dae765d6 Shell script to run the emacs-skeleton plugin boilerplate generator
Change-Id: I9b4d0faad20e8cad1ab347d3f3f7d2c063e3d495
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-19 15:13:38 -05:00
Dave Barach
2bc1ebaf38 Clean up comment
Change-Id: I487321624d3625e32e661ca378716ec083ce3ce2
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-19 15:10:35 -05:00
Damjan Marion
75d1f2404d Fix bitmap list parsing
Fixes "cpu_config: no such thread type 'corelist-workers'" issue

Change-Id: Ic0309ee62859ac73fd58c57b5f630aff5daf1775
Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-19 14:10:52 +01:00
Ed Warnicke
7471c6d7d7 Enabled vppctl to provide an interactive shell
Change-Id: Ibfed316570c03a4dd158781c6201f5713837adb4
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-18 10:14:20 -07:00
Damjan Marion
46e88fe905 Merge "Temporary remove inlines to unbreak compilation with GCC 5" 2016-01-18 13:56:30 +00:00
Damjan Marion
7bdedad3bf Temporary remove inlines to unbreak compilation with GCC 5
Change-Id: Ie1f85f61560eb5824064df27a6fbddb34e4bb5c9
Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-18 14:33:58 +01:00
Vincent JARDIN
1d3be19c77 build - Vagrant template to get more emulated PCI NICs
For some testing, it an be usefull to have more physical
NICS that DPDK's PMDs can bind to.
Example to run vpp within a VM with 3 emulated NICs:
  export VPP_VAGRANT_NICS=3
  vagrant up

Change-Id: I82d70f21c0a9ceba126ab6620c3b869d590d8de1
Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>
2016-01-18 13:25:08 +00:00
Ole Troan
36de03819f MAP: Updated rules generation script.
Added simple reflection health checker.

Change-Id: I84472d334fcd243747f66bd8bd6aa5bc65d2e8f5
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-17 19:00:46 +01:00
Shesha Sreenivasamurthy
49be7f0b90 hw0 used without initialization in when DPDK is undefined
Change-Id: I0d044669dbd57c9a25a4d917c0e3ab8fda5808aa
Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-01-14 14:12:26 -08:00
Damjan Marion
b1ee7bde52 Merge "Avoid crash in vhost-user driver when running multithreaded" 2016-01-14 18:48:26 +00:00
Ole Troan
9fb87553be Dual loop decrement TTL.
Outer fragmentation.
ICMP PMTUD.
Add DF ignore knob.

Change-Id: Icfd7b5c5d9629db3b8130ba15dc6c9a5e709d23b
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-14 10:01:03 +00:00
Ole Troan
92eade1be5 Added ICMP4 error node.
Change-Id: I911c1c5a57f0513886fa2ee3422ebea069403cb9
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-14 00:25:51 +01:00
Ed Warnicke
413b0ddd49 Fix gitreview to fd.io
Change-Id: I4ded51b660bd2a6573363d837a532e8c1dccfb0f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-13 07:44:39 -08:00
Damjan Marion
920ecc2e1f Avoid crash in vhost-user driver when running multithreaded
Change-Id: Ib54575453fd26ba1a7256e9d583c8f8532613ebc
Signed-off-by: Carsten Koester <ckoester@cisco.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-12 18:38:11 +01:00
Matt Johnson
3b566bb613 Fix vagrant grub issue with ubuntu & virtualbox
Change-Id: I8ff952a02c9c51070c41bdca72fb4f7ed8a7c8ba
Signed-off-by: Matt Johnson <matjohn2@cisco.com>
2016-01-11 14:29:59 -08:00
Ole Troan
cda9482258 - ICMP6: Add generic ICMP6 error node. Caller sets code/type fields.
- MAP: Added knob to send unreachable ICMP6 on unmatched binding.

Change-Id: I314547cc1157d8a73887e7518ebfe3e68d331650
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-07 20:17:14 +01:00
Dave Barach
9c76c1fc68 Reenable debug cli telnet listener
Change-Id: I23cbe43c4c7fd45ae92b50dd4ef30d89b3067b04
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-07 08:14:54 -05:00
Ole Troan
366ac6ecde MAP: Decrement TTL of payload IPv4 packet.
MAP: Disable direct adjacency domain lookup for decap until IPv4 SA security check is fixed.

Change-Id: If85ea73629e46cb09757fe842d79507cf54e37f3
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-06 12:40:28 +01:00
Ole Troan
1bc56f7fa1 Merge "Fix dual loop >= 4. Fix format specified for printing u64 counter." 2016-01-05 20:39:55 +00:00
Dave Barach
ec1a579f38 Merge "Warning be gone." 2016-01-05 20:37:08 +00:00
Ole Troan
a5d2c70f41 Fix dual loop >= 4. Fix format specified for printing u64 counter.
Change-Id: I314837f6a3482264fc200493a392e744aa1a21c7
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-05 21:26:17 +01:00
Ole Troan
92be0df475 Clean up script to generate LW46 bindings / MAP-E rules.
Change-Id: I3a3949e728f4e4875efddd4f02a55746c998a5ed
Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-05 20:05:52 +01:00
Dave Wallace
4afb281d8d Warning be gone.
Change-Id: I683298c9f1dbff4c1067fb3004b5554fdc8b4ee1
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-01-04 22:14:56 -05:00
Ed Warnicke
ce853c4838 Merge "Submit initial test framework skeleton." 2016-01-05 03:13:02 +00:00
Dave Barach
66cc181e51 Add --with-plugin-toolkit to README, clean up unwanted files
Change-Id: Ib4d1ee94706711939e03704c655ba355a8f82439
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-04 18:22:03 -05:00
Dave Barach
b852bfa18b Emacs-lisp scripts to generate complete vpp plugins
Change-Id: Id71147a8d5e30aadfb90dc10ea9468cf36ef23a8
Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-04 15:28:11 -05:00
Stefan Kobza
b189933c39 Submit initial test framework skeleton.
Change-Id: I1c7cdbbf16c137a6739447d2776595725b798b54
Signed-off-by: Stefan Kobza <skobza@cisco.com>
2015-12-23 17:10:07 +01:00
Damjan Marion
7d08f5635d ylwrap is also autotools autogenerated file
Change-Id: Ia6f26b5a12c2fb7847f9325519a99cf928263374
Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-23 13:34:52 +01:00
Damjan Marion
bd2e9ba2b4 Merge "Fix to show trace output." 2015-12-23 11:10:49 +00:00