diff options
author | Mark Stapp <mjs@voltanet.io> | 2018-05-23 18:20:43 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2018-10-25 14:34:30 +0200 |
commit | 7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0 (patch) | |
tree | fb34cd690dff402df2e4f5323d697f18582b2cfc /zebra/zebra_memory.h | |
parent | Merge pull request #3121 from pguibert6WIND/flowspec_json_issue (diff) | |
download | frr-7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0.tar.xz frr-7cdb1a8445ecff8ad0f2eb532df5eb2112d921e0.zip |
zebra: start dataplane layer work
Reduce or eliminate use of global zebra_ns structs in
a couple of netlink/kernel code paths, so that those paths
can potentially be made asynch eventually.
Slide netlink_talk_info into place to remove dependency on core
zebra structs; add accessors for dplane context block
Start init of route context from zebra core re and rn structs;
start queueing and event handling for incoming route updates.
Expose netlink apis that don't rely on zebra core structs;
add parallel route-update code path using the dplane ctx;
simplest possible event loop to process queued route'
updates.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_memory.h')
-rw-r--r-- | zebra/zebra_memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_memory.h b/zebra/zebra_memory.h index e3439d5f6..fcabab97c 100644 --- a/zebra/zebra_memory.h +++ b/zebra/zebra_memory.h @@ -34,5 +34,6 @@ DECLARE_MTYPE(STATIC_ROUTE) DECLARE_MTYPE(RIB_DEST) DECLARE_MTYPE(RIB_TABLE_INFO) DECLARE_MTYPE(RNH) +DECLARE_MTYPE(DP_CTX) #endif /* _QUAGGA_ZEBRA_MEMORY_H */ |