summaryrefslogtreecommitdiffstats
path: root/src/vnet/adj
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-02-13 23:55:27 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-02-16 16:24:19 +0000
commitb69111e167f5be70b3721ed5c2e5e02b971c3f67 (patch)
treee6bbd56317bb0dfbb2f00adb1b7a6e74d43664a8 /src/vnet/adj
parent6085e16d924f12d57779d7d7692016ec9fc19a9d (diff)
Add NSH load-balance and drop DPO
Also adds missing gpe nsh address type functions. Change-Id: I3353a23c0518da9ce3b221ddf8c5bd0364930154 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/adj')
-rw-r--r--src/vnet/adj/adj_midchain.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/adj/adj_midchain.c b/src/vnet/adj/adj_midchain.c
index 35cdb003708..7d31565114e 100644
--- a/src/vnet/adj/adj_midchain.c
+++ b/src/vnet/adj/adj_midchain.c
@@ -563,6 +563,11 @@ const static char* const midchain_ethernet_nodes[] =
"adj-l2-midchain",
NULL,
};
+const static char* const midchain_nsh_nodes[] =
+{
+ "adj-nsh-midchain",
+ NULL,
+};
const static char* const * const midchain_nodes[DPO_PROTO_NUM] =
{
@@ -570,6 +575,7 @@ const static char* const * const midchain_nodes[DPO_PROTO_NUM] =
[DPO_PROTO_IP6] = midchain_ip6_nodes,
[DPO_PROTO_MPLS] = midchain_mpls_nodes,
[DPO_PROTO_ETHERNET] = midchain_ethernet_nodes,
+ [DPO_PROTO_NSH] = midchain_nsh_nodes,
};
void