summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-04-27 09:59:04 -0400
committerFlorin Coras <florin.coras@gmail.com>2020-04-27 15:07:42 +0000
commitce32770251e4494803f2ab01d7b07801618b7bf0 (patch)
treec7d630489c36ea4ee06511bbea583e632755dd42
parent83ceffcd980494c6146ca67a0fa709b2c37ef13e (diff)
vlib: deprecate i2c and cj
i2c follows its only use case - the original 82599 driver - into extras/deprecated. cj is/was an emergency debug tool unused in several years. Move to extras/deprecated/vlib Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ib55b65373f62630db295c562974bd8f2456c3107
-rw-r--r--extras/deprecated/vlib/i2c.c (renamed from src/vlib/i2c.c)0
-rw-r--r--extras/deprecated/vlib/i2c.h (renamed from src/vlib/i2c.h)0
-rw-r--r--extras/deprecated/vlib/unix/cj.c (renamed from src/vlib/unix/cj.c)0
-rw-r--r--extras/deprecated/vlib/unix/cj.h (renamed from src/vlib/unix/cj.h)0
-rw-r--r--src/plugins/dpdk/device/common.c1
-rw-r--r--src/plugins/dpdk/device/device.c1
-rw-r--r--src/plugins/dpdk/device/flow.c1
-rw-r--r--src/plugins/dpdk/device/format.c1
-rw-r--r--src/vlib/CMakeLists.txt4
-rw-r--r--src/vlib/main.c3
-rw-r--r--src/vlib/threads.c4
11 files changed, 0 insertions, 15 deletions
diff --git a/src/vlib/i2c.c b/extras/deprecated/vlib/i2c.c
index 97f5bb21cc7..97f5bb21cc7 100644
--- a/src/vlib/i2c.c
+++ b/extras/deprecated/vlib/i2c.c
diff --git a/src/vlib/i2c.h b/extras/deprecated/vlib/i2c.h
index b79bdc75b81..b79bdc75b81 100644
--- a/src/vlib/i2c.h
+++ b/extras/deprecated/vlib/i2c.h
diff --git a/src/vlib/unix/cj.c b/extras/deprecated/vlib/unix/cj.c
index e163e1ae017..e163e1ae017 100644
--- a/src/vlib/unix/cj.c
+++ b/extras/deprecated/vlib/unix/cj.c
diff --git a/src/vlib/unix/cj.h b/extras/deprecated/vlib/unix/cj.h
index d0a1d46ee99..d0a1d46ee99 100644
--- a/src/vlib/unix/cj.h
+++ b/extras/deprecated/vlib/unix/cj.h
diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c
index f91e3bf836f..41b32a6e182 100644
--- a/src/plugins/dpdk/device/common.c
+++ b/src/plugins/dpdk/device/common.c
@@ -16,7 +16,6 @@
#include <vnet/vnet.h>
#include <vppinfra/vec.h>
#include <vppinfra/format.h>
-#include <vlib/unix/cj.h>
#include <assert.h>
#include <vnet/ip/ip.h>
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c
index c355edf6a4b..d6a001b5ded 100644
--- a/src/plugins/dpdk/device/device.c
+++ b/src/plugins/dpdk/device/device.c
@@ -15,7 +15,6 @@
#include <vnet/vnet.h>
#include <vppinfra/vec.h>
#include <vppinfra/format.h>
-#include <vlib/unix/cj.h>
#include <assert.h>
#include <vnet/ethernet/ethernet.h>
diff --git a/src/plugins/dpdk/device/flow.c b/src/plugins/dpdk/device/flow.c
index dd62ba5c73b..279468f10f8 100644
--- a/src/plugins/dpdk/device/flow.c
+++ b/src/plugins/dpdk/device/flow.c
@@ -16,7 +16,6 @@
#include <vnet/vnet.h>
#include <vppinfra/vec.h>
#include <vppinfra/format.h>
-#include <vlib/unix/cj.h>
#include <assert.h>
#include <vnet/ip/ip.h>
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index 0eb2726110a..3d6e80ff2fb 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -15,7 +15,6 @@
#include <vnet/vnet.h>
#include <vppinfra/vec.h>
#include <vppinfra/format.h>
-#include <vlib/unix/cj.h>
#include <assert.h>
#define __USE_GNU
diff --git a/src/vlib/CMakeLists.txt b/src/vlib/CMakeLists.txt
index 67d1f6d05c7..0085f64cc77 100644
--- a/src/vlib/CMakeLists.txt
+++ b/src/vlib/CMakeLists.txt
@@ -61,7 +61,6 @@ add_vpp_library(vlib
error.c
format.c
handoff_trace.c
- i2c.c
init.c
linux/pci.c
linux/vfio.c
@@ -78,7 +77,6 @@ add_vpp_library(vlib
threads.c
threads_cli.c
trace.c
- unix/cj.c
unix/cli.c
unix/input.c
unix/main.c
@@ -103,7 +101,6 @@ add_vpp_library(vlib
error.h
format_funcs.h
global_funcs.h
- i2c.h
init.h
linux/vfio.h
log.h
@@ -119,7 +116,6 @@ add_vpp_library(vlib
threads.h
trace_funcs.h
trace.h
- unix/cj.h
unix/mc_socket.h
unix/plugin.h
unix/unix.h
diff --git a/src/vlib/main.c b/src/vlib/main.c
index fb3eb108736..c3ca8b153f0 100644
--- a/src/vlib/main.c
+++ b/src/vlib/main.c
@@ -44,9 +44,6 @@
#include <vppinfra/tw_timer_1t_3w_1024sl_ov.h>
#include <vlib/unix/unix.h>
-#include <vlib/unix/cj.h>
-
-CJ_GLOBAL_LOG_PROTOTYPE;
/* Actually allocate a few extra slots of vector data to support
speculative vector enqueues which overflow vector data in next frame. */
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index 82263797d93..2f141f10d05 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -22,13 +22,9 @@
#include <vlib/vlib.h>
#include <vlib/threads.h>
-#include <vlib/unix/cj.h>
#include <vlib/stat_weak_inlines.h>
-DECLARE_CJ_GLOBAL_LOG;
-
-
u32
vl (void *p)
{