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 D63D8A0C45; Thu, 16 Sep 2021 17:30:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95C014069E; Thu, 16 Sep 2021 17:30:31 +0200 (CEST) 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 33EE740151 for ; Thu, 16 Sep 2021 17:30:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631806229; 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=B0DpvmYGpRs7nse27zTHupS/9xxv6AqzMK/6jW71F8C7hp+l8BHyAjaj0ER6oZom+LuSg+ WqmXkhT783CGFFD+a9oXdPClYYa0ziLcFp4D7ZkUIFdj+MKNTR/dJaTQRqeuIyFDT9gCqA /Q71f9jSWgASFETQRbTJuWO4h8rLRLA= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-144-2r2IHnjsPsqCfZpPhQhJUg-1; Thu, 16 Sep 2021 11:30:28 -0400 X-MC-Unique: 2r2IHnjsPsqCfZpPhQhJUg-1 Received: by mail-lf1-f70.google.com with SMTP id q5-20020ac25fc5000000b003d9227d9edcso4244168lfg.2 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=N6EWhsp+UW0NIzkbnVsOpFdy8Sd2IcFE8qmIjhgRJ2EO53uk+Tpn+K654R3G/61C0U PecN6UNThtkeXjp1ZJed2KuVZd5E2a6rTO3jtMBF4kWeczcBglCmIWDgiaKxnT+FhNdn M7mQaK6n2L/Qomehn0GkUHo8VRQXcZFavFhPgE/l4UOb8mG9K55TXXqdEGEluAZEwwN4 9YcrCUZUhyT4nc+rApnAoVUS1rypecjWEcoBleNRFLHJIslXnS3jSWFdwGWKuJH9cuk7 l6zqKI2MMHAb0nu+csT8z0uqDaWc5tlL6IALRqovsZ4k2wkYWxd7E6ip3sRJa7+7zl1C 1y0Q== X-Gm-Message-State: AOAM530dEztnT3PdZeV7rvJAZP98bdHAr2SXPJECr7vsJsaLXbmI+xqo XDMT4A26x6VuDdC/7KLQFRCYAIGypfZfcaVXJtSuKghQ623UNevX8t0t6fosWD2ypzfG7Ctbghq 9atkuaTD1fP1YFqbQnC4= X-Received: by 2002:a2e:131a:: with SMTP id 26mr5242109ljt.46.1631806226936; 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-dev] [PATCH] examples/service_cores: fix lcore count check 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 Sender: "dev" 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