From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] i40e: fix of compile error Date: Wed, 03 Dec 2014 11:03:02 +0100 Message-ID: <1728520.tOgsdM4Xd9@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Zhang, Helin" Return-path: In-Reply-To: <9BB6961774997848B5B42BEC655768F8B5A5AE-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > > 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