add support for jumbo frame streams

This commit is contained in:
Christian Giese
2021-08-19 13:53:49 +02:00
parent 095b5f7159
commit 3eb40b673f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -610,7 +610,7 @@ Attribute | Description | Default
`direction` | Mandatory stream direction (`upstream`, `downstream` or `both`) | `both`
`priority` | IPv4 TOS / IPv6 TC | 0
`vlan-priority` | VLAN priority | 0
`length` | Layer 3 (IP + payload) traffic length (76 - 1500) | 128
`length` | Layer 3 (IP + payload) traffic length (76 - 9000) | 128
`pps` | Stream traffic rate in packets per second | 1
`bps` | Stream traffic rate in bits per second (layer 3) |
`network-ipv4-address` | Overwrite network interface IPv4 address |
+1 -1
View File
@@ -588,7 +588,7 @@ json_parse_stream (bbl_ctx_s *ctx, json_t *stream, bbl_stream_config *stream_con
value = json_object_get(stream, "length");
if (value) {
stream_config->length = json_number_value(value);
if(stream_config->length < 76 || stream_config->length > 1500) {
if(stream_config->length < 76 || stream_config->length > 9000) {
fprintf(stderr, "JSON config error: Invalid value for stream->length\n");
return false;
}