From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C75E83005 for ; Wed, 23 Mar 2016 18:37:13 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 23 Mar 2016 10:36:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,383,1455004800"; d="scan'208";a="674526477" Received: from dkoncewi-mobl3.ger.corp.intel.com ([10.252.21.244]) by FMSMGA003.fm.intel.com with SMTP; 23 Mar 2016 10:36:19 -0700 Received: by (sSMTP sendmail emulation); Wed, 23 Mar 2016 17:36:19 +0025 Date: Wed, 23 Mar 2016 17:36:19 +0000 From: Bruce Richardson To: Zhe Tao Cc: dev@dpdk.org, jingjing.wu@intel.com Message-ID: <20160323173618.GA11680@bricha3-MOBL3> References: <1458122516-32084-1-git-send-email-zhe.tao@intel.com> <1458123550-32217-1-git-send-email-zhe.tao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458123550-32217-1-git-send-email-zhe.tao@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] i40e: fix build issue for RX set function 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, 23 Mar 2016 17:37:14 -0000 On Wed, Mar 16, 2016 at 06:19:10PM +0800, Zhe Tao wrote: > Issue: > When define CONFIG_RTE_LIBTRE_I40E_RX_ALLOW_BULK_ALLOC as n in config file, > there will be a build error: > 'i40e_recv_pkts_bulk_alloc' undeclared > > Now DPDK i40e PMD use the Macro variable to choose whether to define the > related bulk recv functions, but for selection of the RX function,PMD only > depends on a C variable, which will cause the inconsistency and lead to the > build error which will tell us the bulk recv function is not defined. > > Fixes: 8e109464 (i40e: allow vector Rx and Tx usage) > > Signed-off-by: Zhe Tao Acked-by: Bruce Richardson Applied to dpdk-next-net/rel_16_04 /Bruce