From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <thomas@monjalon.net> Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id B7AB21B33E for <dev@dpdk.org>; Tue, 7 Nov 2017 01:41:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3F2CD20C8D; Mon, 6 Nov 2017 19:41:10 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 19:41:10 -0500 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=+E88OYoOW+S1Ax+6xSZPlwuRFc sZQuLTD56bikAbmsQ=; b=lgajRm8Fp4jELn5Uz9U3AvcwmfpWVnGLS+f0TwkNUk jTqXYo7/YKmGGAMasmuO1oZo5RHEzh4/hACg8qayzrfaaBXUUpAwDFZgDF6piMXu 9ANLUIQ/WJVboOtHQuBLJzVMt1nTjV0sZsDTb0MvMzWLmEN/URhWSroA4+Lk/x/p w= 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=fm1; bh=+E88OY oOW+S1Ax+6xSZPlwuRFcsZQuLTD56bikAbmsQ=; b=XkLss/5cgclDiwXuUhhfV4 F75XaiZ4Z3vITM3pyNMQ8ZeYN2XIO9dLsEvz+s80Il5PPZYlATTsfasxRdJ19bDR 7bp5djWJ/Joh/NzcACSP1j+WPG0HwT8j5vxYAa0FDiYv+IWfS4KII/GeCaukTn4G 2WjvKGaW0HMuWGFpN6C9R45nMW/uJF2tBLyDCPBhrkXzsGVmXju7/mfyusCPn+Zd T8nItVmDYosqZwn715TaRWgu3a+IhsdwYPd6k3PX4Zeh5IUbSEUvc55UnO1PGLeP gwnN3mvlzkVwjS7TDLtCWFdLCIZ7y0soj/O5IkgHgF8A8XrulVGdkbmBZ9cy6U4w == X-ME-Sender: <xms:JgEBWlzzgPhNKqK3AlFsVWFH0J7GiYAd4zw3JHRvjgGYqXR277Zo7A> Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 02268241BE; Mon, 6 Nov 2017 19:41:10 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: "Wu, Jingjing" <jingjing.wu@intel.com> Cc: dev@dpdk.org, "Tan, Jianfeng" <jianfeng.tan@intel.com> Date: Tue, 07 Nov 2017 01:41:09 +0100 Message-ID: <2746663.Wz2itrXseX@xps> In-Reply-To: <ED26CBA2FAD1BF48A8719AEF02201E36512AD54C@SHSMSX103.ccr.corp.intel.com> References: <1502636600-46889-1-git-send-email-jingjing.wu@intel.com> <1503540656-104421-1-git-send-email-jingjing.wu@intel.com> <ED26CBA2FAD1BF48A8719AEF02201E36512AD54C@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] eal: add counter size for efd clean X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Tue, 07 Nov 2017 00:41:10 -0000 04/09/2017 04:49, Tan, Jianfeng: > From: Wu, Jingjing > > > > For virtual device, the rte_intr_handle struct is > > initialized by the virtual device driver, including > > the event fd assignment. If the event fd need to be > > read for clean, an argument is required for the proper > > event fd read. > > > > This patch adds efd_counter_size in rte_intr_handle > > struct to tell the rx interrupt process the read size. > > > > Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> > > Reviewed-by: Jianfeng Tan <jianfeng.tan@intel.com> I am not convinced at all by the whole interrupt management codebase. But waiting longer for applying a patch will not improve the situation :) Applied, thanks Reworded title: eal/linux: add interrupt counter size for vdev