vpp.git
7 years agoVPP-91 fix sr tunnel add_del collision check 65/1265/3
Chris Luke [Thu, 2 Jun 2016 15:00:41 +0000 (11:00 -0400)]
VPP-91 fix sr tunnel add_del collision check

The add_del function was not properly checking if a tunnel already
existed; instead it was checking if the given tunnel name existed.
If no tunnel name was given it flat out refused to add a tunnel
even though that is optional.

Cleanup the add/del parameter validation to "do what I expect" it
to do:

When adding a tunnel:
- If a "name" is given, it must not exist.
- The "key" is always checked, and must not exist.

When deleting a tunnel:
- If the "name" is given, and it exists, then use it.
- If the "name" is not given, use the "key".
- If the "name" and the "key" are given, then both must point to the
  same thing.

Change-Id: I9b48ae0203f9664cf8af0f7dc49bf480ddec10d5
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agoVPP-100: Fix IPv4 local handling of IP fragmented packets 59/1359/2
John Lo [Thu, 2 Jun 2016 13:28:37 +0000 (09:28 -0400)]
VPP-100: Fix IPv4 local handling of IP fragmented packets

Before VPP is enhenced to do IP reassembly of local packets, just set
the protocol path to "experimental" for now so they will be error-punted
as unknow IP protocol.

Change-Id: I2ffefb0b4205357653ba24d80c722cafd5972fba
Signed-off-by: John Lo <loj@cisco.com>
7 years agoVPP-105 Map API SHM uid/gid name to number 48/1348/1
Chris Luke [Wed, 1 Jun 2016 23:25:49 +0000 (19:25 -0400)]
VPP-105 Map API SHM uid/gid name to number

When providing uid or gid for the API SHM, if non-numeric values
are given look them up in the local system user database and if
found use the values discovered.

Change-Id: I95152f58646643bc44d2af4cbad6338901935c69
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agoVPP-83 Allow non-privileged clients to use the vpp binary API. 46/1346/2
Dave Barach [Tue, 31 May 2016 18:05:46 +0000 (14:05 -0400)]
VPP-83 Allow non-privileged clients to use the vpp binary API.

Use the command line argument "api-segment { uid <nnn> gid <nnn> }" to
configure shared memory segment file ownership. Defaults to uid = gid
= 0.  Shared-memory segments are explicitly set to 0770 mode, aka
"rwxrwx---".

Change-Id: Ic5d596b68139add61e7de6ace035c57dfd030111
Signed-off-by: Dave Barach <dave@barachs.net>
7 years agoVPP-98 Dedicated storage for VXLAN over IPv6 hash keys 25/1325/3
Chris Luke [Tue, 31 May 2016 14:42:14 +0000 (10:42 -0400)]
VPP-98 Dedicated storage for VXLAN over IPv6 hash keys

When creating VXLAN over IPv6 the code was using storage for the
hash key that could later be moved. Since the key is larger than
the word size this was being referenced as a pointer; when the
storage moves that breaks the hash.

Instead allocate dedicated storage for the key.

This patch also includes other minor cleanups, including using
clib_memcpy in places it should be used and some whitespace
fixes.

Change-Id: I579f2cb515853ef56dedcca350fcad08aa6111a9
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agovagrant: disable automatic update on start 40/1340/1
Thomas Monjalon [Wed, 1 Jun 2016 08:02:04 +0000 (10:02 +0200)]
vagrant: disable automatic update on start

The box update requires an internet connection.
It is better to disable it on vagrant start.
It still can be updated with the manual command:
vagrant box update

Change-Id: I04e05ea08477bf36f25672c54d0a057d995d4a42
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
7 years agoFix build-root/scripts/version to not have spurious ~ 38/1338/2
Ed Warnicke [Tue, 31 May 2016 21:04:16 +0000 (14:04 -0700)]
Fix build-root/scripts/version to not have spurious ~

Change-Id: Id28f134e3a4aa19c5756014d53004501db0d0c88
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoFix u16 type handling in jvpp 16/1316/2
Marek Gradzki [Mon, 30 May 2016 19:52:37 +0000 (21:52 +0200)]
Fix u16 type handling in jvpp

Change-Id: I6e5ed2562c65dde6c9f6f085c8b9d40f80684894
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoVPP-102: vHost reconnect to previously used sockets on VPP restart 33/1333/2
John Lo [Tue, 31 May 2016 19:42:40 +0000 (15:42 -0400)]
VPP-102: vHost reconnect to previously used sockets on VPP restart

Change-Id: Ida11bddb52268e0e8513b7b379eeed6103bd48f1
Signed-off-by: John Lo <loj@cisco.com>
7 years agoVPP97: Flooding of pkts with multiple buffers in BD with BVI crashes VPP 36/1336/1
John Lo [Tue, 31 May 2016 20:25:13 +0000 (16:25 -0400)]
VPP97: Flooding of pkts with multiple buffers in BD with BVI crashes VPP

The loopback interface should use vnet_interface_output_no_flatten so
follow-on buffers of a jumbo packet do not get put on the output frame
and be sent back to ethernet-input or l2-input node.

The replication_recycle_callback() function should not assume follow-on
buffers of a jumbo packet are on the buffer free list.

Change-Id: Ide646a6d9b43e82782c0581ea3022a9e70f82582
Signed-off-by: John Lo <loj@cisco.com>
7 years agoFix hash table bogus read in ip6 vxlan-gpe 23/1323/3
Florin Coras [Tue, 31 May 2016 12:53:44 +0000 (15:53 +0300)]
Fix hash table bogus read in ip6 vxlan-gpe

- consistent use of hash_*_mem methods.
- tunnel setup copies the key from the wrong location
- remove extraneous storage for keys copied from the vxlan
  node that is not applicable here

