From patchwork Mon Feb 5 17:43:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 136406 X-Patchwork-Delegate: thomas@monjalon.net 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 CC08D43A3D; Mon, 5 Feb 2024 19:06:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2131A42D66; Mon, 5 Feb 2024 19:04:03 +0100 (CET) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 7D2614113D for ; Mon, 5 Feb 2024 19:03:56 +0100 (CET) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d944e8f367so36683735ad.0 for ; Mon, 05 Feb 2024 10:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707156236; x=1707761036; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ujWWwdq2QX2nV306iarfVcMWhf8ykUwwoCc8Glf1X18=; b=wWMh+yxTtMm8Pqly6IhnYDBoBDFVvIAGY4Te1q3ZLQHh0z4aNa2VCMos3mCcfC1ybt 91jicu2+vdDCgYZXFdIvG69I6tmcV5fMT1VgCb0NxKf4w+pSLw9HNwbSopdZe7g5EDEH c00ev1SzCtDG0BLCClzp+fhtQYBbd0e3DY/ORDbdu52v6tIx9Ny715F2bcQ61Iv8+9Or /ITaWDbqBTIwH+Br/ZYaQ14S9VCiWCWazq/7e4AVAG+s4myLKDhU3zAsyQgEyAL4763h EeAprxO9DCe+xBhqNajvBQnaEFUBiSPG0Z3D8Nwf6QjivqqIe5ZiURUvY4bUxl5vFE1S XlCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707156236; x=1707761036; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ujWWwdq2QX2nV306iarfVcMWhf8ykUwwoCc8Glf1X18=; b=oHtUdWbge88KV3oRhC4kpoR5Gik/OQWOoYDlJo55QwDUl9lNp/4/IyGkqB3ddN4AmQ fyS/3aGAgP3k27mbnyR19WrcXuWbhOQ0zbMzjNW/IjzqRcrll5J54FNCVgtlexYw4MbJ d9CtpabkHNL7lQLUnc+NuFio/yrcxaV8hKhSz2SmyLDob9Udr1/ThpDWmI8iQ0G2LgRL BeTyHDQiB7BrNx1PaP5zUPZiDi8tlgSTLYQ6xhrN6dP1C0ybKQna5ywPRkLXN5VwVw13 8Y0Rf/i/75JfP3/3UwZaxeaZlB1tLcmt0xo9r7hwcqsoqTL+HVQ3emVIbmpUiBjxa+Nt 0QVw== X-Gm-Message-State: AOJu0YxylvpSqPTOrQcaD8qqE8up8GuEGpzaU7cU1k/ao+FB/S08LTRb nbnEpEhvMgPaR7jXY1qntc1KseAQt1Fuzcn0ChL8KmH0CqgcKA6yNPPLyWtXBKIiH34Uqi/zNMu HN/U= X-Google-Smtp-Source: AGHT+IEX34X2EnhG9nkvQAK6if4PW4Ncfz9y14mgmEv/ZYStsNqf7w6g8Tni9GQeyCKc54J1XbGQiw== X-Received: by 2002:a17:903:1104:b0:1d9:657c:2769 with SMTP id n4-20020a170903110400b001d9657c2769mr371923plh.19.1707156235729; Mon, 05 Feb 2024 10:03:55 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUnWrikwyfZNUKsx8XW+EvxSHW3A776jvXtzQOKXr1+llVdQPL5E/ebaomKIk+/PyIyxFEV8vSxp6V2zIfwAp5fiVO9mkf8tt7pywi4lKruPwUTJfeLFZ0EHsReUiK+ Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x8-20020a170902b40800b001d9b0a15bbfsm144867plr.262.2024.02.05.10.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 10:03:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Liang Ma , Peter Mccarthy Subject: [PATCH v9 19/23] event/opdl: remove term sanity Date: Mon, 5 Feb 2024 09:43:47 -0800 Message-ID: <20240205180328.131019-20-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205180328.131019-1-stephen@networkplumber.org> References: <0230331200824.195294-1-stephen@networkplumber.org> <20240205180328.131019-1-stephen@networkplumber.org> 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 Don't use non-inclusive term. Signed-off-by: Stephen Hemminger --- drivers/event/opdl/opdl_evdev.c | 2 +- drivers/event/opdl/opdl_evdev_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c index 0cccaf7e9731..39cd87b8f944 100644 --- a/drivers/event/opdl/opdl_evdev.c +++ b/drivers/event/opdl/opdl_evdev.c @@ -241,7 +241,7 @@ opdl_queue_setup(struct rte_eventdev *dev, struct opdl_evdev *device = opdl_pmd_priv(dev); - /* Extra sanity check, probably not needed */ + /* Extra check, probably not needed */ if (queue_id == OPDL_INVALID_QID) { PMD_DRV_LOG(ERR, "DEV_ID:[%02d] : " "Invalid queue id %u requested\n", diff --git a/drivers/event/opdl/opdl_evdev_init.c b/drivers/event/opdl/opdl_evdev_init.c index be3437fc2f40..12eb2695f5de 100644 --- a/drivers/event/opdl/opdl_evdev_init.c +++ b/drivers/event/opdl/opdl_evdev_init.c @@ -300,7 +300,7 @@ static int opdl_add_deps(struct opdl_evdev *device, struct opdl_queue *queue_deps = &device->queue[deps_q_id]; struct opdl_stage *dep_stages[OPDL_PORTS_MAX]; - /* sanity check that all stages are for same opdl ring */ + /* check that all stages are for same opdl ring */ for (i = 0; i < queue->nb_ports; i++) { struct opdl_ring *r = opdl_stage_get_opdl_ring(stage_for_port(queue, i));