From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 711BAAAD4 for ; Fri, 27 Apr 2018 20:49:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CB740214A9; Fri, 27 Apr 2018 14:49:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 27 Apr 2018 14:49:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=VtWBXJ2Qu9Icsoqdqk5rjdjatR 12tBYyp6fgdN8H7qk=; b=Et8tfD5aZ9+GQVkwFiOcm3RfmHR1UxgVGZZ67nkOXn IkYTi7eZBwjBIxqHysY2+p6Xbo/vrNNArcvE3nAVZIYc0m8s1aVoKZ6otk/N4OD8 p/wQWbGwXQ6F/d5Uu8KEbLmuNndwsLUrShkzULaJ76o4YHhhQYkL9wpPs6yF2TtR o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VtWBXJ 2Qu9Icsoqdqk5rjdjatR12tBYyp6fgdN8H7qk=; b=HQW8tQikjrv9EnhpNQei3a ypReq9OhNhmAy33dCRS/GLzlE/QYjFcRfoF8r7uOJG3mnSPVoJWZ2PDcMysPt/dc VGPUKGriQrcFKZ7ahqQtMeMPKB2r+vDxo4f9hNskhnqjwYyFkkC8KYjo4ulaLthZ /Cwtw3lQRPZshJ1WxDylDustELFvbSRXiRPfGSTSK0ocZWP0k/u/IVpZxxP+WDGP qSMOf22A2Z64RmfBlv7qyfrQ8rN4ide8cqGJ/ZXWRjUIKEmm5oTum4xqvLjEE7E4 hYUy5EOUl6GSxNjE7Ij0pOevXoIZ00gt1LNy0k4cxpdAYAYxLSc9PNSBGTjugz2w == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C7F31E4EAC; Fri, 27 Apr 2018 14:49:27 -0400 (EDT) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org, hemant.agrawal@nxp.com, akhil.goyal@nxp.com, anatoly.burakov@intel.com Date: Fri, 27 Apr 2018 20:49:26 +0200 Message-ID: <8268731.ksAW2z75G4@xps> In-Reply-To: <20180427172058.26850-3-shreyansh.jain@nxp.com> References: <20180427162556.22781-1-shreyansh.jain@nxp.com> <20180427172058.26850-1-shreyansh.jain@nxp.com> <20180427172058.26850-3-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/3] bus/fslmc: optimize physical to virtual address searching X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 18:49:29 -0000 27/04/2018 19:20, Shreyansh Jain: > --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h > +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h > @@ -254,15 +254,38 @@ enum qbman_fd_format { > */ > #define DPAA2_EQ_RESP_ALWAYS 1 > > +/* Various structures representing contiguous memory maps */ > +struct dpaa2_memseg { > + TAILQ_ENTRY(dpaa2_memseg) next; > + char *vaddr; > + rte_iova_t iova; > + size_t len; > +}; > + > +TAILQ_HEAD(dpaa2_memseg_list, dpaa2_memseg); > +extern struct dpaa2_memseg_list dpaa2_memsegs; Shared compilation is broken without following patch: --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map @@ -105,5 +105,6 @@ DPDK_18.05 { global: dpaa2_affine_qbman_ethrx_swp; + dpaa2_memsegs; } DPDK_18.02;