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/buffer.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/buffer.h')
-rw-r--r-- | src/vnet/buffer.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 9d45c7ee354..b4ce9c79c87 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -51,7 +51,6 @@ _( 3, VLAN_2_DEEP, "vlan-2-deep") \ _( 4, VLAN_1_DEEP, "vlan-1-deep") \ _( 5, SPAN_CLONE, "span-clone") \ - _( 6, HANDOFF_NEXT_VALID, "handoff-next-valid") \ _( 7, LOCALLY_ORIGINATED, "local") \ _( 8, IS_IP4, "ip4") \ _( 9, IS_IP6, "ip6") \ @@ -88,7 +87,6 @@ _(ip) \ _(l2) \ _(l2t) \ _(l2_classify) \ -_(handoff) \ _(policer) \ _(ipsec) \ _(map) \ @@ -239,12 +237,6 @@ typedef struct u64 hash; } l2_classify; - /* IO - worker thread handoff */ - struct - { - u32 next_index; - } handoff; - /* vnet policer */ struct { @@ -304,13 +296,6 @@ typedef struct u16 overlay_afi; } lisp; - /* Driver rx feature */ - struct - { - u32 saved_next_index; /**< saved by drivers for short-cut */ - u16 buffer_advance; - } device_input_feat; - /* TCP */ struct { |