From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=kKxzXQ4d1AMQnsOXvvCp7ji0d0H4z89HIgaCYVdJfVk=; b=Jp/M7SbfHs1krpiQ2UcorV0B0/IPdv9AK4boWSI2PhfgabUKsEI+IZnw4engbI7vPA apEUUt5xSzVWDodbMbOsbXrOIiq3CejPE+Hh3G6qBqc6RKiu6Uw8ioWe6CbiF2QjfGuC wmbYdoKGPbUv7nVJ7Y1DQyNcu0iWcaUYOzutGShLhGkzT0qzI2TCkeesYyvPPs0m1eJF rGUv0vEIdmIKFmutf8rfQJFalvPwVoBHRqAZSK1Kd5r/fezobw0n2q21ctKdjCC10xI8 FTbSMP79/ss3wxLfvleDOo6vOTpNEqJEQdc8yTmYYFMo8iljTFMXiDhOe3YjhI4ul7+9 Z/Qg== X-Gm-Message-State: ALoCoQmPWLqjoCC9sSZbcExXM4OKi6pwO6k4XFcd7loIp6Mr1RITg6J3HS6N/sBXXotpst9WTryz X-Received: by 10.68.250.229 with SMTP id zf5mr50146964pbc.158.1432652271144; Tue, 26 May 2015 07:57:51 -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 pj8sm13372057pdb.20.2015.05.26.07.57.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 May 2015 07:57:50 -0700 (PDT) Date: Tue, 26 May 2015 07:57:54 -0700 From: Stephen Hemminger To: Maciej Gajdzica Message-ID: <20150526075754.791473f6@urahara> In-Reply-To: <1432643987-8916-2-git-send-email-maciejx.t.gajdzica@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v3 01/10] table: added structure for storing table stats 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: Tue, 26 May 2015 14:57:52 -0000 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.