From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 338487CB8 for ; Fri, 14 Jul 2017 23:12:45 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id j85so12764889wmj.0 for ; Fri, 14 Jul 2017 14:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=HwoCq+ulgPNDsohEUpjesdtY/FknsAkuTxs229XjekA=; b=e9ld8H8/mPL53tqzSROIgjGp5suwBE9BbXAOZct0Q8k7tmh5NZswUX2Sq+0vMXBfRs 2W8ykYM8UZ5kxsUA1bVnmo830ubvsFHHJQ48hmp6UUUMSi+E8Ei1mO6L7Tzj+q3sxdK5 abybJ90X5Bg63qnLFlD6pQ8Dr9UrI/smch3v6NwfgrlGKMi/GnsYm/la695d0VNA6IiH 1OcbZSKDK1wjLc2SM+gUyWjPZwbvdj+2qhu7/UVOMTYvYXyfJCzQ/iggaCaROsgcG94w iN6Q1rMzAMxeITThq+i+NEnrNwb1yXfy+gfFYaqPr/MPDXC493n6PSLVEXTNaBigJt8N az0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=HwoCq+ulgPNDsohEUpjesdtY/FknsAkuTxs229XjekA=; b=b9CsvUEQ7D7hlFyg/oRsKs62a4fVZ5IFe0DowT9u8LG0+GsAD1EEHrrNjXJzENxU/8 1UowCU4h5H36ew5OevldIQFnMcBsqclYg2qdxzoApk3TMkCdnUi2hxcQIuTteBn6xZpU i50Ij7YdiTV/wTVssHxkSz3QuE//uRoG9y8vG4H33pWklg74Ur8N5IcVSTAoGvRlm4gK +fKjMEQUdGeMEXR7XDZ2sRzaaRfjfajyzvaLEqhk5DhOr2N28AMy7dgboMIC8SdlVOGQ IWCq2GK8RdDUyRxKyXpkHSnoWtdQX57sDs+atztvF5G2qsXJbEDuQATkzwQuR4BdqwT6 Dsqw== X-Gm-Message-State: AIVw113Zatt+akhaJL6FEep2vau5/AKWDrhi40B3eKdg9i6KpY5pRBwS TW1iiS9Z+p170Rpk X-Received: by 10.80.194.210 with SMTP id u18mr8297229edf.89.1500066764691; Fri, 14 Jul 2017 14:12:44 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id c11sm4892223eda.0.2017.07.14.14.12.43 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 14 Jul 2017 14:12:43 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Fri, 14 Jul 2017 17:12:10 -0400 Message-Id: <20170714211213.34436-13-jblunck@infradead.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170714211213.34436-1-jblunck@infradead.org> References: <20170711232512.54641-1-jblunck@infradead.org> <20170714211213.34436-1-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v2 12/15] vdev: use busname X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 21:12:45 -0000 Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/eal_common_vdev.c b/lib/librte_eal/common/eal_common_vdev.c index ff6a3b571..d04015582 100644 --- a/lib/librte_eal/common/eal_common_vdev.c +++ b/lib/librte_eal/common/eal_common_vdev.c @@ -260,7 +260,7 @@ vdev_scan(void) /* for virtual devices we scan the devargs_list populated via cmdline */ TAILQ_FOREACH(devargs, &devargs_list, next) { - if (devargs->bus != &rte_vdev_bus) + if (strcmp(devargs->busname, rte_vdev_bus.name) != 0) continue; dev = find_vdev(devargs->name); -- 2.13.2