DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 4/7] pcap: fix build
Date: Wed,  2 Jul 2014 17:02:52 +0200	[thread overview]
Message-ID: <1404313375-2205-5-git-send-email-thomas.monjalon@6wind.com> (raw)
In-Reply-To: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com>

The commit 83b41136934 (add unique name to devices) didn't compile if
CONFIG_RTE_LIBRTE_PMD_PCAP is enabled.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 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

  parent reply	other threads:[~2014-07-02 15:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02 15:02 [dpdk-dev] [PATCH 0/7] build fixes Thomas Monjalon
2014-07-02 15:02 ` [dpdk-dev] [PATCH 1/7] eal: fix build for bsd Thomas Monjalon
2014-07-02 15:02 ` [dpdk-dev] [PATCH 2/7] ethdev: fix build of Tx rate limitation debug Thomas Monjalon
2014-07-03  6:36   ` Zhang, Helin
2014-07-02 15:02 ` [dpdk-dev] [PATCH 3/7] ethdev: fix build of named allocation debug Thomas Monjalon
2014-07-02 15:02 ` Thomas Monjalon [this message]
2014-07-02 15:02 ` [dpdk-dev] [PATCH 5/7] virtio: fix build of debug dump Thomas Monjalon
2014-07-03  7:17   ` Xie, Huawei
2014-07-02 15:02 ` [dpdk-dev] [PATCH 6/7] vmxnet3: fix build with debug Thomas Monjalon
2014-07-02 15:02 ` [dpdk-dev] [PATCH 7/7] ixgbe/base: " Thomas Monjalon
2014-07-03  6:33   ` Zhang, Helin
2014-07-02 17:57 ` [dpdk-dev] [PATCH 0/7] build fixes Richardson, Bruce
2014-07-02 22:13   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404313375-2205-5-git-send-email-thomas.monjalon@6wind.com \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).