diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-11-19 18:44:35 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-11-19 18:44:35 +0000 |
| commit | 0545c3738438dedbbec4650b5c0e4aa28a1b38ef (patch) | |
| tree | 7390e93888dfb7e2cdd62cbda12e9a7337cbc568 /zebra/zebra_dplane.c | |
| parent | 01defa9e0a396b7271e9048d885c2c40a721431e (diff) | |
*: only use 32-bit atomics
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 61eba92c98..3e61418b64 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -135,8 +135,8 @@ struct zebra_dplane_provider { dplane_provider_fini_fp dp_fini; - _Atomic uint64_t dp_in_counter; - _Atomic uint64_t dp_error_counter; + _Atomic uint32_t dp_in_counter; + _Atomic uint32_t dp_error_counter; /* Embedded list linkage */ TAILQ_ENTRY(zebra_dplane_provider) dp_q_providers; @@ -171,10 +171,10 @@ static struct zebra_dplane_globals { /* Limit number of pending, unprocessed updates */ _Atomic uint32_t dg_max_queued_updates; - _Atomic uint64_t dg_routes_in; + _Atomic uint32_t dg_routes_in; _Atomic uint32_t dg_routes_queued; _Atomic uint32_t dg_routes_queued_max; - _Atomic uint64_t dg_route_errors; + _Atomic uint32_t dg_route_errors; /* Event-delivery context 'master' for the dplane */ struct thread_master *dg_master; |
