diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-04-19 15:25:27 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs.ietf@gmail.com> | 2021-07-19 10:36:12 -0400 |
| commit | 7f7e49d11a9f5d9f8d14387522a612d49f0a5e3f (patch) | |
| tree | 53fe87339424cf84647484081e5ca8a87bcb6a72 /zebra/rib.h | |
| parent | 1a3bd37f7c29fca429d7ef79ace80cd6db1d5563 (diff) | |
zebra: use workqueue for vxlan remote macip updates
Enqueue incoming vxlan remote macip updates on the main
workqueue, instead of performing the updates immediately,
in-line.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 6902e0881b..669cc75248 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -461,6 +461,15 @@ int zebra_rib_queue_evpn_rem_es_add(const esi_t *esi, uint16_t df_pref); int zebra_rib_queue_evpn_rem_es_del(const esi_t *esi, const struct in_addr *vtep_ip); +/* Enqueue EVPN remote macip update for processing */ +int zebra_rib_queue_evpn_rem_macip_del(vni_t vni, const struct ethaddr *macaddr, + const struct ipaddr *ip, + struct in_addr vtep_ip); +int zebra_rib_queue_evpn_rem_macip_add(vni_t vni, const struct ethaddr *macaddr, + const struct ipaddr *ipaddr, + uint8_t flags, uint32_t seq, + struct in_addr vtep_ip, + const esi_t *esi); extern void meta_queue_free(struct meta_queue *mq); extern int zebra_rib_labeled_unicast(struct route_entry *re); |
