From ceab7882f8016c2407a4383f87277bad069885b1 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 19 Jan 2018 20:56:12 +0100 Subject: vlib: epoll on worker threads This patch teaches worer threads to sleep and to be waken up by kernel if there is activity on file desctiptors assigned to that thread. It also adds counters to epoll file descriptors and new debug cli 'show unix file'. Change-Id: Iaf67869f4aa88ff5b0a08982e1c08474013107c4 Signed-off-by: Damjan Marion --- src/vnet/devices/af_packet/af_packet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vnet/devices/af_packet/af_packet.h') diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h index b095e7ffcd1..18822f838db 100644 --- a/src/vnet/devices/af_packet/af_packet.h +++ b/src/vnet/devices/af_packet/af_packet.h @@ -66,6 +66,8 @@ int af_packet_delete_if (vlib_main_t * vm, u8 * host_if_name); int af_packet_set_l4_cksum_offload (vlib_main_t * vm, u32 sw_if_index, u8 set); +format_function_t format_af_packet_device_name; + /* * fd.io coding-style-patch-verification: ON * -- cgit 1.2.3-korg