DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2] lib/librte_sched: fix update tc_credits
@ 2017-06-29 14:35 Olivier Chirossel
  2017-06-29 14:35 ` Olivier Chirossel
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Chirossel @ 2017-06-29 14:35 UTC (permalink / raw)
  To: dev; +Cc: Olivier Chirossel

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@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-29 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 14:35 [dpdk-dev] [PATCH v2] lib/librte_sched: fix update tc_credits Olivier Chirossel
2017-06-29 14:35 ` Olivier Chirossel
2017-06-29 17:04   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).