From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f50.google.com (mail-pg0-f50.google.com [74.125.83.50]) by dpdk.org (Postfix) with ESMTP id 3CC6A271 for ; Wed, 5 Jul 2017 21:12:55 +0200 (CEST) Received: by mail-pg0-f50.google.com with SMTP id j186so128699494pge.2 for ; Wed, 05 Jul 2017 12:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JuXayASj65wkkQJw7TMtTWoekTzfYfCQpGhdbc2Ofr4=; b=LNNON9nY0+hCSsLojowSHpw2zgqoY0XHhBA2SXm0nQ2ekl9NUQMKvzxDaSavnzM7GS 9n+IowIvuIxZ5zDYklPpeyisUmXmhyDAlWN4u5tlIrtyGtMIBdHqHL2eqsXHIKg60EYe qkl2D52vmtHkXCJB9D3J6SwJOOS4+RW8yMgelSMZgwPn480AEoDQNXkSjGlQ6DfxqpgZ +tyA/E/aBqDXHroSRKLx19D1oQ1GjnCUlzwCbhAFoFDgLqxojjKeFUcErrLJxPtdR8Fr yQUVOBAlWnkq0yc1uREcx7kCPEXCZTgM3oNaiNrYP/8CS5Ui5wCujIVMYNDiSSUTPFWG iHJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JuXayASj65wkkQJw7TMtTWoekTzfYfCQpGhdbc2Ofr4=; b=kYJyfsLuVITyKasE2fjIlrgO5S0iJqbf8GcdGLVAsoWCV3JdBs73IYJ1n3OGt+0tEE mY7MYr6kzxg196AXgO3C2k4BozM6MmDVqxfTklARXp57GK5fiK9ky0SH5NrvYfp5usiR gFka4Ggxldgf/fmnR7w7EKPRLZPN815QZ9e3HmDKmijujMRy40yLORSScJbbzA1Xw0xN +a3bDZDK78+VfKOtT0Ls3YJ53A1OtQR+19U8eijeDkZaf8Sl7xfuTj4/90gt9p/T9ep5 RXgVOqgVYZ2K2kCBysjqqS7ubivi/vd/u0GGBXj5NEanC0IDYhLNJSxPgBHeyhaW01ef T/Bg== X-Gm-Message-State: AIVw112zQf0GKHqhyB7Y4ZJRYiNzXQbMH00NZWgVH8nPHJJuARUH32mC TBweaHIrAXHi5VMw X-Received: by 10.99.143.94 with SMTP id r30mr22080919pgn.102.1499281974514; Wed, 05 Jul 2017 12:12:54 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id p21sm44840484pgn.12.2017.07.05.12.12.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jul 2017 12:12:54 -0700 (PDT) Date: Wed, 5 Jul 2017 12:12:52 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: dev@dpdk.org, Bruce Richardson , Anatoly Burakov Message-ID: <20170705121252.3212e240@xeon-e3> In-Reply-To: <20170704161337.45926-13-ferruh.yigit@intel.com> References: <20170630165140.59594-1-ferruh.yigit@intel.com> <20170704161337.45926-1-ferruh.yigit@intel.com> <20170704161337.45926-13-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v10 12/20] unci: add netdevice ops 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, 05 Jul 2017 19:12:55 -0000 On Tue, 4 Jul 2017 17:13:29 +0100 Ferruh Yigit wrote: > +static void unci_net_stats64(struct net_device *dev, > + struct rtnl_link_stats64 *stats) > +{ > + int err; > + > + err = unci_nl_exec(UNCI_REQ_GET_STATS, dev, NULL, 0, > + stats, sizeof(struct rtnl_link_stats64)); Do tail call here return unci_nl_exec(UNCI_REQ_GET_STATS, ...