From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v8 05/11] eal/linux: add interrupt vectors handling on VFIO Date: Fri, 22 May 2015 13:21:00 -0700 Message-ID: <20150522132100.3f0829e9@urahara> References: <1430804386-28949-1-git-send-email-cunming.liang@intel.com> <1432198563-16334-1-git-send-email-cunming.liang@intel.com> <1432198563-16334-6-git-send-email-cunming.liang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, liang-min.wang@intel.com To: Cunming Liang Return-path: Received: from mx0a-000f0801.pphosted.com (mx0a-000f0801.pphosted.com [67.231.144.122]) by dpdk.org (Postfix) with ESMTP id 40714FFA for ; Fri, 22 May 2015 22:21:12 +0200 (CEST) In-Reply-To: <1432198563-16334-6-git-send-email-cunming.liang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 21 May 2015 16:55:57 +0800 Cunming Liang wrote: > This patch does below: > - Create VFIO eventfds for each interrupt vector (move to next) > - Assign per interrupt vector's eventfd to VFIO by ioctl > > Signed-off-by: Danny Zhou > Signed-off-by: Cunming Liang One non-trivial performance related change here would be to set SMP affinity of the receive IRQ to the CPU that is handling that receive queue. Not sure the full API to do this, but ideally you should not have the receive interrupt occurring on one CPU then having to cause scheduler to wakeup receive thread on another CPU.