From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [PATCH v2 5/7] eal: bring forward init of interrupt handling Date: Fri, 13 Jul 2018 13:28:47 +0200 Message-ID: References: <5f6bc60bf193daf4eb07f4484c52878bb1b751de.1530009564.git.anatoly.burakov@intel.com> <5431396.k1M6VaMcRs@xps> <20180713091042.GA21549@debian> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Thomas Monjalon , Anatoly Burakov , dev@dpdk.org, Jianfeng Tan , Bruce Richardson , "Ananyev, Konstantin" , qi.z.zhang@intel.com, Stephen Hemminger , Olivier Matz , Ferruh Yigit , Maxime Coquelin To: Tiwei Bie Return-path: Received: from mail-yw0-f193.google.com (mail-yw0-f193.google.com [209.85.161.193]) by dpdk.org (Postfix) with ESMTP id 6FC6E3238 for ; Fri, 13 Jul 2018 13:29:08 +0200 (CEST) Received: by mail-yw0-f193.google.com with SMTP id l189-v6so11597097ywb.10 for ; Fri, 13 Jul 2018 04:29:08 -0700 (PDT) In-Reply-To: <20180713091042.GA21549@debian> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 13, 2018 at 11:10 AM, Tiwei Bie wrote: > On Fri, Jul 13, 2018 at 10:09:42AM +0200, David Marchand wrote: > [...] >> Well, there was an issue vith virtio at one time (interrupt handler >> did not have the right iopl for virtio callback). >> http://git.dpdk.org/dpdk/commit/lib/librte_eal/linuxapp/eal/eal.c?id=fd6949c55c9a48e81c625138679159829d51ac51 >> >> Now... time has passed since then. >> It is worth checking the issue is still here, and if it is the case, >> revisit this. > > Now rte_virtio_pmd_init() which calls rte_eal_iopl_init() > is called as a constructor [1], so the issue isn't there > any more. If the virtio pmd is loaded dynamically, eal_plugins_init() is still called before rte_eal_intr_init(). Yes, for this case, it looks to be fine with Anatoly change. -- David Marchand