From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] i40e: fix build issue for RX set function Date: Wed, 23 Mar 2016 17:36:19 +0000 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 Cc: dev@dpdk.org, jingjing.wu@intel.com To: Zhe Tao 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) Content-Disposition: inline In-Reply-To: <1458123550-32217-1-git-send-email-zhe.tao@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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