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 96CC1A0C45 for ; Thu, 16 Sep 2021 17:30:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8454940151; Thu, 16 Sep 2021 17:30:34 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 7B3DF41122 for ; Thu, 16 Sep 2021 17:30:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631806231; 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: in-reply-to:in-reply-to:references:references; bh=2M1Jz5X1XfvFeA3EUDGH/1nhDy/SLixuxfKmY6YW90c=; b=aUBS4oudGpn5yE4JzOKVJbq54AKmZAND3jZU9jMaYeatfmqX1358gEUPUJ0m+n+407dNEc MKyfiDB02GvrS4Cogp+a1aQOkMjw7nhugjnH79wBAGmcDxF9R8572IXdXiKWVCRFagkDkk C84kQU10GLWl/QTy/vU1dJ5r+ODxUmw= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-501-WZdYSoxlPMSa18E3VoI5-g-1; Thu, 16 Sep 2021 11:30:28 -0400 X-MC-Unique: WZdYSoxlPMSa18E3VoI5-g-1 Received: by mail-lf1-f69.google.com with SMTP id s28-20020a056512203c00b003f42015e912so4240323lfs.4 for ; Thu, 16 Sep 2021 08:30:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2M1Jz5X1XfvFeA3EUDGH/1nhDy/SLixuxfKmY6YW90c=; b=cHuLhrvQwB44Mbct9wJpBoTEDEe8DJ1NMWwzK3iSYCV7vMGMGz26YEYje9ZeIGjjkw qrYyBtI7afeIok3TNJUCZGGI4xzeoWvzHwDCGnmRhTMs4Fc7TxwBi+zzmwAv6AvXL2yo ITnoWi5yQk3ilD78NHYRdUjeg1MclJ7lMHbsm5Fp6FvJyngFr+fNUilzh8fE47qs3yja ud5M7MNwo46uZ3Ptg0P9AogG/IdFugH0trELGMk3uuutleLY6zlO0FRn0GzOrnt0RCwq Li3+8QgyTlhc6UKlr3FlwSSPVTHChUGA+tqPOOncXOmSJWoEHFmr903W7mDWJrOe0I4X fmtg== X-Gm-Message-State: AOAM532RNqvJzX4wur5rMabyATK1vnvc6tOq3zlMupXi8eqBIdsLHfi2 3XJR3VSpKMXTROIAmE1QKH8F8AufXMTTtOIpA40vfoUL4TCQn4Y7/DtqhYi20n+dAIse2pOYNTk B1XEPAj3AWRjI85IddNUwmoU= X-Received: by 2002:a2e:131a:: with SMTP id 26mr5242106ljt.46.1631806226934; Thu, 16 Sep 2021 08:30:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeJU1AgND248fgQNWaPXr0zAf5LcfZdP/tlFt/2gYkNJ+Vr1haASmUgw0/CPwteifj16PLYYmZ9HxfyKlzZFE= X-Received: by 2002:a2e:131a:: with SMTP id 26mr5242086ljt.46.1631806226716; Thu, 16 Sep 2021 08:30:26 -0700 (PDT) MIME-Version: 1.0 References: <20210830080412.1548336-1-ruifeng.wang@arm.com> In-Reply-To: From: David Marchand Date: Thu, 16 Sep 2021 17:30:15 +0200 Message-ID: To: Ruifeng Wang Cc: "Van Haaren, Harry" , "Varghese, Vipin" , "dev@dpdk.org" , "thomas@monjalon.net" , "nd@arm.com" , "honnappa.nagarahalli@arm.com" , "stable@dpdk.org" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] examples/service_cores: fix lcore count check X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, Aug 31, 2021 at 6:12 PM Van Haaren, Harry wrote: > > The example has various profiles to run services on specified > > number of lcores. Due to incorrect boundary condition, service > > can be dispatched to a core that does not exist. This puts main > > core into endless wait. > > > > Max available number of service cores is all detected lcores > > excluding main core. > > > > Fixes: 7f6ee6aee717 ("examples/service_cores: check cores before run") > > Cc: stable@dpdk.org > > > > Signed-off-by: Ruifeng Wang > Acked-by: Harry van Haaren Applied, thanks. -- David Marchand