From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] pipeline: add statistics for librte_pipeline ports and tables Date: Mon, 30 Mar 2015 09:42:30 -0700 Message-ID: <20150330094230.0df4ebbf@urahara> 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-VfR2kkLFssw@public.gmane.org, Pawel Wodkowski To: Maciej Gajdzica Return-path: In-Reply-To: <1427717183-29375-1-git-send-email-maciejx.t.gajdzica-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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.