From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by dpdk.org (Postfix) with ESMTP id B61165A3E for ; Mon, 30 Mar 2015 18:42:27 +0200 (CEST) Received: by pdnc3 with SMTP id c3so181025655pdn.0 for ; Mon, 30 Mar 2015 09:42:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=8vKD8JHrfJ0IGFjfG1n8J5Gh4CCIlBMLJEu1ENxw2HY=; b=mipVjiF6f6bZxALXq9pvcg5JRDRG3J13ClT+Jp1HnxllVD3Ow5By1YVHddl1ky7hmc ec+F7DyX/IOiEtQryh4KcQ9B5O1h4ssHWWxXOSHUl9q2F4MG7LdnXPdQ5LCoIFhT5ahn OLedC4i2FS52LcaYAldZy2g0N50U+apjnn5fY5QUucLLsdMrqY+RTHPAyy8GRhKBzf93 0k589/7STh662qLaMpQhY2pbORGfboJYFTOpkfQ2tWBjH4Orud72QQpLPv/o9eP4G9kX kSWCIrPqxd8dJv6mwSjApqHNii4ctVeS83MtJckkrEBcByhDPIkHG4UE4c2o0H7OlJsh v7pw== X-Gm-Message-State: ALoCoQmH8kvlLWOIf+zIeHurvvQyJKC2PJ1DqUWM/hEh01YKsDNn77gjHCQHqQB88J6ytin+V9fE X-Received: by 10.68.110.3 with SMTP id hw3mr59344975pbb.128.1427733746697; Mon, 30 Mar 2015 09:42:26 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id qc6sm2730572pdb.88.2015.03.30.09.42.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 09:42:26 -0700 (PDT) Date: Mon, 30 Mar 2015 09:42:30 -0700 From: Stephen Hemminger To: Maciej Gajdzica Message-ID: <20150330094230.0df4ebbf@urahara> In-Reply-To: <1427717183-29375-1-git-send-email-maciejx.t.gajdzica@intel.com> References: <1427717183-29375-1-git-send-email-maciejx.t.gajdzica@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Pawel Wodkowski Subject: Re: [dpdk-dev] [PATCH] pipeline: add statistics for librte_pipeline ports and tables X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 16:42:28 -0000 On Mon, 30 Mar 2015 14:06:22 +0200 Maciej Gajdzica wrote: > + /* Stats for this table. */ > + uint64_t n_pkts_dropped_by_lkp_hit_ah; > + uint64_t n_pkts_dropped_by_lkp_miss_ah; > + uint64_t n_pkts_dropped_lkp_hit; > + uint64_t n_pkts_dropped_lkp_miss; > }; Rather than extremely_long_structure_element_name please put all the statistics into a structure with a reasonable length name.