Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VPP-30 sr_replicate requires DPDK
[vpp.git]
/
vpp
/
api
/
api.c
diff --git
a/vpp/api/api.c
b/vpp/api/api.c
index
41f5760
..
52616cc
100644
(file)
--- 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: