From patchwork Fri Aug 18 02:52:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 72 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5D78B41B5F; Fri, 18 Aug 2023 04:53:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30F2340395; Fri, 18 Aug 2023 04:53:02 +0200 (CEST) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id F130640156 for ; Fri, 18 Aug 2023 04:53:00 +0200 (CEST) Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-26b2884bec8so363152a91.0 for ; Thu, 17 Aug 2023 19:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692327180; x=1692931980; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SyZyLny2M3iNWEER4wxUyy/8/zf5PVo8PYNgICp9Ol4=; b=nCU5kp0iN1m5Hktn52d1iGPvPbdd/bdXEAcYcGwZy/Fjw3XbeHw1EECFSTEdJ2CkGW xfHADhGqnldWmXOIKUyUMLsbVLNSpeJiHuaOaEatOCwB/u0I/2K/VqrR/KvkLY9RwlsS MEeLYi9BF9sRfveBZEav2+5Xjaug4qi9SZeK5oPTi7PDdltfRmIgLn2ii93RpvwlSHUO HeEY4srscT4EW56fdA+S380+9bRFXHE9Zu1BuMHBfGEW/AowN5oVFXwXfbC6SsEovsmN 1SbvQbzTYbZrdMZwkvXnkQpO7Pbb0kI5+IYnUE5T8LwFWJ7uKyS8FmHEW8QXoJBYOfiF ViEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692327180; x=1692931980; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SyZyLny2M3iNWEER4wxUyy/8/zf5PVo8PYNgICp9Ol4=; b=BpUbfSlJJsZVYCsocBAk9g9cyk4h6r8V9hfDQzw9iUfk4UsFxmZM4sXjtixRrASvw7 ETcLWIrSxa+vzFpAxx/eqFGqzwhwA2PhI0iMGu1UVMycd8QuXyKTGTsRn2lzVku/IVWH 0UP7Z4CaPRg1XOaOJl0hoE3BucJU7GL5UvYV/Vto886JhlWNpVBOoByH2xXTGFpbL7cW b4Nd+wwXAKncN3D9J6j/owEeokEOq0ecx6P9bTJ+kLtzGVR0Ij9JuXAYiaXrpV03yloI q0oUGwZVoFlKASpwdqtQ+p0AVY059MNWrgoryXBS/gb3a8AM8h0OU6Vlm1CmLlZR0dlA PqJg== X-Gm-Message-State: AOJu0YwLnZQYBMzGmITFPLMB1r72+FK+6QCT3Xgc/xE1mf5xWMlbeU3d 9uu6Rq0SuniZAtozpJcMPf1WFF7s0X+T1mZf4F3wGw== X-Google-Smtp-Source: AGHT+IFAZnmtGvJ3giANwp+Dpz4vCvFHnCCLvBI0gvDt49hr5qw7ObEZ0DW+FzFgD9NFGSUANdWsfQ== X-Received: by 2002:a17:90b:1809:b0:268:18e:9dfa with SMTP id lw9-20020a17090b180900b00268018e9dfamr1348025pjb.5.1692327179755; Thu, 17 Aug 2023 19:52:59 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ep13-20020a17090ae64d00b00262e485156esm2221246pjb.57.2023.08.17.19.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 19:52:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 00/14] remove use of term abort Date: Thu, 17 Aug 2023 19:52:35 -0700 Message-Id: <20230818025249.33994-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The term 'abort' is on the inclusive namin Tier 1 word list as replace when possible. It is possible to do this across DPDK except the few places that directly call the lib C abort() function. Rationale (from https://inclusivenaming.org/word-lists/tier-1/abort/) The term “abort” frequently appeared in Inclusive Language Initiative surveys and standards reviews. Multiple organizations felt that usage of the word posed an issue worth addressing in their individual companies and projects. Given this widespread interest, the INI has decided to offer its own guidance. INI recommends replacing “abort” wherever possible. In accordance with the INI’s language framework, the term does not necessarily constitute a first-order concern. However, because it is such a charged term outside of computing, “abort” fails to provide a clear description of the action being taken, and serves primarily to distract. There are numerous other words in the English language that can serve the same purpose in computing without invoking the emotionally charged cultural context of “abort.” Although the INI debated whether the word “abort” itself or the procedure commonly associated with it (“abortion”) caused the aforementioned distractions, the etymology of the word has a direct and unambiguous link to the termination of a pregnancy. Alternative uses of the word “abort” are in use today, such as in rocketry. However, the INI concluded that the term itself was insufficiently distanced from its original meaning for those alternative definitions to be its primary association. All this being said, the INI does not advocate for a blanket replacement of the term. “Abort” appears in many standards organization documents, and is deeply embedded in some operating systems. As such, the INI acknowledges that the term may need to be retained in certain contexts to remain in compliance with those standards, or to preserve accurate documentation for bedrock functions and processes that are too fundamental to be changed. Some organizations have noted that using “abort” in contexts other than the medical or political serves to de-stigmatize the term, thereby promoting reproductive rights and bodily autonomy. Conversely, discouraging the term could be interpreted as accepting a framing that denies a pregnant person’s right to control their body. The judgment of the INI is that the term causes discomfort or offense without providing a necessary degree of technical clarity, and therefore it should be avoided. At some future point, because language changes over time, “abort” may become a less contentious term; at that juncture, the appropriateness of the term may be revisited. Stephen Hemminger (14): jobstats: change jobstats_abort to jobstats_cancel all: remove use of word abort pipeline: remove use of term abort net/vmxnet3: replace abort() with rte_panic() event/dlb2: remove word abort in comments net/vdev_netvsc: replace use of term abort net/netvsc: replace abort with cancel net/ionic: remove word aborting net/bnx2x: replace abort with cancel net/mlx5: replace abort with cancel net/softnic: replace abort with cancel net/mlx4: remove word abort sfc: remove use of term abort net/axgbe: replace word abort .../comp_perf_test_cyclecount.c | 2 +- .../comp_perf_test_throughput.c | 2 +- .../comp_perf_test_verify.c | 2 +- app/test/test_dmadev.c | 2 +- doc/guides/prog_guide/bpf_lib.rst | 2 +- doc/guides/prog_guide/traffic_management.rst | 2 +- drivers/common/mlx5/mlx5_common_mr.c | 6 ++-- drivers/common/mlx5/mlx5_prm.h | 4 +-- drivers/common/sfc_efx/efsys.h | 2 +- drivers/common/sfc_efx/sfc_efx_mcdi.c | 6 ++-- drivers/common/sfc_efx/version.map | 2 +- drivers/dma/hisilicon/hisi_dmadev.c | 4 +-- drivers/dma/hisilicon/hisi_dmadev.h | 2 +- drivers/event/dlb2/dlb2.c | 2 +- drivers/event/dlb2/pf/base/dlb2_resource.c | 2 +- drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +- drivers/net/axgbe/axgbe_common.h | 4 +-- drivers/net/axgbe/axgbe_ethdev.h | 2 +- drivers/net/axgbe/axgbe_i2c.c | 26 ++++++++--------- drivers/net/bnx2x/bnx2x.c | 18 ++++++------ drivers/net/bnx2x/bnx2x_vfpf.c | 4 +-- drivers/net/bnx2x/ecore_hsi.h | 6 ++-- drivers/net/bnx2x/ecore_reg.h | 20 ++++++------- drivers/net/ionic/ionic_dev_pci.c | 6 ++-- drivers/net/ionic/ionic_ethdev.c | 18 ++++++------ drivers/net/ionic/ionic_lif.c | 2 +- drivers/net/mlx4/mlx4_mr.c | 6 ++-- drivers/net/mlx5/hws/mlx5dr_rule.c | 8 ++--- drivers/net/mlx5/hws/mlx5dr_send.c | 2 +- drivers/net/mlx5/hws/mlx5dr_send.h | 2 +- drivers/net/mlx5/linux/mlx5_os.c | 4 +-- drivers/net/mlx5/mlx5_rx.c | 2 +- drivers/net/netvsc/rndis.h | 2 +- drivers/net/sfc/sfc_ef10_rx.c | 2 +- drivers/net/sfc/sfc_ev.c | 4 +-- drivers/net/softnic/rte_eth_softnic_cli.c | 12 ++++---- drivers/net/vdev_netvsc/vdev_netvsc.c | 4 +-- drivers/net/vmxnet3/vmxnet3_rxtx.c | 5 ++-- examples/ipsec-secgw/rt.c | 4 +-- examples/l2fwd-jobstats/main.c | 2 +- lib/dmadev/rte_dmadev.h | 6 ++-- .../include/generic/rte_power_intrinsics.h | 10 +++---- lib/eal/include/generic/rte_rwlock.h | 4 +-- lib/eal/include/generic/rte_spinlock.h | 8 ++--- lib/eal/include/rte_seqlock.h | 2 +- lib/eal/x86/include/rte_rtm.h | 16 +++++----- lib/eal/x86/include/rte_spinlock.h | 12 ++++---- lib/eal/x86/rte_power_intrinsics.c | 8 ++--- lib/ethdev/rte_tm.h | 2 +- lib/hash/rte_cuckoo_hash.h | 2 +- lib/jobstats/rte_jobstats.c | 2 +- lib/jobstats/rte_jobstats.h | 9 +++++- lib/jobstats/version.map | 2 +- lib/pipeline/rte_swx_ctl.c | 29 ++++++++++--------- lib/pipeline/rte_swx_ctl.h | 8 ++--- lib/pipeline/version.map | 2 +- lib/ring/rte_ring_peek_elem_pvt.h | 4 +-- 57 files changed, 171 insertions(+), 164 deletions(-)