[dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api

2016-03-10 Thread Thomas Monjalon
2016-03-10 11:57, Tomasz Kulasek: > +struct rte_eth_dev_tx_buffer { > + buffer_tx_error_fn callback; > + void *userdata; What about renaming this fields as - error_callback - error_userdata ? > + uint16_t size; /**< Size of buffer for buffered tx */ > + uint16_t length;

[dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api

2016-03-10 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, March 10, 2016 17:24 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api > > 2016-03-10 11:57, Tom

[dpdk-dev] [PATCH v3 1/2] ethdev: add buffered tx api

2016-03-10 Thread Tomasz Kulasek
Many sample apps include internal buffering for single-packet-at-a-time operation. Since this is such a common paradigm, this functionality is better suited to being implemented in the ethdev API. The new APIs in the ethdev library are: * rte_eth_tx_buffer_init - initialize buffer *