aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorVijayabhaskar Katamreddy <vkatamre@cisco.com>2019-03-01 19:57:06 -0800
committerOle Trøan <otroan@employees.org>2019-03-04 11:24:15 +0000
commit470a3704e38d710018f1aa55c8bf857e55fbc069 (patch)
tree3997bcdb969fc271123fee08bcf8ff8d47e0161e /src/vnet/buffer.h
parentb806d0e1d767d61b40169685ea6fb9aa4bf595bf (diff)
Hash and handoff reassembly fragments
in the following two scenarios 1. When fragments arrive in multiple interfaces and endup in different threads 2. When fragments arrive in same interafce but in different queues due to interface RSS doesnt have the ability to place fragments in the right queues Change-Id: I9f9a8a4085692055ef6823d634c8e19ff3daea05 Signed-off-by: Vijayabhaskar Katamreddy <vkatamre@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index ee04627fde3..7afd16bdfcd 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -190,6 +190,7 @@ typedef struct
{
u32 next_index; /* index of next node - ignored if "feature" node */
u16 estimated_mtu; /* estimated MTU calculated during reassembly */
+ u16 owner_thread_index;
};
/* internal variables used during reassembly */
struct
@@ -200,6 +201,7 @@ typedef struct
u16 range_last;
u32 next_range_bi;
u16 ip6_frag_hdr_offset;
+ u16 owner_feature_thread_index;
};
} reass;
};