aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
AgeCommit message (Collapse)AuthorFilesLines
2016-02-11Pull in some additional symbols that may be needed by plugins.Josh Gahm1-0/+4
Ensure that some additional rte_* symbols (from the dpdk library) and pulled into the vpp image so that they will be available to plugins. Also, provide vlib's dpdk configuration function so that plugins that need to make dpdk calls during initialization/configuration may ensure that dpdk itself is initialized first. Change-Id: Iff8b518c6fc23e9e2f24a85944e5b246c80e5f67 Signed-off-by: Josh Gahm <jgahm@cisco.com>
2016-02-11Use vppinfra bitmap for dpdk coremaskDamjan Marion1-6/+5
Change-Id: Iec5ebadf120f742f43a681c4d394aa97ad2ae1e1 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-02-10Compile with -Werror, so Jenkins will catch warningsDave Barach1-1/+1
Change-Id: I9255c75b6c6cbc638cdcc411632a924cb06f28c0 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-10Replace AC_PROG_LIBTOOL with LT_INITDave Barach2-2/+2
Change-Id: I642c4b8e83dd07708658a10ad46e9fd2c28a7f1f Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-10Vhost multi-q supportShesha Sreenivasamurthy5-115/+415
Remove multi-q support patch for DPDK-2.1.0 Change-Id: I685f3886b3883803210221682fa80353670a6970 Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-02-10Clean up gcc-5.2 warningsDave Barach16-107/+74
Change-Id: I7b0aa42a61607d4d30fe3627032d3837b2838982 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-09SFF NSH support VXLAN GPEKeith Burns (alagalah)1-15/+115
Change-Id: I23dae9e13f6c2ec7b3326710a40f28984ff6fe1f Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-02-08Set vnet_buffer(b0)->sw_if_index[VLIB_TX]Dave Barach1-0/+3
Change-Id: I3274c8d426113c71fbb900978b94caef85eabae1 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-08Cisco Discovery Protocol, initial working attemptDave Barach8-1/+1489
There are multiple enhancement opportunities... Change-Id: I976772dc3802f8284e8c6457c001d68184831e25 Signed-off-by: Dave Barach <dave@barachs.net>
2016-02-04ip[46].h: Remove tcp referenceKevin Paul Herbert2-8/+0
This is not used. Remove it. Change-Id: I63f705db6bc10137d6e28977aa75e60f4e13cfe8 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-02-03p1.c: Remove log() symbolKevin Paul Herbert1-1/+0
This symbol is defined in the math library, and is a compiler built-in. Plug-ins that need it should link with -lm. Change-Id: I967c87ccea0e762b68ca59cfaa460f3d6e534a59 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-02-02Use per-thread vlib_mainShesha Sreenivasamurthy2-7/+11
Change-Id: I8bee9f6661878a74a0375944ac01c9cb3a0acfbf Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-02-01p1.c: Add symbols useful to IP protocol modulesKevin Paul Herbert1-1/+11
Add some symbols which are useful for clients of the IP layer. Change-Id: I26599a67bb9f89c883ac4ea6e630111dfac5e2c5 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-02-01remove igb_uio static pci id table patch, use new_id for all NICsDamjan Marion1-19/+5
Change-Id: I1db64d62c19c28b50f58f9d0b009e3e89e331f71 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-02-01Changed key of NSH VXLAN tunnel.Keith Burns (alagalah)1-1/+1
- simple patch before extending CLI for next encap tunnel lookup Change-Id: I56060185599252a1ae83cc162963b5fd5bc1b324 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-01-28Remove unused tcp.hKevin Paul Herbert3-399/+0
This was left out of 8f9e7d43d8b8e5495477e3a587f78409a4cf8808 inadvertently. Remove it now. Change-Id: I79625aeba400ccfdcfd972f454abd043c2537960 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-01-27Enable Chelsio T5 supportDamjan Marion3-2/+50
Change-Id: I4bb6ac36a8bc585677448f4b22bd1299630f95de Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-27Remove vestigal TCP implementationKevin Paul Herbert12-3437/+2
Eliot's TCP was never completed. Remove it. Change-Id: I8456ed02b55f5b3f0b93547533f7467dd2229c07 Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
2016-01-27vnet: Add field for transmit timeKevin Paul Herbert1-0/+2
Add a field in the buffer header for transmit time. High-level protocols need a consistent way to do this. Change-Id: Ifff60ee5e32eed7aa6f6ae8e6fb1dd9d7870e9ee Signed-off-by: Kevin Paul Herbert <kph@cisco.com>
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-27Fix l2output error-drop next node indexDamjan Marion1-4/+2
Change-Id: I8a79f683350b77bd56b44e37a099293033aadd15 Signed-off-by: Damjan Marion <damarion@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-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-22aarch64 CPU arch / ThunderX platform initial supportDave Barach8-6/+95
Change-Id: Ia2edd3cee2c25c26c7c47a9023744b97226434c7 Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-21PowerPC64-be arch support. Qemu ("qppc") platform support.Dave Barach6-1/+71
Change-Id: Ib0a05f9d1b08bacef09f6d7c101391737031ee0d Signed-off-by: Dave Barach <dave@barachs.net>
2016-01-20Rename vpe binary name to avoid collision with latexDamjan Marion1-1/+1
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@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-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-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-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-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-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-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>
2015-12-18Fix warnings/errors reported by clangDamjan Marion12-15/+12
Change-Id: Ifb2de64347526e3218e22067452f249ff878fd32 Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-17Add vpe-api message to get vxlan tunnel details.Dave Wallace2-0/+8
Change-Id: I3bfb84dfcb08c6ff5cb473f3ce05b91b222182a1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2015-12-16Fix warnings in policer codeDamjan Marion1-2/+2
Change-Id: Idc6e67ecc6f1b169a63a9d6c962c716a0de32acc Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-16Fix warnings in MAP-T codeDamjan Marion1-1/+1
Change-Id: If211b8b53b462d971eb683305921418224d635e8 Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-16Fix warnings in CNAT codeDamjan Marion1-2/+2
Change-Id: Iabfe38c187b67998b96fbb68f7fc2f1bfe581dfd Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-16Don't send more than one mapping req in l2output nodeDamjan Marion2-3/+17
Change-Id: I4205613818d664abb94b62a33e1353b87d5b1c7d Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-16Introduce support for DPDK 2.2Damjan Marion2-9/+32
Change-Id: Id2c7c4a949363a448a6715463dd81f701f046b93 Signed-off-by: Damjan Marion <damarion@cisco.com>
2015-12-15Remove autotools generated productsDave Barach10-40814/+0
Change-Id: I7f23b8b8e5136cb56768bac3a7473e6df5ee4993 Signed-off-by: Dave Barach <dave@barachs.net>
2015-12-15Merge "replacing all vec_sort() invocations to vec_sort_with_function()"Dave Wallace3-11/+61
2015-12-15replacing all vec_sort() invocations to vec_sort_with_function()Matus Fabian3-11/+61
Change-Id: I05895827ed52be292112484cee7d0a2591b67335 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2015-12-14Fix vhost-user input interface handlingDamjan Marion1-4/+2
Change-Id: I2d4b819d959fa2ab0a2eebccb1d574bc5e1a6a6d Signed-off-by: Damjan Marion <damarion@cisco.com>