Change-Id: I419fd30a52ba387104abe467c296de85233823d1
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agoAdd CLI/API for clearing all remote mappings 21/1321/2
Filip Tehlar [Mon, 30 May 2016 13:57:40 +0000 (15:57 +0200)]
Add CLI/API for clearing all remote mappings

Change-Id: I5aef12d3a9c8daefff52e5f958c504f5d2ff9fd0
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
7 years agoONE-15: Fix duplicate locator, refactoring locator 22/1322/1
Andrej Kozemcak [Thu, 26 May 2016 10:20:08 +0000 (12:20 +0200)]
ONE-15: Fix duplicate locator, refactoring locator

Check duplication locator and clean after locator when remove it.
Refactoring locator_set code.

Change-Id: Ib83cbcddc7a363a60fa5b6a366203d0dc0ea7ca6
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
7 years agoONE-16: Locators are not properly cleaned 01/1301/2
Filip Tehlar [Mon, 30 May 2016 08:39:20 +0000 (10:39 +0200)]
ONE-16: Locators are not properly cleaned

Change-Id: Ia6eaaa9a741e84cbd0ff957cfd9a7143a3d0a977
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
7 years agoAdd Dump API for VxLAN-GPE tunnel 99/1299/2
Hongjun Ni [Mon, 30 May 2016 11:45:51 +0000 (19:45 +0800)]
Add Dump API for VxLAN-GPE tunnel

Change-Id: I4913fe6c4b1280939147887896aea9b79a9f7f10
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoVPP-84 af_packet retry on EAGAIN, count on errors 34/1234/4
Chris Luke [Tue, 24 May 2016 01:30:26 +0000 (21:30 -0400)]
VPP-84 af_packet retry on EAGAIN, count on errors

When af_packet signals the kernel that there are packets in the tx
ring with sendto() the kernel sometimes responds with EAGAIN.
Previously the af_packet driver would treat any error from sendto()
as fatal.

Whilst there's not much we can do about this, count the errors
and let's try to not die on the spot or sit in a loop forever.

Change-Id: Id76ba5e07b744f1ed6f348ec838a1ac506a381c9
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agoVPP-96 ENID driver update for rx of jumbo pkts using muliple mbuf's 96/1296/1
John Lo [Sat, 28 May 2016 02:07:44 +0000 (22:07 -0400)]
VPP-96 ENID driver update for rx of jumbo pkts using muliple mbuf's

Change-Id: I0e985b079da3224f4886e3ee2cece4d046e291eb
Signed-off-by: John Lo <loj@cisco.com>
7 years agoFix VxLAN-GPE add_del API issue 95/1295/1
Hongjun Ni [Sat, 28 May 2016 17:27:14 +0000 (01:27 +0800)]
Fix VxLAN-GPE add_del API issue

Change-Id: I4210b3320d3fe841ba7ff1349b6a52affc047338
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoVPP-95 VXLAN add_del API intermittent failure 89/1289/1
Chris Luke [Fri, 27 May 2016 16:11:24 +0000 (12:11 -0400)]
VPP-95 VXLAN add_del API intermittent failure

The VXLAN add_del API sometimes rejects calls with
VNET_API_ERROR_SAME_SRC_DST when the two parameters are obviously
different. This is because the API code is checking the "is_ip6" flag in
a not-yet initialized area of memory leading to random results.

Also fix help text for vxlan_add_del_tunnel in vat.

This does not change the API; it repairs intermittent failure.

Change-Id: I41863694f478c1f669078f82f69d8cca4841c989
Signed-off-by: Chris Luke <chrisy@flirble.org>
7 years agoFix dpdk march/mtune defaults 85/1285/1
Damjan Marion [Fri, 27 May 2016 08:17:45 +0000 (10:17 +0200)]
Fix dpdk march/mtune defaults

Change-Id: I6e6940c8467a331b37da153bb8a2154c1d165261
Signed-off-by: Damjan Marion <damarion@cisco.com>
7 years agoAdd show command for LISP map resolvers 81/1281/1
Filip Tehlar [Thu, 26 May 2016 14:47:11 +0000 (16:47 +0200)]
Add show command for LISP map resolvers

Change-Id: I3ed6269f9a307b50b56ce04defc2576a139c6add
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
7 years agoMove dpdk startup config data to separate struct 64/1264/1
Damjan Marion [Wed, 25 May 2016 16:40:13 +0000 (18:40 +0200)]
Move dpdk startup config data to separate struct

This is preparation work for moving DPDK
EAL and mempool initialization to vlib.

Change-Id: I2dc35aa53edec0e07fc2650d630aa625831154c3
Signed-off-by: Damjan Marion <damarion@cisco.com>
7 years agoONE-14: Fix crash when re-enable Lisp 55/1255/1
Andrej Kozemcak [Wed, 25 May 2016 10:43:21 +0000 (12:43 +0200)]
ONE-14: Fix crash when re-enable Lisp

Change-Id: Ib95338d7055dea9036eddb7dff5ca7ccbcb35639
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
7 years agoAdd Vxlan-Gpe over IPv6 36/1236/5
Hongjun Ni [Tue, 24 May 2016 17:16:19 +0000 (01:16 +0800)]
Add Vxlan-Gpe over IPv6

PatchSet4: consolidate code as per comments.

PatchSet3: simplify the code using ip_udp_encap_one/two

PatchSet2: consolidate comments and indent style

Change-Id: Ia8b43f854a46d77e838e198566200ad28fd72472
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoVPP-86: fix array copy in generated JNI code 39/1239/7
Marek Gradzki [Tue, 24 May 2016 11:32:26 +0000 (13:32 +0200)]
VPP-86: fix array copy in generated JNI code

Change-Id: Ic67b3c0623d98c5ee3f1ffa1e1bd9cfb96b233bd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
7 years agoFix an issue in format_vxlan_gpe_tunnel 35/1235/1
Hongjun Ni [Mon, 23 May 2016 18:54:10 +0000 (02:54 +0800)]
Fix an issue in format_vxlan_gpe_tunnel

