DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Jasvinder Singh <jasvinder.singh@intel.com>
Cc: dev@dpdk.org, cristian.dumitrescu@intel.com
Subject: Re: [dpdk-dev] [PATCH] librte_sched: fix compile error on unused parameter red
Date: Tue, 14 Jun 2016 17:20:18 +0200	[thread overview]
Message-ID: <4622404.xEesXogHM8@xps13> (raw)
In-Reply-To: <1464863290-216968-1-git-send-email-jasvinder.singh@intel.com>

2016-06-02 11:28, Jasvinder Singh:
> This commit fixes the following compile error messages when
> CONFIG_RTE_SCHED_RED=n and CONFIG_RTE_SCHED_COLLECT_STATS=y;
> 
> rte_sched.c: In function ‘rte_sched_port_update_subport_stats_on_drop’:
> rte_sched.c:1090:41: error: unused parameter ‘red’ [-Werror=unused-parameter]
> 		struct rte_mbuf *pkt, uint32_t red)
>                                          ^
> rte_sched.c: In function ‘rte_sched_port_update_queue_stats_on_drop’:
> rte_sched.c:1116:39: error: unused parameter ‘red’ [-Werror=unused-parameter]
> 		struct rte_mbuf *pkt, uint32_t red)
> 
> Fixes: 4d51afb5cdb6 ("sched: keep track of RED drops")
> 
> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Applied, thanks

      reply	other threads:[~2016-06-14 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 10:28 Jasvinder Singh
2016-06-14 15:20 ` Thomas Monjalon [this message]

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=4622404.xEesXogHM8@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=jasvinder.singh@intel.com \
    /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).