From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id E7F3847D2 for ; Mon, 30 Jun 2014 00:14:40 +0200 (CEST) Received: by mail-wg0-f52.google.com with SMTP id b13so7274374wgh.11 for ; Sun, 29 Jun 2014 15:15:00 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=R2vebMRy7UPn+bwiLPu89ajhcR6AP8wHiduP4IASgm8=; b=Kbu4lJWNAMC/snODfmigayy1Zv2s2LUO3KdcDDNBvYjXA0oJjgEV2kXdx/NmmVhpRR zi9Nrd8eWOiQHjENtK5jh7Yc4Gt0AzEtcDVM2sYmMU8gZsUwJie0scyahuSG6UGCEwSY YBIWNm2Oi7S93K3Z/iDAEXo4uPr0H4onjRMoiyskVOlyGTiMjjKl5BesCOKMyfkZvLFq So0KiPgJzF5VfEuw8kwbDrtW439p7r70K1O3pIOAuZnEvPzIYfR+REDq9n+d2WPkVzHi X41JGoTpLogtD+BcaN/T4qakWHdMChfYSV7tMBXLhL90ZPD921SSupoacdd553pvS11V 0jYg== X-Gm-Message-State: ALoCoQlWrnt31vF4ZLXhbfomCyvsKNWDNlY04V2VTCmZD/dAPw2S7CFwufE3IZSNrebWFbvCZkJW X-Received: by 10.180.13.208 with SMTP id j16mr25569425wic.15.1404080100722; Sun, 29 Jun 2014 15:15:00 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id u10sm24103464wix.11.2014.06.29.15.14.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jun 2014 15:14:59 -0700 (PDT) From: Thomas Monjalon To: Hiroshi Shimamoto Date: Mon, 30 Jun 2014 00:14:53 +0200 Message-ID: <6362330.xvAMVmviSp@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD01101844@BPXM14GP.gisp.nec.co.jp> References: <7F861DC0615E0C47A872E6F3C5FCDDBD01101844@BPXM14GP.gisp.nec.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Hayato Momma Subject: Re: [dpdk-dev] [memnic PATCH] linux: fix to disable softirq before netif_receive_skb() 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: Sun, 29 Jun 2014 22:14:41 -0000 > Calling netif_receive_skb() from memnic thread may cause deadlock, if > softirq is not disabled. > > The netif_receive_skb() should be called in softirq context, but memnic > thread is not softirq context. That may conflict softirq work like a > timer handler in kernel network stack. > > Signed-off-by: Hiroshi Shimamoto > Reviewed-by: Hayato Momma Applied Thanks -- Thomas