From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by dpdk.org (Postfix) with ESMTP id 06878AB06 for ; Wed, 2 Jul 2014 17:03:00 +0200 (CEST) Received: by mail-we0-f181.google.com with SMTP id q59so11514165wes.40 for ; Wed, 02 Jul 2014 08:03:21 -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:subject:date:message-id:in-reply-to :references; bh=U9DKTZP3f6gaDV0+PWJSkCCABCGd8L+WFIDbE87nW54=; b=l1/gnN+BLpDt5xRCXsT0dxv/+bsbGUFQBGe3ubnZmb23ah9pkzci6Nbr2SkvJpLI3b J96sX+r6opvmyMH4gCq6fONYadEiHJkFMSISdewlRy++Fo7INcUC4PMEvytsI1B+Ksd+ GCO0JZxUmCTel1aWmukvpUQj2KknX6rFPK2cl1VrOMSuo3YH36xt7JRomOAG/Sg8zDWZ BEJsw8sVIfR7t5XVBo3ABoLlF3yzcuZa8hnIIc6dd6nweQ3B/RdJFjJ1CAZ529QtjUUs Hv6EmpkHmIqE4pjx8CrfOwNfECCWhXrcC9EDeDXQqB89AfkfVjs1SQgNnIhKqeepmMS1 xa3A== X-Gm-Message-State: ALoCoQnDI69/vgSPjeDPEraj+V7v67oOuis2vhQONZT12q7kTcFIGrOaqwN+IlXJ8z7kkQZaLSvu X-Received: by 10.194.20.230 with SMTP id q6mr60858222wje.43.1404313400389; Wed, 02 Jul 2014 08:03:20 -0700 (PDT) Received: from XPS13.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fc7sm55588765wjc.37.2014.07.02.08.03.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jul 2014 08:03:19 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 2 Jul 2014 17:02:52 +0200 Message-Id: <1404313375-2205-5-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> References: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 4/7] pcap: fix build 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, 02 Jul 2014 15:03:02 -0000 The commit 83b41136934 (add unique name to devices) didn't compile if CONFIG_RTE_LIBRTE_PMD_PCAP is enabled. Signed-off-by: Thomas Monjalon --- lib/librte_pmd_pcap/rte_eth_pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c b/lib/librte_pmd_pcap/rte_eth_pcap.c index 12b7e0c..c77ee25 100644 --- a/lib/librte_pmd_pcap/rte_eth_pcap.c +++ b/lib/librte_pmd_pcap/rte_eth_pcap.c @@ -719,7 +719,7 @@ rte_pmd_pcap_devinit(const char *name, const char *params) if (ret < 0) return -1; - return rte_eth_from_pcaps(pcaps.pcaps, 1, pcaps.pcaps, 1, + return rte_eth_from_pcaps(name, pcaps.pcaps, 1, pcaps.pcaps, 1, numa_node, kvlist); } -- 2.0.0