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 C4E71A04E7; Tue, 10 Nov 2020 23:55:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09C59F90; Tue, 10 Nov 2020 23:55:52 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id B5DB8DED for ; Tue, 10 Nov 2020 23:55:49 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id q5so237279pfk.6 for ; Tue, 10 Nov 2020 14:55:49 -0800 (PST) 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=HnGXljUGkH1bZx+9Lu5P8HQtQpTjWKtV2OXQlBCpHqE=; b=yRpKTnYZ/i83N+cHBcr5eM5O/waxAnQC7ruOx/HC3W6/mn9KSHr0POV9XxeyCZtcjC GkRV5FiuD+A9fOwo3Bq8dkOFPL5dN9ndt1kQKEwyg6Bt+Dyw5bcDzZfdiyLkz1m9zRPE F+PWHVTA5B70P1+hKyxHSpQKpKYm9PONrhQ3VOEAed4ahfp8U9peqAGTOkCUyAb9yaOW ThXTDGC69an/9gl+LwCjmlAmSgp+du1gkkF1mTQ6SwwvAdPFKXXjbMb+c8TwegdMeahK V6gulrXhQvrkZKdekeKfRS175juoYe4kF9b/EjyCzom6AxxQ2VEvQYBRhqE9lnh93JAK in9g== 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=HnGXljUGkH1bZx+9Lu5P8HQtQpTjWKtV2OXQlBCpHqE=; b=YTyuX2Xwc0PZaoiaxZnlRq9zs0RzK118/RWQKotfMV0byX47G2FOhZF4Ogwqj0NXsR ON5AHDmR7dWX0W7UlrgiZe4YpLAaw1K7fJazdP52enJJ9T6SPhYBCkAJDtEBp9NM8IB9 A2BAyK/QyJchD0GGCDg2QM+CM3HdOyjFl913xlYhE8+jYIpy5R01IUykdOdV2FlHx01L jAf2MKV3YxyL5fcYyXlb8l0WVcYgG3oSh6OPOlPzJSSRYIi/XlWB/QhDjb9vGs9agO+f 5EzqHB1HE8Lp0yoI4BSmte78s4DWDK1N18m8ZCLgAt5/h/3qzEDUg1G7llfPWvBRD/R8 H0/g== X-Gm-Message-State: AOAM530XfbchpVCLWO8mbr3IrXvTlI6tfuTbtgESoiaie0HernrzmFwp 8cubXF0RCCb2ZnXKjAeNWDs2J2ELMbeO5rY4 X-Google-Smtp-Source: ABdhPJw06XVvU6/m6JnJs3/Vuj5Qc8i1FF8TXNt0DMv+gPzJMOKjoVAbWRAlnXRGUABxg4i5N+tQlw== X-Received: by 2002:a62:e40b:0:b029:18b:2d21:45cd with SMTP id r11-20020a62e40b0000b029018b2d2145cdmr19936724pfh.36.1605048947141; Tue, 10 Nov 2020 14:55:47 -0800 (PST) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t9sm52934pjo.4.2020.11.10.14.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 14:55:46 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 10 Nov 2020 14:55:37 -0800 Message-Id: <20201110225544.1876-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 v10 0/7] 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. v10 - Incorporate feedback from Luca to documentation. Split the compatabilty macros into two parts. First adds them, last marks them as deprecated. Stephen Hemminger (7): eal: replace usage of blacklist/whitelist in enum drivers: replace references to blacklist eal: replace pci-whitelist/pci-blacklist options doc: update documentation to reflect new options app/test: use new allowlist and blocklist auto test comment fix eal: mark old definitions as deprecated 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 | 20 +++--- 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 | 22 +++---- 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 | 8 +-- 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 | 8 ++- .../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, 330 insertions(+), 278 deletions(-) -- 2.27.0