diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-06 16:07:14 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-07 14:37:58 -0500 |
| commit | db4a24ddc1ae04af61e4be40e38c8deeab7639eb (patch) | |
| tree | 962f31e164a6e33ec13461ff16ce534a8a026eac | |
| parent | 54085eafebc926e7c004d4c0a8da519dad53c682 (diff) | |
lib: Increase zapi buffer size
The buffer size is currently 4k. Increase x4 times to allow for bigger
messages to be sent over the zapi.
The current size sufficient for most cases, but there are a couple
of cases with installing data to the kernel ip rules where we will
quickly hit this 4k size limit. I forsee flowspec getting close
to this limit as well.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | lib/zclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index d91b084e74..e0b39c88e8 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -37,7 +37,7 @@ #include "pw.h" /* For input/output buffer to zebra. */ -#define ZEBRA_MAX_PACKET_SIZ 4096 +#define ZEBRA_MAX_PACKET_SIZ 16384 /* Zebra header size. */ #define ZEBRA_HEADER_SIZE 10 |
