[dpdk-dev] [PATCH v2] lib/librte_sched: fix update tc_credits

Olivier Chirossel olivier.chirossel at gmail.com
Thu Jun 29 16:35:41 CEST 2017


Olivier Chirossel (1):
  lib/librte_sched: fix update tc_credits
    Actualy ( for small rate ) if tc_credits_per_period < packets length
    all packets are drop. 
    Also the credits presents before the updade are loose, because
    tc_credits is set to tc_credits_per_period. The purpose of the
    patch is to fix that.

Signed-off-by: Olivier Chirossel <olivier.chirossel at gmail.com>

 doc/guides/prog_guide/qos_framework.rst | 10 ++++--
 lib/librte_sched/rte_sched.c            | 62 ++++++++++++++++++++++-----------
 2 files changed, 50 insertions(+), 22 deletions(-)

-- 
2.7.4



More information about the dev mailing list