]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Add ctx to netlink message parsing
authorDonald Sharp <sharpd@nvidia.com>
Tue, 4 Oct 2022 19:41:36 +0000 (15:41 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 12 Dec 2022 15:44:57 +0000 (10:44 -0500)
commit45f0a10befd363590ed55a38d83f6edc3600e01b
tree54bc06724a7c23a76630923753f371ef8af45a3d
parentf935122ebd7e8439cecc8c56ba72e8dde0d17815
zebra: Add ctx to netlink message parsing

Add the initial step of passing in a dplane context
to reading route netlink messages.  This code
will be run in two contexts:

a) The normal pthread for reading netlink messages from
the kernel
b) The dplane_fpm_nl pthread.

The goal of this commit is too just allow a) to work
b) will be filled in in the future.  Effectively
everything should still be working as it should
pre this change.  We will just possibly allow
the passing of the context around( but not used )

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/rt_netlink.c
zebra/rt_netlink.h
zebra/zebra_dplane.c
zebra/zebra_dplane.h