From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2FFF4A04DB; Mon, 16 Nov 2020 11:07:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 14FD8C914; Mon, 16 Nov 2020 11:06:45 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id B5F71C902 for ; Mon, 16 Nov 2020 11:06:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605521199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EBJzRq7nhQ0mWp49+DfHwuDjP+NWzGDMWkeFSuaqiqM=; b=Zf+j2Q3ZbvRXfXsZz0hMeUwJfBmuWG8bca0viWRYYJuZ93hyIUULuQcEtnMROpblyG7+xc NEHiAuRJmLibBbHdKtV9GmBtBt4vtLbZ06agEuSiRJtTnXoPI0uKH5I6Ed2Gfam8Vn1aiz fVUsoAXFpK76CZWQqX3m0/AToKYXxuQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-326-jdMPy2d1ODuWUZ5L3TDb_w-1; Mon, 16 Nov 2020 05:06:37 -0500 X-MC-Unique: jdMPy2d1ODuWUZ5L3TDb_w-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4BB2B1882FB1; Mon, 16 Nov 2020 10:06:36 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.194.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 30E655B4CC; Mon, 16 Nov 2020 10:06:34 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net Date: Mon, 16 Nov 2020 11:06:18 +0100 Message-Id: <20201116100618.2894-3-david.marchand@redhat.com> In-Reply-To: <20201116100618.2894-1-david.marchand@redhat.com> References: <20201116100618.2894-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH 3/3] bus/vdev: fix comment 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" RTE_DEV_WHITELISTED is now replaced with RTE_DEV_ALLOWED. Fixes: a65a34a85ebf ("eal: replace usage of blacklist/whitelist in enums") Signed-off-by: David Marchand --- drivers/bus/vdev/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 0e94ea9d26..acfd78828f 100644 --- a/drivers/bus/vdev/vdev.c +++ b/drivers/bus/vdev/vdev.c @@ -498,7 +498,7 @@ vdev_scan(void) * by calling rte_devargs_insert() with * devargs.bus = rte_bus_find_by_name("vdev"); * devargs.type = RTE_DEVTYPE_VIRTUAL; - * devargs.policy = RTE_DEV_WHITELISTED; + * devargs.policy = RTE_DEV_ALLOWED; */ custom_scan->callback(custom_scan->user_arg); } -- 2.23.0