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 F39A62935 for ; Tue, 4 Jul 2017 22:21:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AEE4522047; Tue, 4 Jul 2017 16:21:43 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 04 Jul 2017 16:21:43 -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=gWOh4IJwJ+0xuXo Qu/6njOTTkew9D8ZoJgKW/g6dQfw=; b=IZAvhlcAQK+ZIvEzv2UyI4K5RDrjqUS rf7mdthl43/Oqd9ZNLjhM580JtJVkppH4ZqXe5KTGCG/4WlSsVy9q2K+bRwwdh/T naZmm2/mrrz4mWXhkPZjUNdSK/eyu6sn2J1mL69Lr7JqieZwfbTRHmVz9Jyttqd+ C3zPLaLiTNC4= 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=gWOh4IJwJ+0xuXoQu/6njOTTkew9D8ZoJgKW/g6dQfw=; b=TOBmersU FrYO/ck2Q+V8zCsXa+IYwEYwLoDcCdrd9oXGgfkJTIzaziYMb1OUIS/BQR8YmKRs Kx5cned1G9KRSn5aIp8X5YXb75HqzLjtTkhllqHMAjc+BANju7PQoWWiEFzzdTRy OeoeETNFNHjxXaks50+lfVseheGBY6DNirA8+37FB8+IHKzMhDpnru7NQD5v6V+r pU5apxdYvcE8aVglIGtduFsimvsa0AavCwNlO3cLaKoe9OWcf0xstluHcJPSTpwK Zkf1Ge5Mn0999ue6bP9lC/5fZNqRH/bh7zHZn8nB9ddeWWttvF3qh7FRVY5w11r+ WTVv+5jeevKiQg== X-ME-Sender: X-Sasl-enc: ycNgB/ydgZKgUBC2PGs7RvECWt3Vxmxb2W3DO7i3UaOx 1499199703 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 60F947E622; Tue, 4 Jul 2017 16:21:43 -0400 (EDT) From: Thomas Monjalon To: "Dumitrescu, Cristian" Cc: dev@dpdk.org, "jerin.jacob@caviumnetworks.com" , "hemant.agrawal@nxp.com" , "Singh, Jasvinder" , "Lu, Wenzhuo" , "Yigit, Ferruh" Date: Tue, 04 Jul 2017 22:21:42 +0200 Message-ID: <1793823.SEqWim7Qm5@xps> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BA78E7C@IRSMSX108.ger.corp.intel.com> References: <1499182731-86830-1-git-send-email-cristian.dumitrescu@intel.com> <2673927.NlZO1l8dJ0@xps> <3EB4FA525960D640B5BDFFD6A3D891267BA78E7C@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [pull-request] next-tm 17.08 pre-rc1 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 20:21:45 -0000 04/07/2017 18:52, Dumitrescu, Cristian: > > Hi Cristian, > > > > > Dumitrescu, Cristian (2): > > > ethdev: add traffic management ops get API > > > ethdev: add traffic management API > > > > The original request was to split this huge patch. > > It is too messy to bring a whole new API area in one patch. > > We have nothing to refer in case of bug, and it is hard to dive in. > > > > Please, could you try to split it, bringing features one by one? > > Hi Thomas, > > Technically, it can be done, but IMO it should not be done this way for the following reasons: > > 1. None of the new APIs recently introduced in DPDK follow this approach. The rte_flow [1] and the eventdev [2] API are of the same order of magnitude with the TM API, and both were introduced as a single patch header file. Why do things differently for TM API? Yes you're right, same magnitude (but 2 times bigger). I would have preffered eventdev and rte_flow be better introduced. > 2. Breaking an API header file into multiple patches usually does not make sense because the sub-components are inter-connected and cross-referenced. When evaluating an API, it needs to be evaluated as a whole for consistency reasons rather than piece by piece. On TM API for example, the capability API is inter-connected with congestion management, shaping, scheduling and marking features; cman and shaping are connected to the nodes that make up the scheduling tree, etc. IMO the end result is adding more confusion than clarity. For me it's simpler to start with basic stuff and add more features. But it may be just a taste. > This request also comes very late in our preparation to hit RC1. I know you made this mention previously, but I regarded it as a comment/suggestion rather than a hard requirement (sorry for not explaining it my rationale better at the time). You also had several other comments and requests that we fulfilled, as described in the revision history. I had not seen any news about this patchset and the tree was empty during a long time so I thought you were working on it. > So, what do you want me to do? > If you still want to go ahead with this request, I will do my best to do it and still meet RC1. No, I do not want to insist. I understand you have a different taste than mine :) I will check for pulling your tree in following days. Please try to be available on IRC, in case I catch a last minute detail to fix. Thanks