From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id E803F7EB0 for ; Wed, 3 Dec 2014 11:03:28 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id a1so19418011wgh.39 for ; Wed, 03 Dec 2014 02:03:28 -0800 (PST) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Q4g1NnXiMhFDj0y0kUwgzFFMDpx794tmOspCsE0ynTQ=; b=QSxCWTByqx94P8lpKZC6KMbsGCbbMTFhvcvHcLpTwEC8K+Bofu4Ze+k7M84SCEsP9v vV9xFty9RcJ8HY/AnWnhMC+4weO5hFqlDO/YqvFp5WnDgo+ApsgNGX7d7x6kwi5Bj17V aTTmWgaZS7sTh1zf9pH73Jkqu/ut38RDpIRDIFlLJ6iLUV0lLPep0n0wg7UxHEE/CocL 1z5jNJAxuCdrKz7gtvFZ8TkZCW68t4jd/tFMImRYRkL2O3TodzcbzApgKoTwMrAP5H48 BVzNg6Xh6kUYOqFfcRu9si/74hAgO2tPgAdgBO0wzMym0vgnvzvTY/Z9yG+KH0masSKy nsEg== X-Gm-Message-State: ALoCoQlbRJzdsJwHLqcxyjrVoelg6ePsSIr9ZGF1Gmao7vYEJqWIeV6q9ePceOAXZr1tyoE7B1I+ X-Received: by 10.194.95.196 with SMTP id dm4mr5983831wjb.41.1417601007502; Wed, 03 Dec 2014 02:03:27 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id gf6sm22772091wjc.11.2014.12.03.02.03.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 02:03:26 -0800 (PST) From: Thomas Monjalon To: "Zhang, Helin" Date: Wed, 03 Dec 2014 11:03:02 +0100 Message-ID: <1728520.tOgsdM4Xd9@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <9BB6961774997848B5B42BEC655768F8B5A5AE@SHSMSX104.ccr.corp.intel.com> References: <1417419227-21465-1-git-send-email-helin.zhang@intel.com> <1417569207-30139-1-git-send-email-helin.zhang@intel.com> <9BB6961774997848B5B42BEC655768F8B5A5AE@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] i40e: fix of compile error 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, 03 Dec 2014 10:03:29 -0000 > > The compile error will occur as below when set > > 'RTE_LIBRTE_I40E_16BYTE_RX_DESC=y'. > > 'fd_id' should be used to replace 'fd', as 'fd' is not defined in that structure at > > all. In addition, local variable of 'flexbl' and 'flexbh' must be used only if > > 32 bytes RX descriptor is selected. > > > > error logs: > > lib/librte_pmd_i40e/i40e_rxtx.c: In function i40e_rxd_build_fdir: > > lib/librte_pmd_i40e/i40e_rxtx.c:431:28: error: volatile union > > has no member named fd > > lib/librte_pmd_i40e/i40e_rxtx.c:427:19: error: unused variable flexbl [- > > Werror=unused-variable] > > lib/librte_pmd_i40e/i40e_rxtx.c:427:11: error: unused variable flexbh [- > > Werror=unused-variable] > > > > Signed-off-by: Helin Zhang > > Acked-by: Jingjing Wu Applied Thanks -- Thomas