From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id E7A5A7CB8 for ; Wed, 12 Jul 2017 01:25:46 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id z45so1756372wrb.2 for ; Tue, 11 Jul 2017 16:25:46 -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=hFIcDTiTBtPVmk8m1EWdqqPQVRQV4yI2vZcXTc5T+OecR3C7fvXnQ4QzwtXxSvX5IK KRmUCMAuk6CN/f5pd7gyztevRTnuFGQY9i+hIWGhZiFXR/FmQv7PgNdQLLgVaq4I5iun zhc8luGCG2c1jsbMusBmBHwJRizXN6uXUfXfexjFzqaLZr+JNTafBJjfQPjvl9mFMsWD HMEb5ged0QY4ew8mAS2M8I/LWrxVFGCz/5m6qjLC32FCHi7qCvBZiDpbCs9wvSRVWNuZ C71Zp+FWN2nkJYGNbMkj4clsltSJPAdbq1GtkQDrMpwW2mLHiA+zqhc+0nN4iG9yB+n5 rC0g== 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=cwtipMh9/GCrYrc0f4tysDabYlq3GxqASOWmj7o4TJuZ4jXD84qJZ356EB8GUxHRXM VxFrqsitPdH7ma1cUA8Xs8ZZYVybhzYuJ2FtFP2Jo4pkpkZMRoEa0RqxP6ds37bLTweb dkQMh0nXB5TPki2ie3ZKZ0LKY9KhVhhzbKyGQlUmWFnQA+B2ZYfD1sPCv2AMHRDdjmTD meeZKRcHEaXmNBzohbXDSdUxBsbYM7hNTlWs3AksVXKpmuoS5OKTqYNMYVaP8hNRIFlP XjtLPWS+i27TPaR0my7WQYBJfxYE/yvVKk6gSsXhr5qbK5cJTLwp0oOdpA6kd5FFCUgn IU/g== X-Gm-Message-State: AIVw111KzN6I4yO6duqBf7/VMJllx5gT/zdwfptH9lKMeVVHjWZSmnKW Umw20nwAxuTtEclI X-Received: by 10.80.182.201 with SMTP id f9mr4076749ede.44.1499815546355; Tue, 11 Jul 2017 16:25:46 -0700 (PDT) Received: from localhost.localdomain ([37.228.147.16]) by smtp.gmail.com with ESMTPSA id k45sm311516ede.16.2017.07.11.16.25.45 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 11 Jul 2017 16:25:45 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Date: Tue, 11 Jul 2017 19:25:10 -0400 Message-Id: <20170711232512.54641-12-jblunck@infradead.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711232512.54641-1-jblunck@infradead.org> References: <20170711232512.54641-1-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH 11/13] 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: Tue, 11 Jul 2017 23:25:47 -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