summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-01-27ip_checksum.c: Fixes for ip_csum_and_memcpy() alignment issuesKevin Paul Herbert2-53/+69
Add explicit support for incremental operations which may be on byte boundaries and misaligned. Since this is a memcpy() like function, it needs to be robust in all byte operations. Add code to perform the checksum 16 bits at a time when the destination buffer pointer is not naturally aligned. The previous code did support misaligned source data (via clib_mem_unaligned()), but didn't properly align the destination pointer. It would be possible to further optimize this by adding an optimzed move operation where the source is aligned on natural boundaries. Look at this as we optimize this function. At this point, I am concentrating on correctness. Change-Id: I2b0fd4795ec5c0ca294a733159c7355b54177690 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-01-27Allow CCACHE_DIR to be overridden, e.g. from .../build-root/build-config.mkDave Barach1-1/+6
Change-Id: I9f2afa31c061b658e45ebbc16d01a6c118993116 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-27Fix l2output error-drop next node indexDamjan Marion1-4/+2
Change-Id: I8a79f683350b77bd56b44e37a099293033aadd15 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-27Print worker thread name as a c-string, not a vector. Otherwise, theDave Barach1-2/+2
output is certain to contain a NULL byte. Change-Id: Id80e1334d7a2cb6788f1db33cde142f84826db36 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-26Fix vppctl to cope with vpe -> vpp transitionEd Warnicke1-2/+2
Change-Id: Ida88cff8b84756660eb682a6ff4d4ded3b0432e1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26Remove vpp-japi/m4/libtool.m4Ed Warnicke1-7997/+0
Change-Id: Ife6221072603a7ba6cfbd16a96e9d71b2f36658b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26Set the ssvm_ethernet interface pid. Otherwise, the recursive lockDave Barach1-0/+1
check breaks in a horrible way. Change-Id: I5c2e69f89152a3f073e678354763086ac7bb7610 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-26Small fix for vppctlEd Warnicke1-6/+7
Change-Id: I5d2668b3487d240e7d8c8a257e9a5607e2b314ec Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-25MAP: Ensure fragmented packets get from ip4_map to ip4_map_reass.Ole Troan1-4/+8
Change-Id: If253be8ca173070fb69ce2e43159a68bcfba5d08 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-25MAP: Fix handling of jumbo frames.Ole Troan1-3/+0
Change-Id: Iec59a766af6955e547f2355495204b92aa42bea7 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-25Fix rpm packaging bit-rotDave Barach2-0/+2
Change-Id: Ia710b0773984891ee18c6c0558cc09b984043e38 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-22Enable shared-VM namespace supportDave Barach6-15/+40
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-22aarch64 CPU arch / ThunderX platform initial supportDave Barach37-115/+592
Change-Id: Ia2edd3cee2c25c26c7c47a9023744b97226434c7 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-21PowerPC64-be arch support. Qemu ("qppc") platform support.Dave Barach24-89/+367
Change-Id: Ib0a05f9d1b08bacef09f6d7c101391737031ee0d Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-20Rename vpe binary name to avoid collision with latexDamjan Marion18-42/+42
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-19Merge "Enhance and fix packet trace for IP forwarding as follows: 1. Add fib ↵Dave Barach5-4/+19
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-19Merge "Revert "Reenable debug cli telnet listener""Dave Barach1-1/+0
2016-01-19Merge "Fix bitmap list parsing"Dave Barach1-0/+5
2016-01-19Revert "Reenable debug cli telnet listener"Ed Warnicke1-1/+0
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-19Enhance and fix packet trace for IP forwarding as follows:John Lo5-4/+19
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-19Merge "Reenable debug cli telnet listener"Damjan Marion1-0/+1
2016-01-19Merge "Shell script to run the emacs-skeleton plugin boilerplate generator"Damjan Marion1-0/+4
2016-01-19Shell script to run the emacs-skeleton plugin boilerplate generatorDave Barach1-0/+4
Change-Id: I9b4d0faad20e8cad1ab347d3f3f7d2c063e3d495 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-19Clean up commentDave Barach1-4/+7
Change-Id: I487321624d3625e32e661ca378716ec083ce3ce2 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-19Fix bitmap list parsingDamjan Marion1-0/+5
Fixes "cpu_config: no such thread type 'corelist-workers'" issue Change-Id: Ic0309ee62859ac73fd58c57b5f630aff5daf1775 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-18Enabled vppctl to provide an interactive shellEd Warnicke1-1/+12
Change-Id: Ibfed316570c03a4dd158781c6201f5713837adb4 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-18Merge "Temporary remove inlines to unbreak compilation with GCC 5"Damjan Marion12-23/+19
2016-01-18Temporary remove inlines to unbreak compilation with GCC 5Damjan Marion12-23/+19
Change-Id: Ie1f85f61560eb5824064df27a6fbddb34e4bb5c9 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-18build - Vagrant template to get more emulated PCI NICsVincent JARDIN1-0/+9
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-17MAP: Updated rules generation script.Ole Troan2-23/+216
Added simple reflection health checker. Change-Id: I84472d334fcd243747f66bd8bd6aa5bc65d2e8f5 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-14hw0 used without initialization in when DPDK is undefinedShesha Sreenivasamurthy1-2/+3
Change-Id: I0d044669dbd57c9a25a4d917c0e3ab8fda5808aa Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-01-14Merge "Avoid crash in vhost-user driver when running multithreaded"Damjan Marion1-0/+6
2016-01-14Dual loop decrement TTL.Ole Troan7-48/+164
Outer fragmentation. ICMP PMTUD. Add DF ignore knob. Change-Id: Icfd7b5c5d9629db3b8130ba15dc6c9a5e709d23b Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-14Added ICMP4 error node.Ole Troan5-143/+204
Change-Id: I911c1c5a57f0513886fa2ee3422ebea069403cb9 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-13Fix gitreview to fd.ioEd Warnicke1-1/+1
Change-Id: I4ded51b660bd2a6573363d837a532e8c1dccfb0f Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-12Avoid crash in vhost-user driver when running multithreadedDamjan Marion1-0/+6
Change-Id: Ib54575453fd26ba1a7256e9d583c8f8532613ebc Signed-off-by: Carsten Koester <ckoester@cisco.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-11Fix vagrant grub issue with ubuntu & virtualboxMatt Johnson1-1/+4
Change-Id: I8ff952a02c9c51070c41bdca72fb4f7ed8a7c8ba Signed-off-by: Matt Johnson <matjohn2@cisco.com>
2016-01-07- ICMP6: Add generic ICMP6 error node. Caller sets code/type fields.Ole Troan8-58/+198
- MAP: Added knob to send unreachable ICMP6 on unmatched binding. Change-Id: I314547cc1157d8a73887e7518ebfe3e68d331650 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-07Reenable debug cli telnet listenerDave Barach1-0/+1
Change-Id: I23cbe43c4c7fd45ae92b50dd4ef30d89b3067b04 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-06MAP: Decrement TTL of payload IPv4 packet.Ole Troan3-2/+36
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-05Merge "Fix dual loop >= 4. Fix format specified for printing u64 counter."Ole Troan3-4/+4
2016-01-05Merge "Warning be gone."Dave Barach1-1/+1
2016-01-05Fix dual loop >= 4. Fix format specified for printing u64 counter.Ole Troan3-4/+4
Change-Id: I314837f6a3482264fc200493a392e744aa1a21c7 Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-05Clean up script to generate LW46 bindings / MAP-E rules.Ole Troan4-785/+53
Change-Id: I3a3949e728f4e4875efddd4f02a55746c998a5ed Signed-off-by: Ole Troan <ot@cisco.com>
2016-01-04Warning be gone.Dave Wallace1-1/+1
Change-Id: I683298c9f1dbff4c1067fb3004b5554fdc8b4ee1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2016-01-05Merge "Submit initial test framework skeleton."Ed Warnicke20-0/+712
2016-01-04Add --with-plugin-toolkit to README, clean up unwanted filesDave Barach2-1/+3
Change-Id: Ib4d1ee94706711939e03704c655ba355a8f82439 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-04Emacs-lisp scripts to generate complete vpp pluginsDave Barach12-4/+1271
Change-Id: Id71147a8d5e30aadfb90dc10ea9468cf36ef23a8 Signed-off-by: Dave Barach <dave@barachs.net>
2015-12-23Submit initial test framework skeleton.Stefan Kobza20-0/+712
Change-Id: I1c7cdbbf16c137a6739447d2776595725b798b54 Signed-off-by: Stefan Kobza <skobza@cisco.com>
2015-12-23ylwrap is also autotools autogenerated fileDamjan Marion2-247/+1
Change-Id: Ia6f26b5a12c2fb7847f9325519a99cf928263374 Signed-off-by: Damjan Marion <damarion@cisco.com>