From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v10 12/20] unci: add netdevice ops Date: Wed, 5 Jul 2017 12:12:52 -0700 Message-ID: <20170705121252.3212e240@xeon-e3> 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 Cc: dev@dpdk.org, Bruce Richardson , Anatoly Burakov To: Ferruh Yigit 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) In-Reply-To: <20170704161337.45926-13-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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, ...