From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v3 01/10] table: added structure for storing table stats Date: Tue, 26 May 2015 07:57:54 -0700 Message-ID: <20150526075754.791473f6@urahara> 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 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Maciej Gajdzica Return-path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id BE3829A92 for ; Tue, 26 May 2015 16:57:51 +0200 (CEST) Received: by pdfh10 with SMTP id h10so92552503pdf.3 for ; Tue, 26 May 2015 07:57:51 -0700 (PDT) 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" On Tue, 26 May 2015 14:39:38 +0200 Maciej Gajdzica wrote: > + > /** Lookup table interface defining the lookup table operation */ > struct rte_table_ops { > rte_table_op_create f_create; /**< Create */ > @@ -194,6 +218,7 @@ struct rte_table_ops { > rte_table_op_entry_add f_add; /**< Entry add */ > rte_table_op_entry_delete f_delete; /**< Entry delete */ > rte_table_op_lookup f_lookup; /**< Lookup */ > + rte_table_op_stats_read f_stats; /**< Stats */ > }; Another good idea, which is an ABI change.