From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6323EC388F7 for ; Sun, 25 Oct 2020 21:15:33 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id B211A208B3 for ; Sun, 25 Oct 2020 21:15:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="HUUlHdIk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B211A208B3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=networkplumber.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 436781D9E; Sun, 25 Oct 2020 22:15:30 +0100 (CET) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 231D3F90 for ; Sun, 25 Oct 2020 22:15:28 +0100 (CET) Received: by mail-pf1-f194.google.com with SMTP id 10so5045106pfp.5 for ; Sun, 25 Oct 2020 14:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Epmhsv+FxIj91ub3uJLFw30cM7M/ubwVZW1MwCwpowI=; b=HUUlHdIkWNYchbeKUoTd+Tav44309LorPtaafX4k2YcAaHyjKVuGvLkv5TFD2qcpab Im4lta822jFjl5ayR7Vangbg8D7byKWCIXDvOdoutSdMxJa6RVbYVSqo3Dt0qeyK8b4z PD4/Ld1NlRxtE/+skiG9AgiQJSYagZVwuG1yHSGKGnU6yrFkz3ODCCnRyaShe8ivdgPh t1/CWXqsjW2QxYOFGarweY51IPZz0oF+/BWgMUnzA3JshmWBnL7o9ihOHBhwHDvapca0 4YNtRPNzgeBQjqs8y29hLptsI+EnbUk7i1fKm2yPrr6rpENOyuWbd1DEgrFwc6fg+w9n 9HUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Epmhsv+FxIj91ub3uJLFw30cM7M/ubwVZW1MwCwpowI=; b=XQE8EnoIKdN2/lZ9gEK43r8kMQTczh6jnSeYwkTomwpYiQJ0dtc9sQEr0o9HsDF4KB 9W10c36XUp1jBjaiIzaIlooSJLAFmLIKmHNvEKAuM7BAJpvVkIF8Rq0K5EMrzzc3q8+g IB4wxj2ThG1AFDVuS6D+X52MrGrfmWtL5dIJu404nVG0K4dJ8UCxWQ3xYA5q0x2007w7 YIpte3EgdXFM3n2pZPijViLpVOvf0zRSsEavz5deKPtwl0tj+FDj3EGhf1UFUux39u42 +sdnIRHxgrgFla6vnHFxQXTw9sG7SbGSONmfalHvFHTzyBWfJubN0LuWU/qPXv+Sf1G7 0raQ== X-Gm-Message-State: AOAM5327bLVNiK7G8FY+L+lRoBbS2bNd0gv/Flc4TScvwJ/pYTVFalR1 kGw1ozT709Un+mIVK+qKahvdazFK1Lz0X2mX X-Google-Smtp-Source: ABdhPJzU/A+TEPZVPJFXXZmLhOX3MhMedSy0dx4ZG1YLIsLuBygs2gpiLSJNTpWsJAmAvdlE6eg5pg== X-Received: by 2002:a63:6701:: with SMTP id b1mr13271409pgc.59.1603660526605; Sun, 25 Oct 2020 14:15:26 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id l129sm2178074pgl.3.2020.10.25.14.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 14:15:25 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Sun, 25 Oct 2020 14:15:13 -0700 Message-Id: <20201025211518.531-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200922143202.8755-1-stephen@networkplumber.org> References: <20200922143202.8755-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v8 0/5] replace blacklist/whitelist with allow/block 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" This patch series changes the use of the terms blacklist and whitelist and instead uses block and allow. The change is most visible in the options passed to DPDK programs for marking which devices to use. The options are also shortened because they can be used for not just PCI devices. When DPDK was expanded to support other bus types the -b option was also uses for non-PCI devices. But the documentation and the name of the long option never changed. v8 - incorporate more of the feedback from David Marchand fix the pci-blacklist option number and reformat the usage (All the usage message should be fixed format). v7 - fix options handling changes in test code. this should fix the CI failures. v6 - fix some confusion in handling options that was introduced by earlier versions of the patch. Stephen Hemminger (5): eal: replace usage of blacklist/whitelist in enum drivers: replace references to blacklist eal: replace pci-whitelist/pci-blacklist options doc: change references to blacklist and whitelist app/test: use new allowlist and blocklist app/test/autotest.py | 16 ++--- app/test/autotest_runner.py | 18 ++--- app/test/test.c | 2 +- app/test/test_eal_flags.c | 53 +++++++-------- doc/guides/cryptodevs/dpaa2_sec.rst | 6 +- doc/guides/cryptodevs/dpaa_sec.rst | 6 +- doc/guides/cryptodevs/qat.rst | 12 ++-- doc/guides/eventdevs/octeontx2.rst | 20 +++--- doc/guides/freebsd_gsg/build_sample_apps.rst | 2 +- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- doc/guides/linux_gsg/eal_args.include.rst | 14 ++-- doc/guides/linux_gsg/linux_drivers.rst | 4 +- doc/guides/mempool/octeontx2.rst | 4 +- doc/guides/nics/bnxt.rst | 18 ++--- doc/guides/nics/cxgbe.rst | 12 ++-- doc/guides/nics/dpaa.rst | 6 +- doc/guides/nics/dpaa2.rst | 6 +- doc/guides/nics/enic.rst | 6 +- doc/guides/nics/fail_safe.rst | 16 ++--- doc/guides/nics/features.rst | 2 +- doc/guides/nics/i40e.rst | 16 ++--- doc/guides/nics/ice.rst | 28 +++++--- doc/guides/nics/ixgbe.rst | 4 +- doc/guides/nics/mlx4.rst | 18 ++--- doc/guides/nics/mlx5.rst | 14 ++-- doc/guides/nics/nfb.rst | 2 +- doc/guides/nics/octeontx2.rst | 23 +++---- doc/guides/nics/sfc_efx.rst | 2 +- doc/guides/nics/tap.rst | 2 +- doc/guides/nics/thunderx.rst | 4 +- .../prog_guide/env_abstraction_layer.rst | 6 +- doc/guides/prog_guide/multi_proc_support.rst | 4 +- doc/guides/prog_guide/poll_mode_drv.rst | 6 +- .../prog_guide/switch_representation.rst | 6 +- doc/guides/rel_notes/release_20_11.rst | 5 ++ doc/guides/sample_app_ug/bbdev_app.rst | 14 ++-- .../sample_app_ug/eventdev_pipeline.rst | 4 +- doc/guides/sample_app_ug/ipsec_secgw.rst | 12 ++-- doc/guides/sample_app_ug/l3_forward.rst | 7 +- .../sample_app_ug/l3_forward_access_ctrl.rst | 2 +- .../sample_app_ug/l3_forward_power_man.rst | 3 +- doc/guides/sample_app_ug/vdpa.rst | 2 +- doc/guides/tools/cryptoperf.rst | 6 +- doc/guides/tools/flow-perf.rst | 2 +- doc/guides/tools/testregex.rst | 2 +- drivers/bus/dpaa/dpaa_bus.c | 7 +- drivers/bus/fslmc/fslmc_bus.c | 9 ++- drivers/bus/fslmc/fslmc_vfio.c | 12 ++-- drivers/bus/pci/pci_common.c | 24 +++---- drivers/bus/vmbus/vmbus_common.c | 4 +- drivers/crypto/virtio/virtio_pci.c | 2 +- drivers/net/virtio/virtio_pci.c | 2 +- lib/librte_eal/common/eal_common_devargs.c | 14 ++-- lib/librte_eal/common/eal_common_options.c | 66 +++++++++++-------- lib/librte_eal/common/eal_options.h | 13 +++- lib/librte_eal/include/rte_bus.h | 10 ++- lib/librte_eal/include/rte_dev.h | 10 ++- lib/librte_eal/include/rte_devargs.h | 10 ++- 58 files changed, 329 insertions(+), 273 deletions(-) -- 2.27.0