From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9FED545C11; Wed, 30 Oct 2024 09:26:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D4DE4335A; Wed, 30 Oct 2024 09:26:26 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id C896F43322 for ; Wed, 30 Oct 2024 09:26:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730276784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gcCD46/wliCVIgPc9XiXlbujOBOtymNEmROYPV9ywk8=; b=Sx7PlnFo2AIFdffFgFWXkCan5yrYXTCertP1v4aH+fna/pZr5JvgD7/wjUdW8ocN7ViDkb 0WZ5wBy1DWRhhi23tORE3HaSUsPJ2xPFxov9xAK+7mhCdJ5Hr37dxKUdhj3F7l42KkK6aJ dTXEAauJIp8RaAcbeEVnVSTZDFalvdk= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-558--53Tp9VENZu9-rmA9Kc0qA-1; Wed, 30 Oct 2024 04:26:20 -0400 X-MC-Unique: -53Tp9VENZu9-rmA9Kc0qA-1 Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2fb58980614so45244661fa.2 for ; Wed, 30 Oct 2024 01:26:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730276779; x=1730881579; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gcCD46/wliCVIgPc9XiXlbujOBOtymNEmROYPV9ywk8=; b=fqjv5w2wHSRLGaV9WDcocKh0r7fWm+LPsisW7+dSIeIVRRRyw+1e72n5M/EB3vSP90 xMTqu+FI16337D+yl5eqQks9pL/wjoBND/6fzzVKYOljt3NW5t6djgFmm5IOgV6SdqLg xKJTpDtZcdEhjGUGFXBOk0sJZYrYvPkAjiWPAwvPAMbi151fTuFbiVQh5bnZua5qViAm tktZHQ5s7BrjffvDR4ESBr8eOTxHdbDF9Sv3zdsV2jq7mfWakeeg1HvHvil3vs+Ui7UW YAQGT4ltos2QzZvFrgRncVP+kpXIbs6XbFJu7XSn6gwEptUpyAAQgvlkfmHmGf/kzk2j Hl3A== X-Gm-Message-State: AOJu0YzJDYpt00/cv/ZCN+XZRhKj8L0LlyeSbjN/IJYY+gxoIVDIDrkg FFc+/WVMkXW90jqKYvcpNMRiBn+AR/lrU56Fe0idEnN4we39ra9dnePpctSqCgRX/qg5MBqt/G3 nylKFI4+cyK/WD1dVtv6F8ZhZoLSjx4jZpYXv2CkPU0QMbP1/QCfHqdXZFh3KStHXN0AFTKxmnk lx4PoMOIYhvxIrvu3cY9pcAFpE3w== X-Received: by 2002:a2e:b8c9:0:b0:2fd:e3ed:a360 with SMTP id 38308e7fff4ca-2fde3eda503mr5318781fa.37.1730276778962; Wed, 30 Oct 2024 01:26:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEs2blC+0YizGu98//iZu5lZ2JFkQVMDuykmjREyFoyTF5xzwQ6f+H/wZoV1mMVh491kvcHwEDQSGGw4gTNvVM= X-Received: by 2002:a2e:b8c9:0:b0:2fd:e3ed:a360 with SMTP id 38308e7fff4ca-2fde3eda503mr5318651fa.37.1730276778565; Wed, 30 Oct 2024 01:26:18 -0700 (PDT) MIME-Version: 1.0 References: <20241011152533.3189097-1-david.marchand@redhat.com> <20241025073926.43621-1-david.marchand@redhat.com> In-Reply-To: <20241025073926.43621-1-david.marchand@redhat.com> From: David Marchand Date: Wed, 30 Oct 2024 09:26:07 +0100 Message-ID: Subject: Re: [PATCH v2] test/bitops: check worker lcore availability To: David Marchand Cc: dev@dpdk.org, Jack Bond-Preston , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Tyler Retzlaff X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Oct 25, 2024 at 9:39=E2=80=AFAM David Marchand wrote: > > Coverity is not able to understand that having 2 lcores means that > rte_get_next_lcore(-1, 0, 1) can't return RTE_MAX_LCORE. > Add a check. > > Coverity issue: 445382, 445383, 445384, 445387, 445389, 445391 > Fixes: 35326b61aecb ("bitops: add atomic bit operations in new API") > > Signed-off-by: David Marchand Applied, thanks. --=20 David Marchand