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 AE7DAA0C53; Wed, 3 Nov 2021 14:00:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97C024115A; Wed, 3 Nov 2021 14:00:52 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 434A941149 for ; Wed, 3 Nov 2021 14:00:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635944449; 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=Dz8eVaftCEH1xezxBxl66n3nYRrFrr+qgtYjIwzDLwQ=; b=hWzEp21ioVaesypVPkBaM+xO1uk81E9e3N4XchkLJHExVvIa5icscvl4mx69JwKd56uYoX eHdKHGmB7FnRaAa3bOTJhNNOEJi8Iee4jqn9XJM52oHx/lr8XkEfCso6CH6hcijekcyV+T WsacbNtRkk5+CWsPB9BAzg0jyhghVJE= 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-213-eIwD4tPpOSqWK59UB3baCQ-1; Wed, 03 Nov 2021 09:00:46 -0400 X-MC-Unique: eIwD4tPpOSqWK59UB3baCQ-1 Received: by mail-lf1-f69.google.com with SMTP id t8-20020a056512030800b004017cf4c16dso327469lfp.14 for ; Wed, 03 Nov 2021 06:00:46 -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=Dz8eVaftCEH1xezxBxl66n3nYRrFrr+qgtYjIwzDLwQ=; b=zSI/k9/+5dVg2T92chRwXbfFJzJtNRG0RINMDHhVlUtO+OcLP3uU55UbtvWZHjWPXK E13LIVLeCps2B7jK6KN2ud8qUfQ1LPwfoVVCElaLSv6N801B1rzo9Q6+PYqNYNuwanUd 6haHzeS0ek7V6waTcBt20IoquAhPQi+cEdwHuseglFEkcwaVZ2R36uEiRY82a6DogLNd 2EOwNAvCLZgOoWcQ7vcBtkqezViAHLG7qBx9f6FfnwEknqxQqwywpkW72hDFUnrglCQU As1Vrnv9CjRoYNwNgr/nDShqW7qcLOz1m0bOqDV9qJsUTlt9VRlHLjDY1FfKdXar+mIE Vdtg== X-Gm-Message-State: AOAM5323usecQTnpz094r8tmKUIHe63HaEouq1y7PuinrRDnc5jioZYF OV2O2pA4+ZCGNp9KJFDsnYsYsPsQbQWTywF4WlM6tO0vpwq0v9psy9gqoWRuVlCEAEFhts1qXTI SQJFm58DuJZl2BuaDt8M= X-Received: by 2002:a2e:8e76:: with SMTP id t22mr10967468ljk.81.1635944445153; Wed, 03 Nov 2021 06:00:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnOYeL49Iyswiv5eN9eiVmdDJvfx+i7ONWU2yIxtucn9NVVZpD77PDSjxqyGMQqwV8NxIwGUglEmgKp7fd0M0= X-Received: by 2002:a2e:8e76:: with SMTP id t22mr10967435ljk.81.1635944444877; Wed, 03 Nov 2021 06:00:44 -0700 (PDT) MIME-Version: 1.0 References: <20211021070355.3547582-1-andrew.rybchenko@oktetlabs.ru> <20211103124021.251256-1-andrew.rybchenko@oktetlabs.ru> In-Reply-To: <20211103124021.251256-1-andrew.rybchenko@oktetlabs.ru> From: David Marchand Date: Wed, 3 Nov 2021 14:00:33 +0100 Message-ID: To: Andrew Rybchenko Cc: dev , Ferruh Yigit , Viacheslav Galaktionov , Andy Moreton 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 v2] net/sfc: allow control threads for counter queue polling 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 Wed, Nov 3, 2021 at 1:40 PM Andrew Rybchenko wrote: > > From: Viacheslav Galaktionov > > MAE counters can be polled from a control thread if no service core is > allocated for this. > > Signed-off-by: Viacheslav Galaktionov > Signed-off-by: Andrew Rybchenko > Reviewed-by: Andy Moreton > --- > The problem to require service cores for HW offload was raised by > David on review in 21.08 release cycle. > > v2: > - add sleep in the case of empty queue to avoid CPU burn > - pair release/acquire for thread run/stop condition The release notes update was dropped. Not sure it was intentional. Otherwise, patch lgtm, thanks. Reviewed-by: David Marchand -- David Marchand