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

2018-01-11 Thread Dumitrescu, Cristian
Hi Alan, I agree, having a signed framing_overhead makes sense for several cases, including the TDM case you mention. In fact, this is the approach used by rte_tm.h. Several issues to fix below. > -Original Message- > From: alanrobertson...@gmail.com [mailto:alanrobertson...@gmail.com]

[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_