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 26536A04B5; Sun, 25 Oct 2020 21:57:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 189A12B8E; Sun, 25 Oct 2020 21:57:42 +0100 (CET) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id D17102B86 for ; Sun, 25 Oct 2020 21:57:39 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id x10so1459576plm.13 for ; Sun, 25 Oct 2020 13:57:39 -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=qNprrOlAi0By+lPF+LBt972vIpEPk9+sp3Hsbicmp34=; b=ZWxGZgjEQEKbycKGUy4hFVPTK/80BlLsv71+MUtyEt1h1NTmoI0gzkWVJ6c3Gzl8jo bQ/+3AZKNYBb1XgnLnalRzPOqvYTX/z5ohWzALnytD1p2nmQvhekZVWj5BeVS376c42x cUyirEd0Cm58WdJ4PCqjxc25RLJr1b5HEHoZnI/JKd0wmhmOE6aB+tE3yty4cLRkAUeO /gCis2IS8xQ3gJsAgAQvW0TTu3shrEh23Sg+gWFPRkDL+F2Xc14X5Qaeev+UnluYvbCJ H8KIkxN0nh7HhK08vJg8S6rBxGjaibG9NHF/iRpWBGBRCRL4giBBi6t0+UrXvqgtQ+CF 4PPw== 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=qNprrOlAi0By+lPF+LBt972vIpEPk9+sp3Hsbicmp34=; b=SRUWGpAp+LTOxYk8t+cVKq8OpschfjAb8KrNwFSI8H+viSHntwlilOqhFX3U8l2LrL uA992mTLofomtb/+1h/4QTx+8E0njg5YJPz3GSS5AZ8iasXFKc+rbGNtcwjjmflXXJ01 btHZKaNEFoVwJRGmJ273gstWomhu+0b/7djT2e59UdHCXQbwzEd1VjY9Bp1sOzSWcyqs t8mIMvgssYSQxL7Z6uYamfbkC2G3lZ4+TjaDFJ8KWqI+Hk/dmY3Xy6IV53ohl+XizjMv zWxhUOUWNwxsa/DYBcJkptfGomQE/gWauOqU3DuOGcxtfPdUKbKj44a92oHVHwMeDWvp nxBw== X-Gm-Message-State: AOAM530+XDU/VCzmaDhZsUZrOHT4s/i43rL6sYtdHNfkI1rEtt41I7/T sixDXtVQlKrpbvqS1dsHHPotBh59iu0Dp0Mu X-Google-Smtp-Source: ABdhPJxVcCYNdViiOLZ51Jug4mJh50wj2I7knUB69tZ99cnr6QsTvL6bGCpjA2KaHQY7nkVywLf+JQ== X-Received: by 2002:a17:902:6803:b029:d2:42a6:312 with SMTP id h3-20020a1709026803b02900d242a60312mr9183546plk.24.1603659457158; Sun, 25 Oct 2020 13:57:37 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f7sm9569190pfd.111.2020.10.25.13.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 13:57:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Sun, 25 Oct 2020 13:57:22 -0700 Message-Id: <20201025205727.28570-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 v7 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. 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 | 67 ++++++++++++------- lib/librte_eal/common/eal_options.h | 9 ++- 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, 327 insertions(+), 272 deletions(-) -- 2.27.0