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

Olivier Chirossel olivier.chirossel at gmail.com
Thu Jul 6 15:44:27 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            | 124 ++++++++++++++++++++++++++------
 2 files changed, 112 insertions(+), 22 deletions(-)

-- 
2.7.4



More information about the dev mailing list