traffic-pacing-edt: tc_fq_pacer.sh adjust packet per flow_limit

This was causing strange issues, where a TCP single flow could not
achieve the correct bandwidth.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
Jesper Dangaard Brouer
2020-11-14 18:44:40 +01:00
parent 9f97d984cb
commit 1fb4483207
2 changed files with 8 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ char _license[] SEC("license") = "GPL";
/* skb->len in bytes, thus easier to keep rate in bytes */
#define RATE_IN_BITS (1000 * 1000 * 1000ULL)
//#define RATE_IN_BITS (200 * 1000 * 1000ULL)
//#define RATE_IN_BITS (500 * 1000 * 1000ULL)
#define RATE_IN_BYTES (RATE_IN_BITS / 8)