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 A6BDF43E06; Fri, 5 Apr 2024 17:15:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 298B8402D4; Fri, 5 Apr 2024 17:15:07 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id D466C402CE for ; Fri, 5 Apr 2024 17:15:05 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1e034607879so20159205ad.0 for ; Fri, 05 Apr 2024 08:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712330105; x=1712934905; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=IuDTkW0nNxr47bOXuHeRpIBiHbnr9ICcWzggoskTBBk=; b=M+NK3jnMnHuIAZNPoLajANYaWhda2Ry/J45heVrhtkcLR2sMqUXgQ6++z7DXbkSeuv RshDYBmraq/IelhTz7w6PXtnGnVsDaIrAvqgFvyzv3N3Q+oVe9ZPzgjEvFN72ZxeaT/Q IxFnz0EYAgTkNb+Sr4MoFw6/7BkpTXWJ9OrvOvbDremLY338OMmbA3c7LG2Km2gjj9SA czt6WApUFS8N+ARP/24JMCkaLGg/b6bA7sIeeFIIlBotmxWxrC7cQebQX3kLL7gPS7CE HZ+69MvLTixezaIwsHdnGEG3aEkeVn8zc1MyhRXJ7ZTz7B4HSg5KYqGPsrrHfWKdQ+ec PmFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712330105; x=1712934905; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IuDTkW0nNxr47bOXuHeRpIBiHbnr9ICcWzggoskTBBk=; b=ueN/mfikQEdN8hIcjK/o2qRt3TuKffb9cjGNAbaoRCd96Nf8KoLtK3xbgxEWJC4+ES SCnnluQgMPZrjX24OEkcayv9TBssOGQL2iVWyHUlWe54VDu/gNDao+b+dX5F/zE+fILD NMIBoZ/OJGzl0s07b4TIqwOiOOR83XvOMX98AWA3eXV38nySgdPr7VoX5hk3WQ3BtQzR sDTIb/f2mW7VcTzcaeu4RZ3UJi3yvoyHeWBWfMmpnXGSc6BiFkx4+eLO4UsvHhVQPUgM Tyb/XGb+mFcpD8Oo9cJMixOP0va0LzGiY13r/MSm0LJj7JgKhYlUyQvPInd0cQm/ZeCH W7IA== X-Gm-Message-State: AOJu0YwH3K43qeSaCLHJaqJnRQvtgYcwiTQrGQUGN8/8OuwV4Pl9hDPt /K+bEwxE05ft1s6LQJ2+oNoOMHt1koZqKB/v0lVYvnn9nGxl5PfEEXIm9FzVWkk= X-Google-Smtp-Source: AGHT+IEptvfIJlbuXvh2AXUjG46jwPelz/nFIapTVuezVXdcTZgisY6ijrPEIeXxo85o5uJQl51kJw== X-Received: by 2002:a17:90a:c683:b0:2a2:686d:8282 with SMTP id n3-20020a17090ac68300b002a2686d8282mr1796557pjt.23.1712330104842; Fri, 05 Apr 2024 08:15:04 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id jx15-20020a17090b46cf00b002a2546fd6eesm3484086pjb.6.2024.04.05.08.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:15:04 -0700 (PDT) Date: Fri, 5 Apr 2024 08:15:03 -0700 From: Stephen Hemminger To: Nicolas Chautru Cc: dev@dpdk.org, maxime.coquelin@redhat.com, hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com Subject: Re: [PATCH v1 1/3] bbdev: new queue stat for available enqueue depth Message-ID: <20240405081503.0d2a74c2@hermes.local> In-Reply-To: <20240404210447.1915517-2-nicolas.chautru@intel.com> References: <20240404210447.1915517-1-nicolas.chautru@intel.com> <20240404210447.1915517-2-nicolas.chautru@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Thu, 4 Apr 2024 14:04:45 -0700 Nicolas Chautru wrote: > Capturing additional queue stats counter for the > depth of enqueue batch still available on the given > queue. This can help application to monitor that depth > at run time. > > Signed-off-by: Nicolas Chautru > --- > lib/bbdev/rte_bbdev.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h > index 0cbfdd1c95..25514c58ac 100644 > --- a/lib/bbdev/rte_bbdev.h > +++ b/lib/bbdev/rte_bbdev.h > @@ -283,6 +283,8 @@ struct rte_bbdev_stats { > * bbdev operation > */ > uint64_t acc_offload_cycles; > + /** Available number of enqueue batch on that queue. */ > + uint16_t enqueue_depth_avail; > }; > > /** Doesn't this break the ABI?