From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 4/5] eal: add per rx queue interrupt handling based on VFIO Date: Fri, 20 Feb 2015 23:43:48 +0100 Message-ID: <6417495.deEVoxQ023@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Zhou Danny , Sergio Gonzalez Monroy Return-path: In-Reply-To: <1424353698-29837-5-git-send-email-danny.zhou-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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?