diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-08-21 20:26:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-21 20:26:29 -0400 |
| commit | ad4c7e8d4e24b0a92808dbe5aed5cc87c78db2c0 (patch) | |
| tree | e470bc22ca314761f5e434cc9b12b1808c6e7e67 /zebra/zebra_rib.c | |
| parent | f197ecb35f8a85dfc6c9b9146cbf0a7d5cf4d6a5 (diff) | |
| parent | 4280d91ce89b453ad1a94da77ebd05efaa61ea46 (diff) | |
Merge pull request #4778 from mjstapp/dplane_macs
zebra: use dataplane for evpn macs
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 3608b887ee..335cc8294c 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -3178,7 +3178,7 @@ static int handle_pw_result(struct zebra_dplane_ctx *ctx) if (dplane_ctx_get_status(ctx) != ZEBRA_DPLANE_REQUEST_SUCCESS) { vrf = zebra_vrf_lookup_by_id(dplane_ctx_get_vrf(ctx)); - pw = zebra_pw_find(vrf, dplane_ctx_get_pw_ifname(ctx)); + pw = zebra_pw_find(vrf, dplane_ctx_get_ifname(ctx)); if (pw) zebra_pw_install_failure(pw); } @@ -3270,6 +3270,11 @@ static int rib_process_dplane_results(struct thread *thread) dplane_ctx_fini(&ctx); break; + case DPLANE_OP_MAC_INSTALL: + case DPLANE_OP_MAC_DELETE: + zebra_vxlan_handle_result(ctx); + break; + default: /* Don't expect this: just return the struct? */ dplane_ctx_fini(&ctx); |
