From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: [PATCH v3 01/10] table: added structure for storing table stats Date: Tue, 26 May 2015 15:03:43 -0700 Message-ID: <20150526220343.GQ5860@x1.localdomain> References: <1432643987-8916-1-git-send-email-maciejx.t.gajdzica@intel.com> <1432643987-8916-2-git-send-email-maciejx.t.gajdzica@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Maciej Gajdzica Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3B203B6AB for ; Wed, 27 May 2015 00:03:46 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1432643987-8916-2-git-send-email-maciejx.t.gajdzica@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" * Maciej Gajdzica (maciejx.t.gajdzica@intel.com) wrote: > @@ -187,6 +193,24 @@ typedef int (*rte_table_op_lookup)( > uint64_t *lookup_hit_mask, > void **entries); > > +/** > + * Lookup table stats read > + * > + * @param port Parameter is actually called table > + * Handle to lookup table instance > + * @param stats > + * Handle to table stats struct to copy data > + * @param clear > + * Flag indicating that stats should be cleared after read > + * > + * @return > + * Error code or 0 on success. > + */ > +typedef int (*rte_table_op_stats_read)( > + void *table, > + struct rte_table_stats *stats, > + int clear);