From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id C7B348E88 for ; Tue, 14 Jun 2016 17:20:19 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id n184so126705063wmn.1 for ; Tue, 14 Jun 2016 08:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bw5io7Odyc+A8AbvjVs3Q9gG9NgaGir2/w2ZJ6wkHwE=; b=PvSUe/zJ4jUiaVUGewz/4Hai5prq3Yn8cgJCvcxqBPnCBIK7mmXI1Nu3dYXkI5JiAy ij1GycwjB/FT9T71vjWHg6qsmLRGoW0Q16QtV+kIE8+HfAI0LniHXksmfc7VhvwOcdjE qpOeU7aY/REDhwmmmqqYgkGxCSTVs0RsDvURhdhj4WDJN1izgaEB35idKbuHdBQ7CaKX AfSJ8tM01gobavzsAK+dV3mDZZBeEZqR+DOXvqYrnWm5ADijG6dQoPA3+EIIjI/fJZU8 aYPTdV/X21jqExjSVnK2lwRp/43lEIIUvvnEYDGENeoXy9gF+RLS87485x2fgozyE15x BDEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Bw5io7Odyc+A8AbvjVs3Q9gG9NgaGir2/w2ZJ6wkHwE=; b=IXFXIJB0ScbOdj/Ybrd3eXOGwrCfuaSScvp1aUHCjgNkTQbXQty8qOK6Etzn6lnbHr iajVMIB5WbB1Nc53XgFZ0ZmSynsdxBUg8VcB/3TyRnVtz05TAWkFESGNYVWXmng59TVL otcynd6JTe1Kzx81f/lxgjmyK8eFu3q2JCOFx+avYjZjiktltkZEiOVCqp9LD/o0YB22 xUFRxtSjt+bjY7e4ToxXNq4odZVrtarpxRrn0Tcv9y9vjFJcMeVp4+Owqw6XVmaWUu2x WMz0BxnkyCGUvDm8qZxiZ+iB5rd1a0eHAu+YTBuTVYg/BjGGi8Bkz4lAr7/cTngk4ppT J9fg== X-Gm-Message-State: ALyK8tKhaqQ0j2nHfXNcNJAhtkNbsBYdcKuDVsPEKAyTzLcZz4J8u47MyEykLzp3Am9Bd+V0 X-Received: by 10.194.94.99 with SMTP id db3mr7330073wjb.143.1465917619593; Tue, 14 Jun 2016 08:20:19 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u6sm33323651wjy.17.2016.06.14.08.20.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 08:20:18 -0700 (PDT) From: Thomas Monjalon To: Jasvinder Singh Cc: dev@dpdk.org, cristian.dumitrescu@intel.com Date: Tue, 14 Jun 2016 17:20:18 +0200 Message-ID: <4622404.xEesXogHM8@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1464863290-216968-1-git-send-email-jasvinder.singh@intel.com> References: <1464863290-216968-1-git-send-email-jasvinder.singh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH] librte_sched: fix compile error on unused parameter red X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 15:20:19 -0000 2016-06-02 11:28, Jasvinder Singh: > This commit fixes the following compile error messages when > CONFIG_RTE_SCHED_RED=3Dn and CONFIG_RTE_SCHED_COLLECT_STATS=3Dy; >=20 > rte_sched.c: In function =E2=80=98rte_sched_port_update_subport_stats= _on_drop=E2=80=99: > rte_sched.c:1090:41: error: unused parameter =E2=80=98red=E2=80=99 [-= Werror=3Dunused-parameter] > =09=09struct rte_mbuf *pkt, uint32_t red) > ^ > rte_sched.c: In function =E2=80=98rte_sched_port_update_queue_stats_o= n_drop=E2=80=99: > rte_sched.c:1116:39: error: unused parameter =E2=80=98red=E2=80=99 [-= Werror=3Dunused-parameter] > =09=09struct rte_mbuf *pkt, uint32_t red) >=20 > Fixes: 4d51afb5cdb6 ("sched: keep track of RED drops") >=20 > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu Applied, thanks