From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 35D6D377C for ; Wed, 20 Jul 2016 10:41:58 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id o80so57642347wme.1 for ; Wed, 20 Jul 2016 01:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=yBGtRTpIouMqeQRs/tAKL83CbIpHW55GTTT2C31s5xs=; b=cDbtdhzzy7awkb1/dPdUlrO2TWVhBV4wFVYa7jITwXg+1E7aduf3LFuFihPtQeqkX5 oKb7IxTjuNv4I7/bDyfaMrrvFoA7WxIYV5GV6k01Uq12fucb7ni36SbBI7mBhZOV3Qeo u6KSLMFVP1LmGfIL7wi3V1ugUN3PXo/Y2PUd8D1J/Qy49rYShMsmW1wQPRsHD+bpkR/3 jAsYISpfz5qkYMge8g+nZtxUG8u8nlaQVdOucihne++hdXT7Lp6sn7a+a6HbxK7lyeUj bh5nLw2qbEJS1GoQj/eJ+FZJe8g6Unb/Gq2VOh+/qGlajPyHl90anoZogHsdo6U9RJ49 ozIg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=yBGtRTpIouMqeQRs/tAKL83CbIpHW55GTTT2C31s5xs=; b=S811cUqFUaj4jm6EUb4TviHhHa4zb/0zW8iPQ1H1chAUlXOsWRvkoeh1ALSWqZUxGK Arq4XZuslNRbjFIOZfy8gkO2oEPw2ioqvmapeNK5/bS2QBySzc8DSQskkRc0vLA3wav1 5PiX24fzUiVYv+ZCCXI4EtGHDE+Ir81+uUqJG/K0WbVCPjrrQ13/AWL+yEB2hutlVddZ Uw/ccL7aBuMjZ5NksooYZxu/ezr5WPDBRL2H9627PxjWDjqiXPITqE94BMHUK2donwLn LrPR+2G/iZVEo+nhc7W21GcORSKiTro3qgMxARg+gdspD3G7w/nW8yTyvqrG6Tn1rzm6 qStw== X-Gm-Message-State: ALyK8tJeBiUsiyAe+duQmegzcDYh9fsMIeb4h8cmtBdjAR0tF2APkFVvwACp7c+f7RUqwV6x X-Received: by 10.28.94.18 with SMTP id s18mr9711705wmb.44.1469004117925; Wed, 20 Jul 2016 01:41:57 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id h1sm60083wjc.19.2016.07.20.01.41.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 01:41:56 -0700 (PDT) From: Thomas Monjalon To: "Liang, Cunming" Cc: Yong Wang , dev@dpdk.org, "david.marchand@6wind.com" Date: Wed, 20 Jul 2016 10:41:56 +0200 Message-ID: <2847845.SJj9hZrsaB@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1468542971-48198-1-git-send-email-yongwang@vmware.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_intr_dp_is_en() check 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: Wed, 20 Jul 2016 08:41:58 -0000 2016-07-20 07:03, Liang, Cunming: > Probably a clean way is not to handle device external interrupt event in EAL > interrupt thread (intr mb may have some problem). The EAL interrupt thread is > only used to postpone the delay execution or other background interrupt > (e.g. alarm). Then misc/non-misc can be combined, while requiring APP to > detect the interrupt causes. I am not sure it was a good idea to have a thread for the link interrupt. It may be simpler and cleaner to let the application do the pthread_create.