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
This commit is contained in:
Dave Barach
2020-04-27 09:59:04 -04:00
committed by Florin Coras
parent 83ceffcd98
commit ce32770251
11 changed files with 0 additions and 15 deletions

View File

@ -16,7 +16,6 @@
#include <vnet/vnet.h> #include <vnet/vnet.h>
#include <vppinfra/vec.h> #include <vppinfra/vec.h>
#include <vppinfra/format.h> #include <vppinfra/format.h>
#include <vlib/unix/cj.h>
#include <assert.h> #include <assert.h>
#include <vnet/ip/ip.h> #include <vnet/ip/ip.h>

View File

@ -15,7 +15,6 @@
#include <vnet/vnet.h> #include <vnet/vnet.h>
#include <vppinfra/vec.h> #include <vppinfra/vec.h>
#include <vppinfra/format.h> #include <vppinfra/format.h>
#include <vlib/unix/cj.h>
#include <assert.h> #include <assert.h>
#include <vnet/ethernet/ethernet.h> #include <vnet/ethernet/ethernet.h>

View File

@ -16,7 +16,6 @@
#include <vnet/vnet.h> #include <vnet/vnet.h>
#include <vppinfra/vec.h> #include <vppinfra/vec.h>
#include <vppinfra/format.h> #include <vppinfra/format.h>
#include <vlib/unix/cj.h>
#include <assert.h> #include <assert.h>
#include <vnet/ip/ip.h> #include <vnet/ip/ip.h>

View File

@ -15,7 +15,6 @@
#include <vnet/vnet.h> #include <vnet/vnet.h>
#include <vppinfra/vec.h> #include <vppinfra/vec.h>
#include <vppinfra/format.h> #include <vppinfra/format.h>
#include <vlib/unix/cj.h>
#include <assert.h> #include <assert.h>
#define __USE_GNU #define __USE_GNU

View File

@ -61,7 +61,6 @@ add_vpp_library(vlib
error.c error.c
format.c format.c
handoff_trace.c handoff_trace.c
i2c.c
init.c init.c
linux/pci.c linux/pci.c
linux/vfio.c linux/vfio.c
@ -78,7 +77,6 @@ add_vpp_library(vlib
threads.c threads.c
threads_cli.c threads_cli.c
trace.c trace.c
unix/cj.c
unix/cli.c unix/cli.c
unix/input.c unix/input.c
unix/main.c unix/main.c
@ -103,7 +101,6 @@ add_vpp_library(vlib
error.h error.h
format_funcs.h format_funcs.h
global_funcs.h global_funcs.h
i2c.h
init.h init.h
linux/vfio.h linux/vfio.h
log.h log.h
@ -119,7 +116,6 @@ add_vpp_library(vlib
threads.h threads.h
trace_funcs.h trace_funcs.h
trace.h trace.h
unix/cj.h
unix/mc_socket.h unix/mc_socket.h
unix/plugin.h unix/plugin.h
unix/unix.h unix/unix.h

View File

@ -44,9 +44,6 @@
#include <vppinfra/tw_timer_1t_3w_1024sl_ov.h> #include <vppinfra/tw_timer_1t_3w_1024sl_ov.h>
#include <vlib/unix/unix.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 /* Actually allocate a few extra slots of vector data to support
speculative vector enqueues which overflow vector data in next frame. */ speculative vector enqueues which overflow vector data in next frame. */

View File

@ -22,13 +22,9 @@
#include <vlib/vlib.h> #include <vlib/vlib.h>
#include <vlib/threads.h> #include <vlib/threads.h>
#include <vlib/unix/cj.h>
#include <vlib/stat_weak_inlines.h> #include <vlib/stat_weak_inlines.h>
DECLARE_CJ_GLOBAL_LOG;
u32 u32
vl (void *p) vl (void *p)
{ {