DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier Chirossel <olivier.chirossel@gmail.com>
To: dev@dpdk.org
Cc: Olivier Chirossel <olivier.chirossel@gmail.com>
Subject: [dpdk-dev] [PATCH v2] lib/librte_sched: fix update tc_credits
Date: Thu, 29 Jun 2017 16:35:41 +0200	[thread overview]
Message-ID: <1498746942-1741-1-git-send-email-olivier.chirossel@gmail.com> (raw)

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

             reply	other threads:[~2017-06-29 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29 14:35 Olivier Chirossel [this message]
2017-06-29 14:35 ` Olivier Chirossel
2017-06-29 17:04   ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1498746942-1741-1-git-send-email-olivier.chirossel@gmail.com \
    --to=olivier.chirossel@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).