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 */