Message ID | 1421942949-12189-4-git-send-email-ciprian.barbu@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC42RN5IWUGBBT6BQSTAKGQEPN5SUXA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B004B240DB for <linaro@patches.linaro.org>; Thu, 22 Jan 2015 16:09:52 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e49sf2164446eek.3 for <linaro@patches.linaro.org>; Thu, 22 Jan 2015 08:09:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=Cb3qpqX2nybJjocqBkgR84dIczuvH/7U77UQ4eB9Kzo=; b=KZij9O+iS9mVX+QrZl4a3nfXFDvYnl6J25YFoMd6tjA8Y8IjD9T18sNHh1uUvJ4pdj o2PDNdqunMfnHwg/gU5NWI37IFduvsq0Q8oWs73OMOuxw3drTM4iaAV5Cz547IIQ1LlE 7rFjPFJVdZUue1Vjipdv02LWuNK/wgJD80eUnPdxxtJh4ZO1CtGQqeL1wVoiJ5tCtgWg 0kkX+kTBPXqtmZuXdHFnPxwNsjLOwT62CyEXYR9awYOAeAQQ9F/zaBvS0oqXynDe2uKn EPWz59BOZMqxrwWnv4y2ja4lV0ZEOj44hiGSkk9yrJDCvoKWPfWWTjZi04zxV+U/rqdH rKPw== X-Gm-Message-State: ALoCoQl1OYeBGOJzSiMOLR4wP2lKWawnGmMIUsP+s2PZMYHt93t/JcXoLzR4d5tZrsY+i77yFC57 X-Received: by 10.180.108.197 with SMTP id hm5mr2446182wib.4.1421942991826; Thu, 22 Jan 2015 08:09:51 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.133 with SMTP id c5ls178353lac.102.gmail; Thu, 22 Jan 2015 08:09:51 -0800 (PST) X-Received: by 10.152.43.49 with SMTP id t17mr2648610lal.52.1421942991603; Thu, 22 Jan 2015 08:09:51 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lv4si16868423lac.87.2015.01.22.08.09.51 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 08:09:51 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id gm9so2515909lab.0 for <patchwork-forward@linaro.org>; Thu, 22 Jan 2015 08:09:51 -0800 (PST) X-Received: by 10.112.14.6 with SMTP id l6mr2523910lbc.91.1421942991528; Thu, 22 Jan 2015 08:09:51 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp311819lbb; Thu, 22 Jan 2015 08:09:50 -0800 (PST) X-Received: by 10.224.46.200 with SMTP id k8mr3860671qaf.89.1421942990083; Thu, 22 Jan 2015 08:09:50 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id h34si5135030qgf.2.2015.01.22.08.09.48 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 22 Jan 2015 08:09:50 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1YEKKJ-0008Ug-30; Thu, 22 Jan 2015 16:09:47 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <ciprian.barbu@linaro.org>) id 1YEKK5-0008Rx-GA for lng-odp@lists.linaro.org; Thu, 22 Jan 2015 16:09:33 +0000 Received: by mail-la0-f49.google.com with SMTP id hs14so2471296lab.8 for <lng-odp@lists.linaro.org>; Thu, 22 Jan 2015 08:09:27 -0800 (PST) X-Received: by 10.112.156.169 with SMTP id wf9mr2496294lbb.85.1421942967908; Thu, 22 Jan 2015 08:09:27 -0800 (PST) Received: from cipriantemp.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id v4sm6429275lav.25.2015.01.22.08.09.26 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 Jan 2015 08:09:27 -0800 (PST) From: Ciprian Barbu <ciprian.barbu@linaro.org> To: zoltan.kiss@linaro.org, lng-odp@lists.linaro.org Date: Thu, 22 Jan 2015 18:09:07 +0200 Message-Id: <1421942949-12189-4-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1421942949-12189-1-git-send-email-ciprian.barbu@linaro.org> References: <1421942949-12189-1-git-send-email-ciprian.barbu@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 3/5] netdev-odp: fix pmd threads reinitializing X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ciprian.barbu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index a0e508c..9aa78ce 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -67,6 +67,9 @@ #include "unixctl.h" #include "util.h" #include "openvswitch/vlog.h" +#ifdef ODP_NETDEV +#include "netdev-odp.h" +#endif VLOG_DEFINE_THIS_MODULE(dpif_netdev); @@ -2366,6 +2369,11 @@ reload: /* Signal here to make sure the pmd finishes * reloading the updated configuration. */ dp_netdev_pmd_reload_done(pmd); +#ifdef ODP_NETDEV + if (odp_init_local()) { + ovs_abort(-1, "ODP init local failed\n"); + } +#endif for (;;) { int i;
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> --- lib/dpif-netdev.c | 8 ++++++++ 1 file changed, 8 insertions(+)