From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id AC3D02B9B for ; Thu, 6 Apr 2017 21:16:17 +0200 (CEST) Received: by mail-wr0-f179.google.com with SMTP id t20so77249560wra.1 for ; Thu, 06 Apr 2017 12:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=9xWCxVB8WF+omRVP/BhrhfcIUCtT8cirEOXIxg1rWpo=; b=134HUb0ut6iml6H4rtemgWdm1kFFyGrXi/u8rz3IqGX7Xmxl/W++GJZ7W8DQZ5tT9r RQZaF9t/CfxvyDRQ/0rF2fQ6LS/ESM+1W6nEIyTnaknYhCX7UX7EUDXxvaVYa+2DrzY6 ez1lcLAjaLa8oOa4lkuSgCOvqXKOOBbq+GnXd369i+51k49/wIMdRUZjo3Ttdn3TlWbl UIRaAmF5WfCufpx898lYHAkRr4UbEm30nub3PyQRBHvYbuba2jiM3S6ptMxwkyoT08B6 rwWGzwdKZ7xfiJL0k+9Ke8ZySyByvXCBNkwK6e1U1SGSit0iPp1eaNj6PzajyYj9pWGC 6c5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=9xWCxVB8WF+omRVP/BhrhfcIUCtT8cirEOXIxg1rWpo=; b=WWeBkOezgPKC2905XlIrTS7f+YUR2W5vRu+h2elHFlR9xtKm3//wEnBQYyc5AaJoil P6o3/nlHxdyodhy4nbyUl8OelGY3yEOqkZosWvvqqeCpLRf1YwOv36RmoDEMw+c/N4mH WKMRtVkmgo9NqeWEP05q0a8SLs1F//Hno3jRdVzrVIVC8jTJE8AgHNbIZo0OIPYSwpnb S1DtUiJV/uz4ox3ftUqlwgfJeMvWtR6s706NeY9xPypiH5zM2sjOcXkwpwrGrwLOWlZe 37HUMfmXCORlqwGktfn6w9mCDJgUFJLQEG4QNmspDHp6FgiuMjOv3HFGG/2osAuh3yJ6 Am6A== X-Gm-Message-State: AFeK/H27z4WJYa3P29jPZorIAaQb+58UssfJKNW1aM8U0OMgzgjA9/GbiTd0j0OKuidFyacR X-Received: by 10.28.148.195 with SMTP id w186mr25557373wmd.35.1491506177493; Thu, 06 Apr 2017 12:16:17 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id e23sm23106047wmi.16.2017.04.06.12.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 12:16:16 -0700 (PDT) From: Thomas Monjalon To: Qi Zhang Cc: dev@dpdk.org Date: Thu, 06 Apr 2017 21:16:15 +0200 Message-ID: <3390852.FyvIhZzGCW@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170406124222.18172-1-qi.z.zhang@intel.com> References: <20170404230908.15145-1-qi.z.zhang@intel.com> <20170406124222.18172-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v7 0/2] clean up interrupt handle 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: Thu, 06 Apr 2017 19:16:17 -0000 2017-04-06 20:42, Qi Zhang: > It seems its not necessary to register an intr_handle for interrupt callback > function. "void* cb_arg" shows enough when be used to pass the object that > contain the information be required to handle the interrupt event( A typical > way which is implemented by almost all driver is by passing a rte_ethdev > instance). > The patch change the prototype of rte_intr_callback_fn by removing > the uncessary intr_handle paramter. Applied, thanks