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 449B71CEC7 for ; Sun, 13 May 2018 16:58:36 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BA9C824B06; Sun, 13 May 2018 10:58:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 10:58:35 -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; s=mesmtp; bh=//j4elORcVo0wvOsAJZIXAos/k j5idMEMk5FnFMlpck=; b=hv03muHAxcpWq6d3+4dJmd2k2LXS6r3R+YgpsrSChB beG+FiE7OAMKlDig3aRApelyoSwwlTllNR9eU6XCwIpiCd0i9eLXYyUcpD7jJJUv XIj/WdWVYcaZ5/UxUE5qvJ+pLibkCbRkZHWdxRiZR7xU7FLHqcOF8bMPfawVXmKU U= 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; s=fm2; bh=//j4el ORcVo0wvOsAJZIXAos/kj5idMEMk5FnFMlpck=; b=b8N9E5tgfcxV7AbWhzgkf9 Qh4OO8ACOrcsWVqHi4OWaYuxzZtHu4EJTNK80y63971uuIwCsgk6r/KnEQEYqIku HVCA51pykyQ81UW6o+nQ6xz52Fyem8EziLOzOHAZc5Mb1KzigBo6mmUj5VmND5Cp DTtK2lTviikeQW6Ej262bDIkKuLMxny8Cc6IWARCHzTjjjJ3jDJBDgp4kR6IPP/i TRkbFbyry2hkwtja+xDrIVScv7DJ8zmVLmB+/eBecv9BiMSIEvwIbJUebdm0POpk 74Z8uLA+MvglNqqXfb3lrylFWNylbNqrrvP+yAW49R88eRXb8W0rmpl22MVWLHaA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D470E4365; Sun, 13 May 2018 10:58:35 -0400 (EDT) From: Thomas Monjalon To: Andy Green Cc: dev@dpdk.org Date: Sun, 13 May 2018 16:58:34 +0200 Message-ID: <58706255.BWJRb5PVTu@xps> In-Reply-To: <152609033224.121661.12927135119918583257.stgit@localhost.localdomain> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609033224.121661.12927135119918583257.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 02/24] lib/librte_ethdev: change eth-dev-ops API to return int 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 May 2018 14:58:36 -0000 12/05/2018 03:58, Andy Green: > Signed-off-by: Andy Green [...] > --- a/lib/librte_ethdev/rte_ethdev_core.h > +++ b/lib/librte_ethdev/rte_ethdev_core.h > -typedef uint32_t (*eth_rx_queue_count_t)(struct rte_eth_dev *dev, > - uint16_t rx_queue_id); > +typedef int (*eth_rx_queue_count_t)(struct rte_eth_dev *dev, > + uint16_t rx_queue_id); > /**< @internal Get number of used descriptors on a receive queue. */ What is the reason of this change?