From patchwork Mon Nov 16 10:06:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 84228 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F6DAA04DB; Mon, 16 Nov 2020 11:06:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B96D0C8F4; Mon, 16 Nov 2020 11:06:39 +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 171CEC8B0 for ; Mon, 16 Nov 2020 11:06:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605521196; 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; bh=M/pN3oH8JYZjF0lsla3RA9/ngHrB9JDOjfmsezeU23w=; b=ZO/oufxjxCoO34H0xpLoGUrZ/40FOYCq3qlWqr5ERjTVDaRYOE5ZfrpN6vo67ij5t3S3u3 jWf66+FPtegndXGzC/ZjjY0xz6+MXXUUS73tnUUJgmI+cZil/s6HGWu7V1YZVa2RSao0hv SMWo7E59bDsiGKpi7hDfCQ5t/rXEFBQ= 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-456-wUDMtwj7PLOF-ON3uLMMjQ-1; Mon, 16 Nov 2020 05:06:33 -0500 X-MC-Unique: wUDMtwj7PLOF-ON3uLMMjQ-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 88C771882FA0; Mon, 16 Nov 2020 10:06:32 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.194.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF9045B4CC; Mon, 16 Nov 2020 10:06:30 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net Date: Mon, 16 Nov 2020 11:06:16 +0100 Message-Id: <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 Subject: [dpdk-dev] [PATCH 1/3] test/eal: remove unneeded command 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" All EAL flags tests are run by calling the "eal_flags_autotest" command. There is no compatibility to maintain for sub commands only called by meson. Fixes: db27370b5720 ("eal: replace blacklist/whitelist options") Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- app/test/meson.build | 2 +- app/test/test_eal_flags.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 88c831a92e..94fd39fecb 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -195,7 +195,7 @@ fast_tests = [ ['eal_flags_n_opt_autotest', false], ['eal_flags_hpet_autotest', false], ['eal_flags_no_huge_autotest', false], - ['eal_flags_w_opt_autotest', false], + ['eal_flags_a_opt_autotest', false], ['eal_flags_b_opt_autotest', false], ['eal_flags_vdev_opt_autotest', false], ['eal_flags_r_opt_autotest', false], diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index 85b6c6d7c7..932fbe3d08 100644 --- a/app/test/test_eal_flags.c +++ b/app/test/test_eal_flags.c @@ -1546,7 +1546,6 @@ REGISTER_TEST_COMMAND(eal_flags_main_opt_autotest, test_main_lcore_flag); REGISTER_TEST_COMMAND(eal_flags_n_opt_autotest, test_invalid_n_flag); REGISTER_TEST_COMMAND(eal_flags_hpet_autotest, test_no_hpet_flag); REGISTER_TEST_COMMAND(eal_flags_no_huge_autotest, test_no_huge_flag); -REGISTER_TEST_COMMAND(eal_flags_w_opt_autotest, test_allow_flag); /* for legacy CI */ REGISTER_TEST_COMMAND(eal_flags_a_opt_autotest, test_allow_flag); REGISTER_TEST_COMMAND(eal_flags_b_opt_autotest, test_invalid_b_flag); REGISTER_TEST_COMMAND(eal_flags_vdev_opt_autotest, test_invalid_vdev_flag); From patchwork Mon Nov 16 10:06:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 84229 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F97BA04DB; Mon, 16 Nov 2020 11:06:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7BB72C904; Mon, 16 Nov 2020 11:06:42 +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 E67B0C8F8 for ; Mon, 16 Nov 2020 11:06:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605521197; 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=T811OTX5DL6wBQ675zaR4rdFjTEYoLBwlATOthUW1Fs=; b=K9ewmHMJQpDlZOV71wJ1fQ6ISs1iHkMhvpZWA9W5Xs2V5q72DBsjQfn2H925527Y+LBUav 9iGN2mRk1EkRZDs46ZHy9GbzoVCJ1jw/1xeC2gufBJG2XknyjGcVM8yjrFqFQe1gKCwLEo pfzvx2FzG/bhpTak4TAT/vHkB5C3woI= 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-26-sA1mGwIJP2eZFNpHaRCl6w-1; Mon, 16 Nov 2020 05:06:35 -0500 X-MC-Unique: sA1mGwIJP2eZFNpHaRCl6w-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 7C82B800683; Mon, 16 Nov 2020 10:06:34 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.194.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2EB165B4BB; Mon, 16 Nov 2020 10:06:32 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net Date: Mon, 16 Nov 2020 11:06:17 +0100 Message-Id: <20201116100618.2894-2-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 Subject: [dpdk-dev] [PATCH 2/3] doc: fix coremask option for eventdev pipeline 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" -w option in this context is an application option for coremask. Restore it. Fixes: db27370b5720 ("eal: replace blacklist/whitelist options") Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- doc/guides/sample_app_ug/eventdev_pipeline.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/eventdev_pipeline.rst b/doc/guides/sample_app_ug/eventdev_pipeline.rst index 41ee8b7ee3..4508c3dcc8 100644 --- a/doc/guides/sample_app_ug/eventdev_pipeline.rst +++ b/doc/guides/sample_app_ug/eventdev_pipeline.rst @@ -47,7 +47,7 @@ these settings is shown below: .. code-block:: console .//examples/dpdk-eventdev_pipeline --vdev event_sw0 -- -r1 -t1 \ - -e4 -a FF00 -s4 -n0 -c32 -W1000 -D + -e4 -w FF00 -s4 -n0 -c32 -W1000 -D The application has some sanity checking built-in, so if there is a function (e.g.; the RX core) which doesn't have a cpu core mask assigned, the application From patchwork Mon Nov 16 10:06:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 84230 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 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 Acked-by: Thomas Monjalon --- 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); }