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 3F6AA1094; Wed, 5 Jul 2017 01:48:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7C7892089B; Tue, 4 Jul 2017 19:48:30 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 04 Jul 2017 19:48:30 -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:x-sasl-enc; s=mesmtp; bh=p89eFbGxEOcrnSc YoPdxw7vVXXWL8vCJFStqahwR6LA=; b=YVlqdP5QyPsv46FdHNg5G/T6ZJsiA1O yWRlCRcxN6OLSChJCC95QzzhpuUDTB0ur7gW0ltXtezGW49nKqZmd9zmxsC3MssH /b3TXTKiGU5a0jzxrmDS7tUOBEOX+5VxIVV9iXbI+m8aquLyV3VQMbdCiUU7OmHR mITvs0bUgwSc= 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:x-sasl-enc; s= fm1; bh=p89eFbGxEOcrnScYoPdxw7vVXXWL8vCJFStqahwR6LA=; b=NHzmce2Y rPq1pg+1+4OESPxe6VrlZTraYYSXd7LYVHdLh06Luo4EALQHVHsKSEoskttklqZU CBhHD6xeb1O3pGmIRtLQfGVJhrrNqZUcb0n/Hj9x01/pjxmKtsC7vDGl1jgBBsou CiR+GJ1Boe/XW76crNl9uELwmeCZVllyaJi6EfHW0OEjNbpQ7JrbCHXfa9uI7tvp 0nIkmV6joEpIXYpo2mpsx79oFnsYE+yotACH3PpHZ0rq/NBg4Pk/Emv7gpRHKBf5 W9xDZfzRxWXR6nw67q5hTikkPAJCFyp1KBs0eOchZHrByOd27EEn4alpYqGjIT9a kXxXCuNchaSCBg== X-ME-Sender: X-Sasl-enc: 2PH6NvNILDdhMdCXBSqZY8WWU8LogQdu26RQeHu9f1Ot 1499212110 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 308127E51B; Tue, 4 Jul 2017 19:48:30 -0400 (EDT) From: Thomas Monjalon To: "Dumitrescu, Cristian" Cc: dev@dpdk.org, "Singh, Jasvinder" , "Yigit, Ferruh" , "hemant.agrawal@nxp.com" , "Jerin.JacobKollanukkaran@cavium.com" , "Lu, Wenzhuo" , techboard@dpdk.org Date: Wed, 05 Jul 2017 01:48:29 +0200 Message-ID: <2992148.u9bnyqStKL@xps> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BA66BEB@IRSMSX108.ger.corp.intel.com> References: <20170526181149.44085-1-jasvinder.singh@intel.com> <1855073.SEfz2U5OaA@xps> <3EB4FA525960D640B5BDFFD6A3D891267BA66BEB@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/2] net/softnic: sw fall-back for traffic management 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: Tue, 04 Jul 2017 23:48:31 -0000 08/06/2017 18:43, Dumitrescu, Cristian: > ... > > > > I'm sure I'm missing something. > > In my understanding, we do not need to change the ops: > > - if the device offers the capability, let's call the ops > > - else call the software fallback function > > > > What you might be missing is the observation that the approach you're describing requires changing each and every PMD. The changes are also intrusive: need to change the ops that need the SW fall-back patching, also need to change the private data of each PMD (as assigned to the opaque dev->data->dev_private) to add the context data needed by the patched ops. Therefore, this approach is a no-go. > > We are looking for a generic approach that can gracefully and transparently work with any PMD. Nobody is participating in this discussion. Can we discuss how to proceed in the technical board meeting?