diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-07-30 11:54:07 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-08-02 14:54:16 -0400 |
| commit | 036d93c04731308891ac60feadd81ed913fd80e2 (patch) | |
| tree | c0f6e6d6316d62d443f9b95c731182906110336b /zebra/rt_socket.c | |
| parent | 7597ac7b4d478c6bc47b109752b2ed515c7986b7 (diff) | |
zebra: use dataplane for vxlan remote mac programming
Move vxlan remote MAC install and uninstall to the async
dataplane.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt_socket.c')
| -rw-r--r-- | zebra/rt_socket.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 8d8bdd0a6d..7e9a42a617 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -386,16 +386,12 @@ int kernel_del_vtep(vni_t vni, struct interface *ifp, struct in_addr *vtep_ip) return 0; } -int kernel_add_mac(struct interface *ifp, vlanid_t vid, struct ethaddr *mac, - struct in_addr vtep_ip, bool sticky) -{ - return 0; -} - -int kernel_del_mac(struct interface *ifp, vlanid_t vid, struct ethaddr *mac, - struct in_addr vtep_ip) +/* + * Update MAC, using dataplane context object. No-op here for now. + */ +enum zebra_dplane_result kernel_mac_update_ctx(struct zebra_dplane_ctx *ctx) { - return 0; + return ZEBRA_DPLANE_REQUEST_SUCCESS; } int kernel_add_neigh(struct interface *ifp, struct ipaddr *ip, |
