From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 36EC18DA8 for ; Wed, 28 Oct 2015 17:18:46 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 28 Oct 2015 09:18:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,210,1444719600"; d="scan'208";a="673650245" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga003.jf.intel.com with ESMTP; 28 Oct 2015 09:18:31 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.138]) by IRSMSX152.ger.corp.intel.com ([169.254.6.38]) with mapi id 14.03.0248.002; Wed, 28 Oct 2015 16:18:30 +0000 From: "De Lara Guarch, Pablo" To: "Van Haaren, Harry" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED Thread-Index: AQHREZr4o4O2jawGzkmXzyG8J2Eerp6BFS4Q Date: Wed, 28 Oct 2015 16:18:29 +0000 Message-ID: References: <1446048480-9139-1-git-send-email-harry.van.haaren@intel.com> In-Reply-To: <1446048480-9139-1-git-send-email-harry.van.haaren@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED 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: Wed, 28 Oct 2015 16:18:46 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Harry van Haaren > Sent: Wednesday, October 28, 2015 4:08 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED >=20 > This patch marks rxq with RTE_SET_USED in > rx_desc_hlen_type_rss_to_pkt_flags(), when > ieee1588 is disabled. Previously a compilation > error occurred on unused-parameter. >=20 > Fixes: 1ce6591e238a ("igb: fix ieee1588 frame identification in i210") >=20 > Signed-off-by: Harry van Haaren > --- >=20 > v2: Fixed Fixes line (the irony) >=20 > drivers/net/e1000/igb_rxtx.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c > index 66bc3f0..d734a19 100644 > --- a/drivers/net/e1000/igb_rxtx.c > +++ b/drivers/net/e1000/igb_rxtx.c > @@ -732,6 +732,8 @@ rx_desc_hlen_type_rss_to_pkt_flags(struct > igb_rx_queue *rxq, uint32_t hl_tp_rs) > pkt_flags |=3D ip_pkt_etqf_map[(hl_tp_rs >> 12) & 0x07]; > else > pkt_flags |=3D ip_pkt_etqf_map[(hl_tp_rs >> 4) & 0x07]; > +#else > + RTE_SET_USED(rxq); > #endif >=20 > return pkt_flags; > -- > 1.9.1 Acked-by: Pablo de Lara