Change-Id: Ib283c75505b787f715e34f5b325dda8a6c2fa125
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
7 years agoNative VPP driver for Intel Niantic family of NICs 31/1231/3
Damjan Marion [Thu, 12 May 2016 20:14:45 +0000 (22:14 +0200)]
Native VPP driver for Intel Niantic family of NICs

Available only in vpp_lite platform

Change-Id: I09d112af5f7f4521ec25196ecdd8c02c20eedd5f
Signed-off-by: Damjan Marion <damarion@cisco.com>
7 years agoMove rte_delay_us_override so it overrides DPDK 19/1219/2
Todd Foggoa [Sat, 21 May 2016 02:10:34 +0000 (22:10 -0400)]
Move rte_delay_us_override so it overrides DPDK

The current location in the vnet dynamic library does not override the dpdk
weak function as intented. Moving this function to the main app allows the
linker to find the non-weak symbol and override it.

Change-Id: I96c6dc5af2e511cc1f84bd66419c5a4ac96a9541
Signed-off-by: Todd Foggoa <tfoggoa@cisco.com>
7 years agoCreate /plugins directory, move sample-plugin 29/1229/1
Dave Barach [Mon, 23 May 2016 15:01:58 +0000 (11:01 -0400)]
Create /plugins directory, move sample-plugin

Change-Id: Ia58923c7c98dc04c027c8c5879a4dc5f5b144b8a
Signed-off-by: Dave Barach <dave@barachs.net>
7 years agoVPP-81: Print interface name after creating an interface with CLI 24/1224/2
Pierre Pfister [Mon, 23 May 2016 11:51:54 +0000 (12:51 +0100)]
VPP-81: Print interface name after creating an interface with CLI

When the CLI is used to create an interface, and whend the operation
succeeds, the newly created interface name is printed-out.

The patch includes the following interfaces types:
- AF_PACKET
- Vhost User
- Netmap
- GRE
- L2TP
- MPLS-GRE
- Loopback

Change-Id: Id518c139ec63a261eae81d2ed95c4cd1f10b5157
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
7 years agoAdd LISP RTR support 11/1211/2
Filip Tehlar [Thu, 19 May 2016 12:25:44 +0000 (14:25 +0200)]
Add LISP RTR support

Change-Id: I8a3770f8f1cd1fde6765b81d35aacaaf4ff98b82
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
7 years agoChanged JVPP interface for construction and connectivity 93/1093/6
Tibor Sirovatka [Fri, 13 May 2016 08:17:51 +0000 (10:17 +0200)]
Changed JVPP interface for construction and connectivity

Simplified construction, autoconnected; possible connect/close
See updated sample test cases with changed interface usage

Change-Id: Ib53e855880bc414868aa2b9bb8f5df086917e375
Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
8 years agoAdd per-thread, per-node runtime stats serialization 02/1102/6
Dave Barach [Fri, 13 May 2016 16:55:01 +0000 (12:55 -0400)]
Add per-thread, per-node runtime stats serialization

Change-Id: Ic4009cdbac67b7cd53c88079439496b9d9dfaa35
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoVPP-80: netmap binary API message element name collision 18/1218/1
Dave Barach [Fri, 20 May 2016 18:43:57 +0000 (14:43 -0400)]
VPP-80: netmap binary API message element name collision

if_name collides w/ ietf-interfaces.yang member name, causing a build-break
in an existing yang-model-based app. Rename to "netmap_if_name".

Change-Id: Id386eacd77343dd15a868c28dacd2b0e4523bc9b
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoVPP-79: fix cross-compilation build break 16/1216/2
Dave Barach [Fri, 20 May 2016 16:56:41 +0000 (12:56 -0400)]
VPP-79: fix cross-compilation build break

.../packages/dpdk.mk must not set $(TARGET). The Makefile fragment
really only needed to use a temporary variable to control the
dpdk Makefile. Simple fix: set $(DPDK_PLATFORM_TARGET) instead.

Change-Id: Ieb61b603bc36ed708a1b1237dc6bc503e90a0b7b
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoVPP-77 Creating VXLAN over IPv6 via API fails 15/1215/1
Chris Luke [Fri, 20 May 2016 16:13:02 +0000 (12:13 -0400)]
VPP-77 Creating VXLAN over IPv6 via API fails

Tunnel dst is incorrectly being set to the requested src address.

Change-Id: I44e2ee475f0572e78d148951c5d4684e85e08ce7
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoAdd policer dump API 90/1190/2
Matus Fabian [Thu, 19 May 2016 06:40:37 +0000 (23:40 -0700)]
Add policer dump API

JIRA: VPP-67

Change-Id: I8fced60a884f1585b1f51002832d47631eea9571
Signed-off-by: Matus Fabian <matfabia@cisco.com>
8 years agoVPP-74 Fix signedness issue when terminal resizes 04/1204/1
Chris Luke [Thu, 19 May 2016 18:23:25 +0000 (14:23 -0400)]
VPP-74 Fix signedness issue when terminal resizes

When re-locating our current viewport into the pager buffer we need to
verify that the new viewport is within the boundaries of the index.
This condition is considered very rare, but nontheless the check is needed.

Unfortunately I assumed the variable was signed; it is not, and the
subtraction can in some cases cause the value to be negative. This is
therefore a bonafide semantic error that may cause problems.

This patch reworks the logic to avoid having to change it to be signed.

Change-Id: I26f0747d38dcc43dd9c092d50f2489b122009e7b
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoRemove unused PCI code 03/1203/2
Damjan Marion [Thu, 19 May 2016 17:19:41 +0000 (19:19 +0200)]
Remove unused PCI code

