From patchwork Wed Feb 14 18:32:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Jankowski X-Patchwork-Id: 35183 X-Patchwork-Delegate: helin.zhang@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 31AC81B1DE; Wed, 14 Feb 2018 19:28:23 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 00C631B1B9 for ; Wed, 14 Feb 2018 19:28:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Feb 2018 10:28:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,513,1511856000"; d="scan'208";a="34704171" Received: from silpixa00394407.ir.intel.com (HELO silpixa00394407.ger.corp.intel.com) ([10.237.222.98]) by orsmga002.jf.intel.com with ESMTP; 14 Feb 2018 10:28:18 -0800 From: Konrad Jankowski To: wei.dai@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, dev@dpdk.org Cc: Konrad Jankowski Date: Wed, 14 Feb 2018 13:32:31 -0500 Message-Id: <1518633151-29118-1-git-send-email-konrad.jankowski@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] net/i40evf: regression fix - reenable interrupts in handler 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Commit 66b8304f removed the rte_intr_enable() call from i40evf_dev_interrupt_handler() as a "bonus". On one of my systems this causes the AdminQ messages to stop beeing delivered to the VF. This results in unability to initialize and use the port. With this patch it works again. System in question: Wind River OVP6 running kernel 3.10.58-ovp-rt58-WR6.0.0.13_preempt-rt Signed-off-by: Konrad Jankowski --- drivers/net/i40e/i40e_ethdev_vf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index fd003fe..b927a35 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -1404,6 +1404,7 @@ i40evf_dev_interrupt_handler(void *param) done: i40evf_enable_irq0(hw); + rte_intr_enable(dev->intr_handle); } static int