summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-03-22 09:02:33 +0100
committerFilip Tehlar <ftehlar@cisco.com>2017-03-22 15:50:59 +0100
commited6b52bc5cab15f1655fa2d8c1ee44525b644def (patch)
tree5f605760620df0044dd1d0b93f1ac85f9bc01ebe /src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h
parent1bfb0ddace3ebb9010275e4bdd847c8c493ff4b3 (diff)
LISP: improve DP speed
Change-Id: I5bd0721b70dfc240fa9225df3704774f6b0ede81 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h b/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h
index 618f7b5393d..92e18526604 100644
--- a/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h
+++ b/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.h
@@ -75,6 +75,11 @@ typedef struct lisp_gpe_fwd_entry_key_t_
typedef struct lisp_gpe_fwd_entry_t_
{
/**
+ * Follows src/dst or dst only forwarding policy
+ */
+ u8 is_src_dst;
+
+ /**
* This object joins the FIB control plane graph to receive updates to
* for changes to the graph.
*/