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
committed by
Florin Coras
parent
83ceffcd98
commit
ce32770251
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user