From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3E5611B587 for ; Thu, 10 Jan 2019 00:24:03 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D770821C57; Wed, 9 Jan 2019 18:24:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 09 Jan 2019 18:24:02 -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=ka2yLuwMsmlRe7cI3QrO/W2f84yUGSzgzEN4hYXQFCs=; b=dekwupb/sOys EJ/eE5BhS5F1Ijpco2c3mh2elpjG+Ay4BwOSwh0IezzfURIx5SLC1kbpzOLZ0t2k Hy15d2V8DbPtED5V2wdyS3TSN9hgzMypRDFFJqJ7IqcmBhvGUcqng+h7zI9yIrNX iril9o+MdmobBCTElndGL5ptlSooBMk= 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=ka2yLuwMsmlRe7cI3QrO/W2f84yUGSzgzEN4hYXQF Cs=; b=r4b2pCaPIUHJewP5t9PnWR/0ixmN/c1VYUZL8HL1NBNLrvm9xAt8C1iAd N9kxJt6wUYFytl1D476RVY3n7mbXZofXsMWZ22dtcKLLug/09xs5uHdA7LfPhjKq r/m4jWoaILvbHoRm9QJgQdD4Eqp9H+BAto7cazZ1GzvdiqwGCLzvnaYPfRUm2VZA xddrNRt3YwysqRzbhuWR+L58TR3qvUewnRzkOSrdj0+mVoBr8Gs4Mc7SDuH5//wj NUKKwxGn1AcE+4B4U+g7g1nxHx0ydFBFKaMFFOw19ChlKmikVDaFPoQkixPS/+1z 5p3fiTE9K7/0S1FWtljQ7n93Vj3zw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrfedvgddtkeculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 9174B102A0; Wed, 9 Jan 2019 18:24:01 -0500 (EST) From: Thomas Monjalon To: "Dumitrescu, Cristian" , "Singh, Jasvinder" Cc: dev@dpdk.org Date: Thu, 10 Jan 2019 00:23:59 +0100 Message-ID: <2914445.tvFdG4jiG5@xps> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891268E826F2A@IRSMSX108.ger.corp.intel.com> References: <20190103160432.147027-1-cristian.dumitrescu@intel.com> <3EB4FA525960D640B5BDFFD6A3D891268E826F2A@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] net/softnic: add support for service cores 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: Wed, 09 Jan 2019 23:24:03 -0000 07/01/2019 17:50, Dumitrescu, Cristian: >=20 > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Cristian Dumitrescu > > Sent: Thursday, January 3, 2019 4:05 PM > > To: dev@dpdk.org > > Cc: Singh, Jasvinder > > Subject: [dpdk-dev] [PATCH] net/softnic: add support for service cores > >=20 > > Add support to run the Soft NIC device on service cores, based on the > > value of the sc parameter: > >=20 > > 0: The current Soft NIC device is run explicitly by the application. The > > firmware creates one or several pipelines for this dev and maps them > > to CPU cores that should not be service cores. The app is required to > > call rte_pmd_softnic_run() to make this dev work. > >=20 > > 1 (default): The current device is run on the service cores transparent= ly > > to the app. The firmware creates one or several pipelines for this d= ev > > current device and maps them to CPU cores that should be service cor= es. > > Each of these service cores is calling rte_pmd_softnic_run() > > in order to make this dev work with no app intervention. > >=20 > > Signed-off-by: Cristian Dumitrescu > > Signed-off-by: Jasvinder Singh > > --- >=20 > Applied to next-qos tree, thanks! It does not compile with 32-bit toolchain: drivers/net/softnic/rte_eth_softnic_thread.c:140:28: error: cast between incompatible function types from =E2=80=98int (*)(uint16_t)=E2=80=99 {aka =E2=80=98int (*)(short unsign= ed int)=E2=80=99} to =E2=80=98int32_t (*)(void *)=E2=80=99 {aka =E2=80=98int (*)(void *)=E2= =80=99} service_params.callback =3D (rte_service_func)rte_pmd_softnic_run; ^ =46ixing in-tree.