From 22e1f1d136790f1ee974ace7e299492582921b66 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 1 Mar 2019 15:53:11 +0000 Subject: Move the punt/drop nodes into vlib The core VLIB library now has a means to dispoe of buffers. the vlib punt/drop node counts node errors. the vnet punt/drop node counts interface errors. speed up both nodes with the usual reciepe. before: error-drop 8.33e1 after: drop 4.51e1 error-drop 6.81e0 Change-Id: If2e919458a3f2e9d71dbf9c6f1352dafb186a05b Signed-off-by: Neale Ranns --- src/vlib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vlib/CMakeLists.txt') diff --git a/src/vlib/CMakeLists.txt b/src/vlib/CMakeLists.txt index 86fc965ba97..ff64baea980 100644 --- a/src/vlib/CMakeLists.txt +++ b/src/vlib/CMakeLists.txt @@ -49,6 +49,7 @@ add_vpp_library(vlib buffer.c cli.c counter.c + drop.c error.c format.c i2c.c @@ -74,6 +75,9 @@ add_vpp_library(vlib vmbus/vmbus.c ${VMBUS_SOURCE} + MULTIARCH_SOURCES + drop.c + INSTALL_HEADERS buffer_funcs.h buffer.h -- cgit 1.2.3-korg