From 21c33bb3078d323893834fe9897ea8ec1fbcbe59 Mon Sep 17 00:00:00 2001 From: "Keith Burns (alagalah)" Date: Mon, 2 May 2016 13:13:46 -0700 Subject: 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) --- vpp/api/api.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vpp') diff --git a/vpp/api/api.c b/vpp/api/api.c index 41f57602..52616cce 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: -- cgit