diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-07-05 12:41:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-05 12:41:23 -0400 |
| commit | a9a216e72522d02522738bd1fb9a9c9e33e1f6da (patch) | |
| tree | 2ef589dc02b42bfd9aa94f3c89b34bc14f0f25de /zebra/zebra_mpls.c | |
| parent | 807c31d5822a7af5a8d07a0a72f73df67fd970ed (diff) | |
| parent | 2f74a82a11c1e289408c6b964c9840c282550f62 (diff) | |
Merge pull request #6646 from xThaid/dplane_batching1
zebra: prepare dplane for batching
Diffstat (limited to 'zebra/zebra_mpls.c')
| -rw-r--r-- | zebra/zebra_mpls.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c index 31b100598f..0a83473440 100644 --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@ -943,6 +943,9 @@ static wq_item_status lsp_process(struct work_queue *wq, void *data) case ZEBRA_DPLANE_REQUEST_SUCCESS: zvrf->lsp_installs++; break; + /* Should never happen */ + case ZEBRA_DPLANE_REQUEST_PENDING: + break; } } } else { @@ -968,6 +971,10 @@ static wq_item_status lsp_process(struct work_queue *wq, void *data) case ZEBRA_DPLANE_REQUEST_SUCCESS: zvrf->lsp_removals++; break; + + /* Should never happen */ + case ZEBRA_DPLANE_REQUEST_PENDING: + break; } } else if (CHECK_FLAG(lsp->flags, LSP_FLAG_CHANGED)) { zebra_nhlfe_t *nhlfe; @@ -1011,6 +1018,10 @@ static wq_item_status lsp_process(struct work_queue *wq, void *data) case ZEBRA_DPLANE_REQUEST_SUCCESS: zvrf->lsp_installs++; break; + + /* Should never happen */ + case ZEBRA_DPLANE_REQUEST_PENDING: + break; } } } |
