From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 28C381B646 for ; Mon, 16 Oct 2017 12:45:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D4F3220AFA; Mon, 16 Oct 2017 06:45:37 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 16 Oct 2017 06:45:37 -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=BxfXgpys0UK27jO4py7KD4DmVL RAYOKYB1GqgKbUJXg=; b=WzO2Z6532WVxEA5xexKpXeIjTG3XWvZmBK8Hwny06D LOVWo/YfVlQAgNSKI7mxb7xoMYOHKfqFUWYLkdyYGxv0a9uaOA8S8YT8v9NsgRFo i4VKfGK+ccnk+3t5SYgC7vHggWZcYwYFBjjRyO5ILxZiIi1Bn4SsdjkDOtTk9rtY g= 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=BxfXgp ys0UK27jO4py7KD4DmVLRAYOKYB1GqgKbUJXg=; b=IsH45iP8wBa1YvFNvVAsNs m0XpyESfUwe6INdTxHgFtPVtPvcIToT+VDgqweNeEe9ngrfxwF1L7Zb5SD9bp3tz xr9Wie4LC3pbf0qQuZ4q1kRTxnfmUzt7IoArjolfzd9q2VDRuJJa//io+jYUulPV iwbFFQ6iBjxNCgVcBhQST5pvWNHL5NrMgj+wIX0J5J80N6CNYOsAtnBYhJwIu2zv phYjwL0SYH/NmMZpGBX0AbQnGyV4UHQCibYiyL1CmXyytWVic1qIREUpvd1mGs8K CQXyWtmeqId6p68moIe/GTg0P4cFABsej4Gh0QVz7Z2minaZRDny/66fRDW+dVQQ == 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 7BB6B246D5; Mon, 16 Oct 2017 06:45:37 -0400 (EDT) From: Thomas Monjalon To: "Wu, Jingjing" Cc: dev@dpdk.org, "Tan, Jianfeng" , "shreyansh.jain@nxp.com" , "hemant.agrawal@nxp.com" , "santosh.shukla@caviumnetworks.com" , Tomasz Duszynski , Jacek Siuda , "jerin.jacob@caviumnetworks.com" Date: Mon, 16 Oct 2017 12:45:36 +0200 Message-ID: <1985896.boakGMOk3P@xps> In-Reply-To: <9BB6961774997848B5B42BEC655768F810E96F36@SHSMSX103.ccr.corp.intel.com> References: <1502636600-46889-1-git-send-email-jingjing.wu@intel.com> <4513487.fCd9laRvq9@xps> <9BB6961774997848B5B42BEC655768F810E96F36@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 10:45:38 -0000 16/10/2017 12:29, Wu, Jingjing: > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > Hi, > > > > 24/08/2017 04:10, Jingjing Wu: > > > } else if (intr_handle->type == RTE_INTR_HANDLE_VDEV) { > > > - /* do nothing, and let vdev driver to initialize this struct */ > > > + /* only check, initialization would be done in vdev driver.*/ > > > + if (intr_handle->efd_counter_size > > > > + sizeof(union rte_intr_read_buffer)) { > > > + RTE_LOG(ERR, EAL, "the efd_counter_size is oversized"); > > > + return -EINVAL; > > > + } > > > > How interrupts are working with other buses? > > > > Is it something we should manage in bus drivers code? > > Any plan to move interrupts from EAL to bus? It is an open question :)