From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 01/13] port: added structures for port stats and config option Date: Tue, 23 Jun 2015 15:55:25 +0200 Message-ID: <2173119.kJ61eenqfH@xps13> References: <1434706885-4519-1-git-send-email-maciejx.t.gajdzica@intel.com> <1434706885-4519-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-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id D6E545A59 for ; Tue, 23 Jun 2015 15:56:28 +0200 (CEST) Received: by wiwl6 with SMTP id l6so67302335wiw.0 for ; Tue, 23 Jun 2015 06:56:28 -0700 (PDT) In-Reply-To: <1434706885-4519-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" 2015-06-19 11:41, Maciej Gajdzica: > /** Input port interface defining the input port operation */ > struct rte_port_in_ops { > rte_port_in_op_create f_create; /**< Create */ > rte_port_in_op_free f_free; /**< Free */ > rte_port_in_op_rx f_rx; /**< Packet RX (packet burst) */ > + rte_port_in_op_stats_read f_stats; /**< Stats */ > }; Isn't it breaking an ABI? > struct rte_port_out_ops { > - rte_port_out_op_create f_create; /**< Create */ > - rte_port_out_op_free f_free; /**< Free */ > - rte_port_out_op_tx f_tx; /**< Packet TX (single packet) */ > - rte_port_out_op_tx_bulk f_tx_bulk; /**< Packet TX (packet burst) */ > - rte_port_out_op_flush f_flush; /**< Flush */ > + rte_port_out_op_create f_create; /**< Create */ > + rte_port_out_op_free f_free; /**< Free */ > + rte_port_out_op_tx f_tx; /**< Packet TX (single packet) */ > + rte_port_out_op_tx_bulk f_tx_bulk; /**< Packet TX (packet burst) */ > + rte_port_out_op_flush f_flush; /**< Flush */ What is the goal of this change? Breaking the alignment? > + rte_port_out_op_stats_read f_stats; /**< Stats */