diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-09-18 21:41:19 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-09-22 21:57:43 +0200 |
commit | 4c56ce1cead5f6514ea2af34f0b7a07c35746520 (patch) | |
tree | ebe234f44fa0b766381b7a61d807be393a647931 /zebra/zebra_router.c | |
parent | include: Update rtnetlink.h to latest kernel (diff) | |
download | frr-4c56ce1cead5f6514ea2af34f0b7a07c35746520.tar.xz frr-4c56ce1cead5f6514ea2af34f0b7a07c35746520.zip |
zebra: Add basic knowledge of asic offload available
Some linux kernels are starting to support the idea of knowledge
about the underlying asic. Add a boolean that we can set/unset
to track whether or not we think the router has this functionality
available.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r-- | zebra/zebra_router.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index 66f292455..fc4390f7f 100644 --- a/zebra/zebra_router.c +++ b/zebra/zebra_router.c @@ -290,4 +290,6 @@ void zebra_router_init(void) zrouter.nhgs_id = hash_create_size(8, zebra_nhg_id_key, zebra_nhg_hash_id_equal, "Zebra Router Nexthop Groups ID index"); + + zrouter.asic_offloaded = false; } |