[dpdk-dev] [PATCH v2] Allow -ve frame_overhead values

2018-01-16 Thread alanrobertsonatt
From: Alan Robertson When forwarding traffic across a TDM network the ethernet header will be replaced with a ML-PPP one thereby reducing the size of the packet. Signed-off-by: Alan Robertson --- lib/librte_sched/rte_sched.c | 14 +- lib/librte_sched/rte_sched.h | 5 +++-- 2 files

[dpdk-dev] [PATCH] Improve the shaper accuracy for large packets

2018-02-09 Thread alanrobertsonatt
From: Alan Robertson There were 2 issues, the first was time could be lost whilst updating the traffic-class period, the second was a frame could be delayed if not enough tokens were available for the full frame. By allowing the shaper to borrow credit from the next period the throughput is impr

[dpdk-dev] [PATCH] Improve the shaper accuracy for large packets

2018-02-09 Thread alanrobertsonatt
From: Alan Robertson There were 2 issues, the first was time could be lost whilst updating the traffic-class period, the second was a frame could be delayed if not enough tokens were available for the full frame. By allowing the shaper to borrow credit from the next period the throughput is impr

[dpdk-dev] [PATCH] Allow -ve frame_overhead values

2018-01-08 Thread alanrobertsonatt
From: Alan Robertson When forwarding traffic across a TDM network the ethernet header will be replaced with a ML-PPP one thereby reducing the size of the packet. Signed-off-by: Alan Robertson --- lib/librte_sched/rte_sched.c | 41 - lib/librte_sched/rte_