Change-Id: I1d91c9982823758059f9d6aa699982253930e7ba
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoAdd support for multiple microarchitectures in single binary 75/1075/6
Damjan Marion [Wed, 11 May 2016 21:07:18 +0000 (23:07 +0200)]
Add support for multiple microarchitectures in single binary

 * compiler -march= parameter is changed from native to corei7
   so code is always genereted with instructions which are available
   on the Nehalem microarchitecture (up to SSE4.2)

 * compiler -mtune= parameter is added so code is optimized for
   corei7-avx which equals to Sandy Bridge microarchitecture

 * set of macros is added which allows run-time detection of available
   cpu instructions (e.g. clib_cpu_supports_avx())

 * set of macros is added which allows us to clone graph node funcitons
   where cloned function is optmized for different microarchitecture
   Those macros are using following attributes:
     __attribute__((flatten))
     __attribute__((target("arch=core-avx2)))

   I.e. If applied to foo_node_fn() macro will generate cloned
   functions foo_node_fn_avx2() and foo_node_fn_avx512() (future)
   It will also generate function void * foo_node_fn_multiarch_select()
   which detects available instruction set and returns pointer to the
   best matching function clone.

Change-Id: I2dce0ac92a5ede95fcb56f47f3d1f3c4c040bac0
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoAdd netmap API 66/1066/5
Matus Fabian [Wed, 11 May 2016 11:49:46 +0000 (04:49 -0700)]
Add netmap API

JIRA: VPP-66

Change-Id: I421529fa8eafe5268745a34a4fcd40156defcdf8
Signed-off-by: Matus Fabian <matfabia@cisco.com>
8 years agoRework of the old PCI code 78/1178/2
Damjan Marion [Thu, 12 May 2016 20:11:03 +0000 (22:11 +0200)]
Rework of the old PCI code

 * adds support for VPP native PCI drivers using
   standard uio_pci_generic kernel driver
 * adds generic PCI interrupt callback
 * splits code to generic PCI handling and linux specific
 * adds new debug cli 'show pci [all]'

Change-Id: I447c2285e319e9725d70688c1b70c9dedda51fdc
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoSet java artifact versions to 16.09 for master 75/1175/2
Ed Warnicke [Tue, 17 May 2016 15:54:10 +0000 (10:54 -0500)]
Set java artifact versions to 16.09 for master

The nature of Java artifact versioning is different
that rpm/apt versioning in that artifacts are
traditionally numbered:

${NEXT_RELEASE_NUMBER)-SNAPSHOT

This patch sets ${NEXT_RELEASE_NUMBER) correctly for master.

Change-Id: Iab34c26c7440d5e04d6d05f46598832e9adf6920
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agodpdk/Makefile - Allow dpdk target to be set according to the platform 17/1117/3
Christophe Fontaine [Wed, 11 May 2016 08:40:33 +0000 (08:40 +0000)]
dpdk/Makefile - Allow dpdk target to be set according to the platform

Allows DPDK parameters to be overriden from the platform
definition.

$(PLATFORM)_dpdk_arch = "armv7a"
$(PLATFORM)_dpdk_target = "arm-armv7a-linuxapp-gcc"
$(PLATFORM)_dpdk_make_extra_args = "CONFIG_RTE_EAL_IGB_UIO=y"

Change-Id: I8c0f233942744cb82ca3ed2d65e33acee845cb4e
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
8 years agodpdk/build - 32bits compilation 18/1118/3
Christophe Fontaine [Wed, 11 May 2016 08:36:24 +0000 (08:36 +0000)]
dpdk/build - 32bits compilation

In vnet/vnet/devices/dpdk/device.c, post 2 event data instead of
merging them into 1 u64.

Change-Id: I8b1d61b894279fb6eb57bb82a05affc14360e6b8
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
8 years agodpdk/init - Add compatibility to non numa architecture 16/1116/3
Christophe Fontaine [Fri, 13 May 2016 07:14:08 +0000 (07:14 +0000)]
dpdk/init - Add compatibility to non numa architecture

On non numa aware platforms, the path "/sys/devices/system/node/node%u"
does not exist: the "free_hugepages" count is available in "/sys/kernel/mm/".

Change-Id: Id62018a2bd0937d267663699c620e89d02c26a72
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
8 years agoFix output feature issue where opque field is already used by previous node 69/1169/2
Damjan Marion [Tue, 17 May 2016 10:02:07 +0000 (12:02 +0200)]
Fix output feature issue where opque field is already used by previous node

Change-Id: I1470993668fa8c740229149bbb227bd1e410d5ab
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agovppinfra - ARM: cycle count 64bits register is only available on ARMv8 15/1115/2
Christophe Fontaine [Fri, 13 May 2016 07:07:28 +0000 (07:07 +0000)]
vppinfra - ARM: cycle count 64bits register is only available on ARMv8

Change-Id: I7d622e591020a482af68667f4d1ed2056258d2c8
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
8 years agoVPP-23 Re-work pager line collation 54/1154/6
Chris Luke [Sat, 14 May 2016 14:13:34 +0000 (10:13 -0400)]
VPP-23 Re-work pager line collation

To better handle lines longer than the terminal width, re-work how
the pager collates lines. We still store each output line in a vector
or lines; additionally we index the start and end of displayable lines.

The index then becomes the data to work out what to display.

If the terminal is resized this index is rebuilt and the current page
redisplayed and an attempt made to keep the current top-of-screen line
in place.

Change-Id: Icc6f4f72dabad89682cd82be88adb03eadb7811d
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoVPP-61 Patch2/2 Removing NSH from VPP for move to NSH_SFC 52/1152/3
Keith Burns (alagalah) [Mon, 16 May 2016 16:53:13 +0000 (09:53 -0700)]
VPP-61 Patch2/2 Removing NSH from VPP for move to NSH_SFC

Change-Id: I76359b621b2edc599cf2e9ee845d97293a5d46f7
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoVPP-61 Patch1/2 - Remove NSH from VPP 48/1148/8
Keith Burns (alagalah) [Mon, 16 May 2016 14:47:14 +0000 (07:47 -0700)]
VPP-61 Patch1/2 - Remove NSH from VPP

- Had issues with original patch and CSIT, breaking into
-- Makefile and API changes
-- Follow up patch removing NSH directory

Change-Id: I6c2f49a74d59b97ce4ea43799cc6f01f5cb1d5a2
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoVPP-58: Fix build on AMD Opteron 49/1149/1
Damjan Marion [Mon, 16 May 2016 14:52:55 +0000 (16:52 +0200)]
VPP-58: Fix build on AMD Opteron

Change-Id: Ib3e10fd4c27dde4f90b8d156f0c8547787ad46e2
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoAdd build number to VPP version if BUILD_NUMBER var is set 45/1145/3
Damjan Marion [Mon, 16 May 2016 13:55:36 +0000 (15:55 +0200)]
Add build number to VPP version if BUILD_NUMBER var is set

Change-Id: I73ecc12224fdfb08b7aa6118761b368577ce33d5
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoAdd configure policer API 99/1099/3
Matus Fabian [Fri, 13 May 2016 12:44:48 +0000 (05:44 -0700)]
Add configure policer API

JIRA: VPP-67

Change-Id: I04560d78e2eb131cd6cc31472b70b3d3e8fdd79a
Signed-off-by: Matus Fabian <matfabia@cisco.com>
8 years agoVPP-68: L2 Rewrite: Support for chained classify tables 91/1091/3
Pierre Pfister [Fri, 13 May 2016 06:47:06 +0000 (07:47 +0100)]
VPP-68: L2 Rewrite: Support for chained classify tables

The classifying capabilities are pretty limited if only a single table can be used.
This patch adds support for chained classify tables to L2 Rewrite feature.

Change-Id: Ib678fe2028f17b441adb75d85bf3e31185e42c59
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
8 years agoVPP-69: Create fib or bridge domain with arbitrary ID 55/1055/3
Pierre Pfister [Tue, 10 May 2016 16:11:22 +0000 (17:11 +0100)]
VPP-69: Create fib or bridge domain with arbitrary ID

It appeared to me that it might be usefull
to allow users to create fibs or bridge domains without
a complete knowledge of the current used IDs.

These changes define fib and bridge domain constructors
when the provided ID is ~0. In such a case, an unused ID is
used to create a new fib or bridge domain.

Change-Id: Iaba69a023296e6d17bdde45980f9db84832a3995
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
8 years agoVPP-57 Add missing license headers in doc files 22/1122/2
Chris Luke [Sat, 14 May 2016 16:06:42 +0000 (12:06 -0400)]
VPP-57 Add missing license headers in doc files

Change-Id: Icd1f8952f66d3cee027c59f3148c67f1839de306
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoVPP-64: Fix top-level "make pkg-deb" which breaks if CDPATH is set in the user's 20/1120/3
Dave Wallace [Sat, 14 May 2016 02:49:36 +0000 (22:49 -0400)]
VPP-64: Fix top-level "make pkg-deb" which breaks if CDPATH is set in the user's
bash environment.

Change-Id: Ib13e6fdafa67175937e57fad4e75e553cb1e08a3
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
8 years agoVPP-65: Fix top-level "make install-dep" to work behind a firewall / 13/1113/5
Dave Wallace [Fri, 13 May 2016 23:00:29 +0000 (19:00 -0400)]
VPP-65: Fix top-level "make install-dep" to work behind a firewall /
proxy-server on Ubuntu.

Change-Id: I3f662455728adb81ca5a079540d8a9c615a5b977
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
8 years agoONE-13: Add CLI/API for LISP static remote mappings 03/1103/3
Filip Tehlar [Fri, 13 May 2016 15:37:35 +0000 (17:37 +0200)]
ONE-13: Add CLI/API for LISP static remote mappings

Change-Id: Ic4c717af9629541bac0a0e6c65d0157619c8f578
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
8 years agoVPP-62 Add a doxy filter to enable vpe.api doc 23/1123/3
Chris Luke [Sat, 14 May 2016 16:17:12 +0000 (12:17 -0400)]
VPP-62 Add a doxy filter to enable vpe.api doc

This makes Doxygen think the API definitions are structs which is close
enough to be able to document the API methods.

It also has logic to create an indexed API page but that's disabled for
now because it duplicates the "brief" text twice in the struct doc.

Fixes a minor line numbering issue in filter_c.py.

Change-Id: If380160b73e7c10d999b35a76f55d0e27cbc91cc
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoVPP-63: clean up config scripts, remove specific hostnames 26/1126/1
Dave Barach [Sat, 14 May 2016 22:38:48 +0000 (18:38 -0400)]
VPP-63: clean up config scripts, remove specific hostnames

Change-Id: Ifb77256fa691b1a90045a10448835c09b764e74f
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoVPP-57 Add doxygen build dependencies 04/1104/2
Chris Luke [Fri, 13 May 2016 17:41:36 +0000 (13:41 -0400)]
VPP-57 Add doxygen build dependencies

Change-Id: I764d8a440c050d753e0380e139f489d3085f17f4
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoONE-7: Fix map-request encapsulation 01/1101/3
Florin Coras [Fri, 13 May 2016 16:09:56 +0000 (18:09 +0200)]
ONE-7: Fix map-request encapsulation

We now try to find the first map-resolver IP we have a route to and
decide the ip lookup node according to map-resolver IP.

Change-Id: I68fc12861dc1e9a203ebf6caefd4f053a741a785
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoWhitespace probe for CI 46/1046/3
Ed Warnicke [Mon, 9 May 2016 19:43:06 +0000 (14:43 -0500)]
Whitespace probe for CI

Change-Id: I3744ee19a21dcea2885aef2800244c93aa19763a
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoVPP-57 Add Doxygen to VPP 79/979/13
Chris Luke [Tue, 3 May 2016 20:34:59 +0000 (16:34 -0400)]
VPP-57 Add Doxygen to VPP

- Configures Doxygen.
- Adds a source filter to do magic on our use of the preprocessor to do
  constructor stuff to make Doxygen grok it better.
- Adds a convenience helper to the root Makefile.
- Adds a README.md to the root directory (and which Doxygem uses as its
  "mainpage".
- Add several other documentative files.
- Currently using SVG for call graphs, though this may have a
  load-time performance impact in browsers.

Change-Id: I25fc6fb5bf634319dcb36a7f0e32031921c125ac
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoVPP43 - NSH refactoring: Added nsh-map nodes 15/1015/22
Keith Burns (alagalah) [Fri, 6 May 2016 01:16:50 +0000 (18:16 -0700)]
VPP43 - NSH refactoring: Added nsh-map nodes

- removed vnet/vnet/nsh-gre
- removed all nsh from vnet/vnet/nsh_vxlan_gpe to
  vnet/vnet/nsh
- moved vnet/vnet/nsh_vxlan_gpe to vnet/vnet/vxlan_gpe
- added cli and binary api for VXLAN GPE tunnels
- plan to move vnet/vnet/nsh to new repo (sfc_nsh) and make plugin
- added cli for NSH (binary API will be done in sfc_nsh)
- vnet/vnet/gre will be extended in VPP-54

Change-Id: I1d27def916532321577ccd68cb982ae0d0a07e6f
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoONE-11: Fix bugs in LISP API 84/1084/5
Andrej Kozemcak [Mon, 9 May 2016 08:52:16 +0000 (10:52 +0200)]
ONE-11: Fix bugs in LISP API

- check input variables
- in locator_set dump, add support for remote locator_set

Change-Id: Ib10028e83fead358f820ae45c71b6ca4dfbe2f1e
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
8 years agoVPP-53: clang build fails in API on SR tests 88/1088/4
Damjan Marion [Thu, 12 May 2016 17:08:24 +0000 (19:08 +0200)]
VPP-53: clang build fails in API on SR tests

Change-Id: Ib3117d7b5b6b8c97acfea17ad27c965f6ce2e829
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoGenerate jvpp sources in build-root 82/1082/3
Maros Marsalek [Thu, 12 May 2016 08:31:35 +0000 (10:31 +0200)]
Generate jvpp sources in build-root

+ Fail build when JVpp does not compile

Change-Id: I4ad3ffb5d7ff6edaad89de66a9f0bd79a14fb690
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
8 years agoRevert "Whitespace change for testing CI" 81/1081/1
Ed Warnicke [Thu, 12 May 2016 04:06:05 +0000 (04:06 +0000)]
Revert "Whitespace change for testing CI"

This reverts commit cf9b712f57e3e81662e0815bd19ce19583783650.

This reverts gerrit: https://gerrit.fd.io/r/#/c/1078/

Change-Id: I4cf8c238fd81b5dc8bd077bbdd00cf72aef796ed
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoWhitespace change for testing CI 78/1078/2
Ed Warnicke [Thu, 12 May 2016 02:46:19 +0000 (21:46 -0500)]
Whitespace change for testing CI

Change-Id: I52bf3c1c8ece08a4b52fce1f34704b944f9c1888
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoJVPP - null checks changed to Objects.requireNonNull usage 41/1041/4
Tibor Sirovatka [Mon, 9 May 2016 14:41:31 +0000 (16:41 +0200)]
JVPP - null checks changed to Objects.requireNonNull usage
Review changes incorporated

Change-Id: Ia04b62144a0d3643095b518db538c7eb5137c048
Signed-off-by: Tibor Sirovatka <tsirovat@cisco.com>
8 years agoONE-9: Fix clang build errors 65/1065/2
Florin Coras [Wed, 11 May 2016 10:13:47 +0000 (12:13 +0200)]
ONE-9: Fix clang build errors

Change-Id: Icbf3e269471ee0fc1d21f842b2ea220328a0f891
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoONE-8: Fix adj signature issues 59/1059/2
Florin Coras [Tue, 10 May 2016 18:01:44 +0000 (20:01 +0200)]
ONE-8: Fix adj signature issues

When inserting routes into ip4/6 fibs, we first added a dummy adjacency
and afterwards manually updated its rewrite header to enable src/dst
forwarding. The downside to this is that the adj signature is changed
and therefore when deleting a route the adjacency signature is not
removed from adj_index_by_signature hash resulting in crash if the same
adjacency is re-inserted.

This patch avoids the issue by enforcing the insertion of 'complete'
adjacencies thereby obviating the need to update the rewrite header.

Change-Id: Ib43bfe72a65e2cf9ef7685a99596eb1d7723e543
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoONE-6: dp is not programmed when re-enabling LISP 53/1053/2
Filip Tehlar [Tue, 10 May 2016 14:58:29 +0000 (16:58 +0200)]
ONE-6: dp is not programmed when re-enabling LISP

Change-Id: I4c0c5d44168da811a713943275430a378ff46929
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
8 years agoVPP-46 Fix cut-and-paste in the debug CLI 56/1056/2
Chris Luke [Tue, 10 May 2016 14:45:10 +0000 (10:45 -0400)]
VPP-46 Fix cut-and-paste in the debug CLI

Since the move to line-mode the debug CLI was eating everything in the
input_vector but only processing upto the first newline. Cut-and-paste
type operations generally send a large block of input with multiple
newlines and thus all but the very first line were simply ignored.

This patch fixes that and also cleans up the difference between
input_vector and current_command which in turn removes a lot of cruft
from the keystroke parser.

Previously current_command was just the character accumulator inside the
char-by-char keystroke parser; complete commands were copied back to
input_vector (overwriting anything already in there).

Now, in char-by-char mode:
- input_vector is the stream of incoming bytes yet to be processed
- current_command is the accumulated characters of the next command to
  be executed; once newline is found, it is the complete command to be
  executed.

In line mode:
- input_vector and current_command are the same thing.

Change-Id: I72d21f0f3508b413879071ab186a71cef1124a2b
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoAvoid clobbering output_function by concurrent CLI sessions doing vlib_process_wait_f... 48/1048/4
Andrew Yourtchenko [Tue, 10 May 2016 10:51:34 +0000 (10:51 +0000)]
Avoid clobbering output_function by concurrent CLI sessions doing vlib_process_wait_for_event*.

A problem is easily reproducible by taking the test harness code from the commit,
and launching it in two terminals with some time overlap - the outputs will
be sent to the wrong session. This commit moves the output_function and argument
from a global structure into the process structure, thus the output_function
is not clobbered anymore and each session gets only its own output.

To ensure the callers can redirect the outputs to different destinations
(e.g. the API calls via shared memory, etc.) the existing logic
for vlib_cli_input() was retained.

To avoid the magic numbers usage in the logic that does the page-alignment
of the process stack, there are changes around the stack[] member
of vlib_process_t. Also added a compile-time assert to ensure that
the stack does indeed start on the page size multiple boundary.

Change-Id: I128680ac480735e5f214f81a884e414268e5d652
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
8 years agoONE-4: Add LISP enable/disable API/CLI 39/1039/3
Filip Tehlar [Mon, 9 May 2016 07:39:26 +0000 (09:39 +0200)]
ONE-4: Add LISP enable/disable API/CLI

This patch adds an enable/disable API/CLI for control plane
which calls similar functions for data plane. When re-enabling
it also re-populates dataplane with tunnels and interfaces.

Change-Id: Id8c3d6af90ecc0be331d502756914b1f62824046
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
8 years agoAdd af_packet API 17/1017/3
Matus Fabian [Fri, 6 May 2016 13:14:13 +0000 (15:14 +0200)]
Add af_packet API

Change-Id: I39409ae9e75fdb59d8cbbd940fa192b24eb79b6a
Signed-off-by: Matus Fabian <matfabia@cisco.com>
8 years agoONE-3: Delete dst route when src fib is empty 43/1043/2
Florin Coras [Mon, 9 May 2016 17:28:58 +0000 (19:28 +0200)]
ONE-3: Delete dst route when src fib is empty

Properly check that src fib is empty.

Change-Id: I4072169027a404cad66eaaa8450f7c18f1fa8073
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoVPP-44: iOAM service and path verification using shamir's secret sharing 85/985/4
Shwetha Bhandari [Wed, 4 May 2016 06:12:57 +0000 (08:12 +0200)]
VPP-44: iOAM service and path verification using shamir's secret sharing

Change-Id: I445ad13f8f93cb75cacc94192c4ae85c8ca14e35
Signed-off-by: Shwetha Bhandari <shwethab@cisco.com>
8 years agoONE-5: Remove unused vnet_lisp_gpe_add_del_tunnel API 33/1033/2
Florin Coras [Fri, 6 May 2016 12:22:40 +0000 (14:22 +0200)]
ONE-5: Remove unused vnet_lisp_gpe_add_del_tunnel API

Change-Id: Ib22ec807d2b74b7c3cb37f66052cd07bc4d896db
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoVPP-20: Verify valid sw_if_index in ip_address_dump. 38/1038/1
Ole Troan [Mon, 9 May 2016 10:23:45 +0000 (12:23 +0200)]
VPP-20: Verify valid sw_if_index in ip_address_dump.
        (Also checked other API calls for same error without finding any.)

Change-Id: I1062ecf8eff004efb3fad4582a00c6b512c36999
Signed-off-by: Ole Troan <ot@cisco.com>
8 years agoSwitch to using -headless JDK 12/1012/3
Ed Warnicke [Thu, 5 May 2016 23:03:27 +0000 (18:03 -0500)]
Switch to using -headless JDK

By default, jdks bring a bunch of UI related things
we don't need, so switch to headeless.

Also, use default-jdk-headless for Ubuntu after 14.04.
Use openjdk-8-jdk-headless for Ubuntu 14.04.

Change-Id: I3cf14c39c9f59dc2f1beba8dfb19971f4b67f5a6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoSwitch to using nexus.fd.io for dpdk tarball 08/1008/6
Ed Warnicke [Thu, 5 May 2016 20:19:49 +0000 (15:19 -0500)]
Switch to using nexus.fd.io for dpdk tarball

Change-Id: I9751cbb9137627491ee4bd03e0318429327c0bd8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoVPP-35 Add GRE tunnels to sw_interface_dump 19/1019/3
Chris Luke [Fri, 6 May 2016 14:12:30 +0000 (10:12 -0400)]
VPP-35 Add GRE tunnels to sw_interface_dump

GRE tunnels were missing from vpp_api_test's sw_interface_dump command.

$ sudo ./build-root/install-vpp_debug-native/vpp-api-test/bin/vpp_api_test json
vat# sw_interface_dump
[
...
  {
    "sw_if_index": 7,
    "sup_sw_if_index": 7,
    "l2_address_length": 0,
    "l2_address": [0, 0, 0, 0, 0, 0, 0, 0],
    "interface_name": "gre0",
    "admin_up_down": 1,
    "link_up_down": 0,
    "link_duplex": 0,
    "link_speed": 0,
    "mtu": 0,
    "sub_id": 0,
    "sub_dot1ad": 0,
    "sub_number_of_tags": 0,
    "sub_outer_vlan_id": 0,
    "sub_inner_vlan_id": 0,
    "sub_exact_match": 0,
    "sub_default": 0,
    "sub_outer_vlan_id_any": 0,
    "sub_inner_vlan_id_any": 0,
    "vtr_op": 0,
    "vtr_push_dot1q": 0,
    "vtr_tag1": 0,
    "vtr_tag2": 0
  }
]

Change-Id: I6f174f3c384eac464250b22f43b25be6a844aa66
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoVPP-45 Fix crash when GRE packet received on new i/f 21/1021/2
Chris Luke [Fri, 6 May 2016 15:51:54 +0000 (11:51 -0400)]
VPP-45 Fix crash when GRE packet received on new i/f

If a GRE tunnel is created, no other interface added and the GRE tunnel
is not set "up" then a crash occurs on the first packet for this tunnel
because fib_index_by_sw_if_index[] does not yet have a mapping to the fib
the new interface is in. The code to set this is missing from
gre/interface.c

Change-Id: I567ad74a2af3ea5afe4a40ed39a1d4395642f77c
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoSmall improvement to vagrant file 24/1024/2
Ed Warnicke [Fri, 6 May 2016 17:58:31 +0000 (12:58 -0500)]
Small improvement to vagrant file

Change-Id: Ia85ed0ef55cb5da118289667d7b217d8890d487e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoVPP-34 GRE traffic blackholes in encap direction 26/1026/1
Chris Luke [Fri, 6 May 2016 21:09:09 +0000 (17:09 -0400)]
VPP-34 GRE traffic blackholes in encap direction

The GRE code is missing the logic to indicate the "hardware" interface
is up. The fix is to listen for admin up/down events on the "software"
interface and reflect that into the hardware interface state.

Change-Id: If06e4f03989b2c52c32f50c11e1943e42bb2609f
Signed-off-by: Chris Luke <chrisy@flirble.org>
8 years agoCheck IP adj_index to make sure it is valid to prevent possible crash 14/1014/2
John Lo [Thu, 5 May 2016 23:55:13 +0000 (19:55 -0400)]
Check IP adj_index to make sure it is valid to prevent possible crash

Change-Id: I439aac05638fd40e314bec8756e42a32c436321c
Signed-off-by: John Lo <loj@cisco.com>
8 years agoFix vpp_lite build caused by missing definition of unlikely macro 09/1009/1
Damjan Marion [Thu, 5 May 2016 20:49:38 +0000 (22:49 +0200)]
Fix vpp_lite build caused by missing definition of unlikely macro

Change-Id: I11b34e171c1c7907dd3faec219866418b4e792f6
Signed-off-by: Damjan Marion <damarion@cisco.com>
8 years agoONE-2: Add new LISP dump API for lisp gpe 86/986/5
Andrej Kozemcak [Mon, 2 May 2016 10:14:33 +0000 (12:14 +0200)]
ONE-2: Add new LISP dump API for lisp gpe

API:
lisp_gpe_enable_disable_dump

Change-Id: I1c8e78f00f9a3f99c1f2f54884af565292e4ccf8
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
8 years agoVPP-39 - refactoring of NSH into own folder 95/995/6
Keith Burns (alagalah) [Wed, 4 May 2016 23:11:38 +0000 (16:11 -0700)]
VPP-39 - refactoring of NSH into own folder

- common header files and structs used in both GRE and VXLAN-GPE

Change-Id: I06d0b773e936fb011408817237059f24a4beb412
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoNETMAP: Some fixes 51/951/6
Mohsin Kazmi [Mon, 2 May 2016 12:04:57 +0000 (14:04 +0200)]
NETMAP: Some fixes

1) Correct the NIOCRXSYNC macro on receive side from NIOCTXSYNC.
2) Flush the pending messages in the tx rings.

Change-Id: I581040d03b1633a3d6fb22fa1fb285bcb7975afb
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
8 years agoVPP-42: VPP crashes in IPsec code when running multithreaded 88/988/2
Matthew Smith [Sun, 1 May 2016 19:52:08 +0000 (14:52 -0500)]
VPP-42: VPP crashes in IPsec code when running multithreaded

Change-Id: Ib231642cfead5f5e8e45508361a11c87aad83b51
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
8 years agoHONEYCOMB-10: fix issues with FindClass in multithreaded environments 76/976/6
Marek Gradzki [Tue, 3 May 2016 15:05:27 +0000 (17:05 +0200)]
HONEYCOMB-10: fix issues with FindClass in multithreaded environments

Added jclass reference caching and updated JNI version to 1.8

Change-Id: Ie8dbbd4b91b90bf9e4e9a6148313e46056b0d67e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoVPP-12: only remove vpp-related files from /dev/shm 89/989/1
Dave Barach [Wed, 4 May 2016 13:42:07 +0000 (09:42 -0400)]
VPP-12: only remove vpp-related files from /dev/shm

Change-Id: I1b6983a6d23d3d2635814cdd307efa25cd5c8b7b
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoENIC driver patch to set PKT_RX_VLAN_PKT only if pkt passed has VLAN tag 81/981/2
John Lo [Tue, 3 May 2016 21:47:48 +0000 (17:47 -0400)]
ENIC driver patch to set PKT_RX_VLAN_PKT only if pkt passed has VLAN tag

Change-Id: I72475bfe50e42886ffa8fb6e58eb8192892fa381
Signed-off-by: John Lo <loj@cisco.com>
8 years agoFix for unattended in Makefile 80/980/3
Ed Warnicke [Tue, 3 May 2016 21:47:50 +0000 (16:47 -0500)]
Fix for unattended in Makefile

Also works around verify

Change-Id: I79ac470ec3fa9943c3a0913ebfaaf91176eb9a81
Signed-off-by: Ed Warnicke <eaw@cisco.com>