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 DDEB11B46A for ; Sun, 13 Jan 2019 22:41:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 74F67289EA; Sun, 13 Jan 2019 16:41:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 13 Jan 2019 16:41:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=O61bxbEljUmsM0LYjGzVeHD4YqzC/7hTj8zpDs8xy/U=; b=nFDC1cYZ4zHj cXXmaCQ0zFccGXO3nJm1qG1aD1z9N8XtKcz1D/k4vLG6hfIeEm+ZkX2ZH58tMyax pu1/9Dl2e/jDCPr8FK8wX8i+cxp4NRyequ9NBXZsnrdNlUXKSygyZpD/5VdVpLlb +YJLO0cwvJgD6hSbq01T/5nsNtNb0xc= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=O61bxbEljUmsM0LYjGzVeHD4YqzC/7hTj8zpDs8xy /U=; b=pq3VoD2WUrabXdb1jgeQyVscKzhfibAvgxM1M0Q8KLpycWsWIZHzgTpwe pKcoZpR+7ZuV9BBX7lJYVVIm3Yh39HMAy5PDQqthtPc842p37hOIuAr3Cj4vixJ0 wZN7Yz1c9j3br/n1Xtr7btGug+32LT8m2UiQFu5K9eW2ir6WGURWfUmZ6Nrn8fGu ozxZV2fwq9QUKrz9Skc/hbUkIa+NJ+hxoKL38JVJM5fuT/6mj1t8xM0NOm6IqE/d bJaAWadMNmnW/te44cBBpLD7KrgSYsP0aCqEg/UVdvUIgaFgSB1hPYCEcF49Ec4t WrexNSY/i6fwcY0xgYcgZV6i131yw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrfeelgdduheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E716102DD; Sun, 13 Jan 2019 16:41:37 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit , Alejandro Lucero Cc: dev@dpdk.org Date: Sun, 13 Jan 2019 22:41:36 +0100 Message-ID: <1753333.lH3haCoHOP@xps> In-Reply-To: <1051920a-7b6b-f68e-7556-be74c160a477@intel.com> References: <20190111132553.10683-1-alejandro.lucero@netronome.com> <1051920a-7b6b-f68e-7556-be74c160a477@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/nfp: add CPP bridge as service 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: Sun, 13 Jan 2019 21:41:39 -0000 11/01/2019 17:42, Ferruh Yigit: > On 1/11/2019 1:25 PM, Alejandro Lucero wrote: > > The Netronome's Network Flow Processor chip is highly programmable > > with the goal of processing packets at high speed. Processing units > > and other chip components are available from the host through the > > PCIe CPP(Command Push Pull bus) interface. The NFP PF PMD configures > > a CPP handler for setting up and working with vNICs, perform actions > > like link up or down, or accessing extended stats from the MAC component. > > > > There exist NFP host tools which access the NFP components for > > programming and debugging but they require the CPP interface. When the > > PMD is bound to the PF, the DPDK app owns the CPP interface, so these > > host tools can not access the NFP through other means like NFP kernel > > drivers. > > > > This patch adds a CPP bridge using the rte_service API which can be > > enabled by a DPDK app. Interestingly, DPDK clients like OVS will not > > enable specific service cores, but this can be performed with a > > secondary process specifically enabling this CPP bridge service and > > therefore giving access to the NFP to those host tools. > > > > v2: > > - Avoid printfs for debugging > > - fix compilation problems for powerpc > > > > Signed-off-by: Alejandro Lucero > > Applied to dpdk-next-net/master, thanks. It does not compile with 32-bit toolchain. Please check the occurences of %lu, thanks.