aboutsummaryrefslogtreecommitdiffstats
path: root/vpp
diff options
context:
space:
mode:
authorKeith Burns (alagalah) <alagalah@gmail.com>2016-05-02 13:13:46 -0700
committerDamjan Marion <damarion@cisco.com>2016-05-02 21:17:56 +0000
commit21c33bb3078d323893834fe9897ea8ec1fbcbe59 (patch)
tree482e23c3dfbb45e0fd83d1c4703aec7101dfcfc0 /vpp
parentd85036fd6bf25bb11a6f3fdfccf4425428834f28 (diff)
VPP-30 sr_replicate requires DPDK
- added fix to disable functionality when no DPDK - may extend to support non-DPDK case in future. Change-Id: Ic8ad4eeb91c4866f3f102dd4a718898eb0419dee Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Diffstat (limited to 'vpp')
-rw-r--r--vpp/api/api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp/api/api.c b/vpp/api/api.c
index 41f57602550..52616cce821 100644
--- a/vpp/api/api.c
+++ b/vpp/api/api.c
@@ -3506,7 +3506,12 @@ static void vl_api_sr_multicast_map_add_del_t_handler
goto out;
}
+#if DPDK > 0 /* Cannot call replicate without DPDK */
rv = ip6_sr_add_del_multicastmap (a);
+#else
+ clib_warning ("multicast replication without DPDK not implemented");
+ rv = VNET_API_ERROR_UNIMPLEMENTED;
+#endif /* DPDK */
out: