From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 665E1DE0 for ; Fri, 10 Feb 2017 11:04:44 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id 196so63680543wmm.1 for ; Fri, 10 Feb 2017 02:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=emduSRZ228zBYteKf/eM/yDQfcAl2DUOpn4I1y/XJoE=; b=jcyaerEUZBfmkgWCyQ+xX0DRDGNH+wFt+vmjmP795ZV4u+l8LjLPqnQ7SR5dgcEKnd NTxVvgFY61JC3yoZ9qJp1kTepXdlnXAm7vXl+T7Cs/Z5Ap+N4Es7MAv7AVo/kyskmjK2 rdruzhhrWUpQeoImb8Ntbp1mYk+aLZ/XhrzgVCUcCvSxKfIc/heSuaesoXPxgLdgLZHz QYu6+6RGIcHfj3M26yrG2F6cgwfjHD8DttQjQ7SrCoI3ZiW0tOHl6RMalZI9/ruRYNnL k/rntAZFQUYwPQNhiZB/27Y42JbNVq2npEjhjUJdf8eulG5gX3xSnFawW63256MY8CK/ 414Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=emduSRZ228zBYteKf/eM/yDQfcAl2DUOpn4I1y/XJoE=; b=kK80dGYJp+4rk2AIQrsW/zyRnMB5/j20ZS7ZsMHTtkLB/FNA+KpZ4WjRMhTYgIvTTF 73Y0qLtOwLM4GLiY6EaIjOq3kK5+N3oMvNeMV4DrR5+swpJ4j4D4Nn0uonrK25yYH6Db V/k4Zpqaij2vQCNJIpVofKimkPOAn3QQ6sTLzhkls/LyuUcdSKGd17XJofAbc8Xm0Tli ZbK1u3WjyLQlgb/SuxlKrtAD6CiXxBlRzchVB546/ZQwIRIsT7637pi8TKHZmIsdKoTw /G7WQKbxuuNlxC3pG/KmXO+aBuNLrh2fbYx5LdfZP4N9DOcBT1tYB4gJJTKri2U45wP4 u8bQ== X-Gm-Message-State: AMke39n7MpDFanG26dgiG9mJhE1QiGFTySEi5FuuXdkCuphCYafJZ+zQ90pGUoesNpDAWl5R X-Received: by 10.28.5.70 with SMTP id 67mr25556799wmf.32.1486721084176; Fri, 10 Feb 2017 02:04:44 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id t103sm1906788wrc.43.2017.02.10.02.04.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Feb 2017 02:04:43 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Fri, 10 Feb 2017 11:04:42 +0100 Message-ID: <3212772.meQXQKO1QH@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170131150448.8294-2-ferruh.yigit@intel.com> References: <20170131121427.31279-1-ferruh.yigit@intel.com> <20170131150448.8294-1-ferruh.yigit@intel.com> <20170131150448.8294-2-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] mk: move PMD libraries to applications 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, 10 Feb 2017 10:04:44 -0000 2017-01-31 15:04, Ferruh Yigit: > Some PMDs provide device specific APIs. Bond and xenvirt are existing > samples for this. > > And since these are PMD libraries, there are two options on how to link > them for shared library build: > > 1- They can be linked to all applications by default, using common > rte.app.mk file. > > 2- They can be explicitly linked to applications that use device > specific API. > > Currently option one is in use, this patch switches to the option two. > > Moves library linking to the Makefile of application Makefile that uses > device specific API. > > This prevent these PMD libraries to be a dependency to applications > that don't use these device specific APIs. > > Signed-off-by: Ferruh Yigit Series applied, thanks