From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by dpdk.org (Postfix) with ESMTP id 78A8BB7D3 for ; Fri, 20 Feb 2015 23:44:19 +0100 (CET) Received: by wevk48 with SMTP id k48so8188979wev.0 for ; Fri, 20 Feb 2015 14:44:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=viMynegTMt4k43K8bYjBxele5w6XU1+ENh4QhgpnjIM=; b=NdYSTnN2i66ESvX3HJ0yNxPXOuzMPTafDEKta9geVvCsdjp6tagfmKrJtD1Jndf6vV qGoHnWItdI+qxbICgFIb/C9UG1suLanwAYjK4bSK43BwgPB7WpV0sK2s7HbcNVPhjRlK 20tJJR6xor7gVRHbS6N0VB9GL0I3II8eFnsbuUs6EY3BG0LN99i2FG1Tv1udxSVukKhr NCxGarlkf80lkjB/uKrRn6Y9uFKHHx6r8vB28ANsRmKyV2zfEKewbSgIaj4dBGGhPGz9 oIcEk6yn64jbnpkdvbny6oqZ2QRPFJkS8scXwLdiMLIxxLrpprjWW4hnrpIKJzrzbYkY ux4g== X-Gm-Message-State: ALoCoQm28QWxWM5TVKhLJkKxEbNwBdnvLnWfSKQUxL/pl4S5mZjVSlSQtJK6xL8ttrxslTqfR3sK X-Received: by 10.194.78.231 with SMTP id e7mr22615126wjx.33.1424472259290; Fri, 20 Feb 2015 14:44:19 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id do1sm4356849wib.3.2015.02.20.14.44.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 14:44:18 -0800 (PST) From: Thomas Monjalon To: Zhou Danny , Sergio Gonzalez Monroy Date: Fri, 20 Feb 2015 23:43:48 +0100 Message-ID: <6417495.deEVoxQ023@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1424353698-29837-5-git-send-email-danny.zhou@intel.com> References: <1424353698-29837-1-git-send-email-danny.zhou@intel.com> <1424353698-29837-5-git-send-email-danny.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 4/5] eal: add per rx queue interrupt handling based on VFIO X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 22:44:19 -0000 2015-02-19 21:48, Zhou Danny: > v4 changes: > - Adjust position of new-added structure fields > > v3 changes: > - Fix review comments > > v2 changes: > - Fix compilation issue for a missed header file > - Bug fix: free unreleased resources on the exception path before return > - Consolidate coding style related review comments > > This patch does below: > - Create multiple VFIO eventfd for rx queues. > - Handle per rx queue interrupt. > - Eliminate unnecessary suspended DPDK polling thread wakeup mechanism > for rx interrupt by allowing polling thread epoll_wait rx queue > interrupt notification. > > Signed-off-by: Danny Zhou > Tested-by: Yong Liu [...] > --- a/lib/librte_eal/linuxapp/eal/Makefile > +++ b/lib/librte_eal/linuxapp/eal/Makefile > @@ -43,6 +43,7 @@ CFLAGS += -I$(SRCDIR)/include > CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common > CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include > CFLAGS += -I$(RTE_SDK)/lib/librte_ring > +CFLAGS += -I$(RTE_SDK)/lib/librte_mbuf > CFLAGS += -I$(RTE_SDK)/lib/librte_mempool > CFLAGS += -I$(RTE_SDK)/lib/librte_malloc > CFLAGS += -I$(RTE_SDK)/lib/librte_ether Why do we need mbuf in EAL?