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 161E0431DD; Tue, 24 Oct 2023 17:26:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C6C9402C5; Tue, 24 Oct 2023 17:26:44 +0200 (CEST) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id B70C84021D for ; Tue, 24 Oct 2023 17:26:42 +0200 (CEST) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6b7f0170d7bso4365557b3a.2 for ; Tue, 24 Oct 2023 08:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698161202; x=1698766002; 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=XGv4iFvjLKKnwkIFIhGiOV6uLYievAYbx3gW5ViXJ5E=; b=W/DJWqZDtytOTPGJBI6UYjK3O7SsrHQFHBe51DdIIUEeXTGrtCz0T/T+39xPFON3Nn zhUCF4eTKmavYdZ32KGOxlF+Ew5in6VxcacHOdeOeRmXR7xeZvldbJs9zIcPXV/KNDX3 8rs9uJFzRvryZL2K/DMPh3h3FKJ0p/M+Gx6y66cDPWoSihtN8nDKVjK+DPm42i2/WcLg Z+I5ZuXzknjms+nYFLUSthpgFYws4RPvFDqyRTRjEImxypZtCytuuyB3PTwIQtB9KHHa laC/bojNypnR42JVpgfpiyWBiQhJZowqkMwN1JqQwCG5Qlf823wmqjgXdgySgodKtkIt N3ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698161202; x=1698766002; 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=XGv4iFvjLKKnwkIFIhGiOV6uLYievAYbx3gW5ViXJ5E=; b=e1tfjKINjePhdgDQBkvFz0IYLPU8CIZrAL9aESCgwYfvDyLKDtCkmJu4Nz9U4z9rPE ejKPowktlDCIv/jN2VUL+5Y9xaQ/lME5h6dLKcIj6ct85QX+KEoK1d4s0OZhuwuXToCU bEqFtSiTkqt8X9sKSxOPOAUNrbDl8bLj+fY3Aj1wS5WmAI9+vel06JK7Us8EC9cXU1rJ 7G7GM5Rz7dDh2SKfxJnMD2AX4KUuCpiu9oJQcY5sBiZH94BQC+1SyJQgfer4ACqpNlYB IPc2xUHwJeWF1oofpifKfvDvfWoLp7xqRxhgFIJrvyoSAGxiBFmy4/epZK59ZxGKr+qH bpVA== X-Gm-Message-State: AOJu0YwpALHv3F/jYU+GscpgiVTtvjiRXa9RQVfS846QEy7VBPoyyA62 3Q8iTYVFhOFPDoNZrk9tZpJK8A== X-Google-Smtp-Source: AGHT+IE4YVPtFv1hHOhMk2Zfjd0tQSE+dT/DzxZSEEmummLB2L7pEc6UoyuqL6xLpFXmm7rn5f6c5w== X-Received: by 2002:a05:6a00:21c4:b0:6bf:50df:2df5 with SMTP id t4-20020a056a0021c400b006bf50df2df5mr10928313pfj.13.1698161201735; Tue, 24 Oct 2023 08:26:41 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id c15-20020aa7952f000000b0068fe7e07190sm7679225pfp.3.2023.10.24.08.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 08:26:41 -0700 (PDT) Date: Tue, 24 Oct 2023 08:26:39 -0700 From: Stephen Hemminger To: Cc: , , Michal Krawczyk , Evgeny Schemeilin , Igor Chauskin , Ron Beider Subject: Re: [PATCH 4/5] net/ena: add support for ena-express metrics Message-ID: <20231024082639.1dbb7638@hermes.local> In-Reply-To: <20231024102128.16832-5-shaibran@amazon.com> References: <20231024102128.16832-1-shaibran@amazon.com> <20231024102128.16832-5-shaibran@amazon.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 Tue, 24 Oct 2023 13:21:27 +0300 wrote: > struct ena_offloads { > uint32_t tx_offloads; > uint32_t rx_offloads; > @@ -329,6 +346,7 @@ struct ena_adapter { > */ > uint64_t metrics_stats[ENA_MAX_CUSTOMER_METRICS] __rte_cache_aligned; > uint16_t metrics_num; > + struct ena_stats_srd srd_stats __rte_cache_aligned; > }; If metrics_num was before the metrics_stats[] you would save some space.