diff options
| author | Jakub Urbańczyk <xthaid@gmail.com> | 2020-07-15 15:11:21 +0200 |
|---|---|---|
| committer | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-10 21:32:59 +0200 |
| commit | fef24b03399d26808bd57af8e318b0e818c7ffef (patch) | |
| tree | 66b2cc5e6b679362653ae59d9bb3361090061070 /zebra/rt.h | |
| parent | 271ac28499e6be25a1c42b9ea138e782548893f6 (diff) | |
zebra: prepare dplane for batching
Extend kernel interface to allow the data plane to send many kernel
updates at once.
Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
Diffstat (limited to 'zebra/rt.h')
| -rw-r--r-- | zebra/rt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index 143e16b3ea..c0ff2e22b3 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -97,6 +97,12 @@ extern int kernel_upd_mac_nhg(uint32_t nhg_id, uint32_t nh_cnt, struct nh_grp *nh_ids); extern int kernel_del_mac_nhg(uint32_t nhg_id); +/* + * Message batching interface. + */ +extern void kernel_update_multi(struct dplane_ctx_q *ctx_list); +extern bool kernel_supports_batch(void); + #ifdef __cplusplus } #endif |
