Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Andrew Rybchenko
On 11/13/2017 10:33 PM, Ilya Matveychikov wrote: On Nov 13, 2017, at 9:15 PM, Adrien Mazarguil wrote: On Mon, Nov 13, 2017 at 02:56:23PM +0400, Ilya Matveychikov wrote: On Nov 13, 2017, at 2:39 PM, Adrien Mazarguil wrote: On Sat, Nov 11, 2017 at 09:18:45PM +0400, Ilya Matveychikov wrote:

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Ilya Matveychikov
> On Nov 13, 2017, at 9:15 PM, Adrien Mazarguil > wrote: > > On Mon, Nov 13, 2017 at 02:56:23PM +0400, Ilya Matveychikov wrote: >> >>> On Nov 13, 2017, at 2:39 PM, Adrien Mazarguil >>> wrote: >>> >>> On Sat, Nov 11, 2017 at 09:18:45PM +0400, Ilya Matveychikov wrote: Folks, A

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Adrien Mazarguil
On Mon, Nov 13, 2017 at 02:56:23PM +0400, Ilya Matveychikov wrote: > > > On Nov 13, 2017, at 2:39 PM, Adrien Mazarguil > > wrote: > > > > On Sat, Nov 11, 2017 at 09:18:45PM +0400, Ilya Matveychikov wrote: > >> Folks, > >> > >> Are you serious with it: > >> > >> typedef uint16_t (*eth_rx_burst

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Monday, November 13, 2017 10:39 AM > To: Ilya Matveychikov > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx > callbac

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Ilya Matveychikov
> On Nov 13, 2017, at 2:39 PM, Adrien Mazarguil > wrote: > > On Sat, Nov 11, 2017 at 09:18:45PM +0400, Ilya Matveychikov wrote: >> Folks, >> >> Are you serious with it: >> >> typedef uint16_t (*eth_rx_burst_t)(void *rxq, >> struct rte_mbuf **rx_pkts, >>

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-13 Thread Adrien Mazarguil
On Sat, Nov 11, 2017 at 09:18:45PM +0400, Ilya Matveychikov wrote: > Folks, > > Are you serious with it: > > typedef uint16_t (*eth_rx_burst_t)(void *rxq, > struct rte_mbuf **rx_pkts, > uint16_t nb_pkts); > typedef uint16_t (*eth_t

Re: [dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-11 Thread Thomas Monjalon
11/11/2017 18:18, Ilya Matveychikov: > Folks, > > Are you serious with it: No, DPDK is not serious, just a hobby for few crazy folks ;) Usually, we have fun discussions when someone explains clearly an issue. Please do not hesitate to bring your lights, we will check how seriously we can improve

[dpdk-dev] A question about (poor) rte_ethdev internal rx/tx callbacks design

2017-11-11 Thread Ilya Matveychikov
Folks, Are you serious with it: typedef uint16_t (*eth_rx_burst_t)(void *rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts); typedef uint16_t (*eth_tx_burst_t)(void *txq, struct rte_mbuf **tx_p