From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 2/3] rte_sched: fix compile if DEBUG enabled
Date: Wed, 14 May 2014 09:25:26 -0700 [thread overview]
Message-ID: <20140514162628.077795006@networkplumber.org> (raw)
In-Reply-To: <20140514162524.113765980@networkplumber.org>
[-- Attachment #1: sched-debug-fix.patch --]
[-- Type: text/plain, Size: 629 bytes --]
Fix build error if RTE_SCHED_DEBUG is enabled.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/librte_sched/rte_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/lib/librte_sched/rte_sched.c 2014-05-14 09:13:57.377235388 -0700
+++ b/lib/librte_sched/rte_sched.c 2014-05-14 09:13:57.377235388 -0700
@@ -1001,7 +1001,7 @@ rte_sched_port_queue_is_full(struct rte_
{
struct rte_sched_queue *queue = port->queue + qindex;
uint16_t qsize = rte_sched_port_qsize(port, qindex);
- uint16_t qlen = q->qw - q->qr;
+ uint16_t qlen = queue->qw - queue->qr;
return (qlen >= qsize);
}
next prev parent reply other threads:[~2014-05-14 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 16:25 [dpdk-dev] [PATCH 0/3] RTE scheduler fixes Stephen Hemminger
2014-05-14 16:25 ` [dpdk-dev] [PATCH 1/3] qos: use rte_zmalloc instead of memzone for allocation Stephen Hemminger
2014-05-14 16:25 ` Stephen Hemminger [this message]
2014-05-14 16:25 ` [dpdk-dev] [PATCH 3/3] rte_sched: fix grinder bug Stephen Hemminger
2014-05-22 14:17 ` [dpdk-dev] [PATCH 0/3] RTE scheduler fixes Thomas Monjalon
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=20140514162628.077795006@networkplumber.org \
--to=stephen@networkplumber.org \
--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).