diff options
author | Damjan Marion <damarion@cisco.com> | 2018-07-19 17:52:31 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-07-19 18:26:01 +0000 |
commit | 4d56e059f78b991cb19ec4e5cf4a07a5607a0642 (patch) | |
tree | be16195b2caf692762cee9d1f7c8c00f53569d79 /src/vnet/handoff.h | |
parent | a17158b8723ea9b0e553821dde338969290d33e7 (diff) |
Cleanup of handoff code
- removed handoff-dispatch node
- removed some unused buffer metadata fields
- enqueue to thread logic moved to inline function
Change-Id: I7361e1d88f8cce74cd4fcec90d172eade1855cbd
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/handoff.h')
-rw-r--r-- | src/vnet/handoff.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vnet/handoff.h b/src/vnet/handoff.h index 04ba8bfbc02..f50b86d5c6d 100644 --- a/src/vnet/handoff.h +++ b/src/vnet/handoff.h @@ -22,17 +22,6 @@ #include <vnet/ip/ip6_packet.h> #include <vnet/mpls/packet.h> -typedef enum -{ - HANDOFF_DISPATCH_NEXT_IP4_INPUT, - HANDOFF_DISPATCH_NEXT_IP6_INPUT, - HANDOFF_DISPATCH_NEXT_MPLS_INPUT, - HANDOFF_DISPATCH_NEXT_ETHERNET_INPUT, - HANDOFF_DISPATCH_NEXT_DROP, - HANDOFF_DISPATCH_N_NEXT, -} handoff_dispatch_next_t; - - static inline u64 ipv4_get_key (ip4_header_t * ip) { |