Move the punt/drop nodes into vlib 16/18116/5
authorNeale Ranns <nranns@cisco.com>
Fri, 1 Mar 2019 15:53:11 +0000 (15:53 +0000)
committerDamjan Marion <dmarion@me.com>
Wed, 13 Mar 2019 14:00:30 +0000 (14:00 +0000)
commit22e1f1d136790f1ee974ace7e299492582921b66
treea5183a7dbc5d14439ee03b7764be8220c31fd315
parentaee73648cf524f2627a8680ca26a68d6a2c8e164
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 <nranns@cisco.com>
src/vlib/CMakeLists.txt
src/vlib/drop.c [new file with mode: 0644]
src/vnet/interface_output.c