[dpdk-dev] [PATCH 2/7] ethdev: move inline device operations

2020-08-24 Thread Ferruh Yigit
This patch is a preparation to hide the 'struct eth_dev_ops' from applications by moving some device operations from 'struct eth_dev_ops' to 'struct rte_eth_dev'. Mentioned ethdev APIs are in the data path and implemented as inline because of performance reasons. Exposing 'struct eth_dev_ops' to

Re: [dpdk-dev] [PATCH 2/7] ethdev: move inline device operations

2020-08-29 Thread Andrew Rybchenko
On 8/24/20 12:40 PM, Ferruh Yigit wrote: > This patch is a preparation to hide the 'struct eth_dev_ops' from > applications by moving some device operations from 'struct eth_dev_ops' > to 'struct rte_eth_dev'. > > Mentioned ethdev APIs are in the data path and implemented as inline > because of pe

Re: [dpdk-dev] [PATCH 2/7] ethdev: move inline device operations

2020-08-31 Thread Ferruh Yigit
On 8/29/2020 12:57 PM, Andrew Rybchenko wrote: On 8/24/20 12:40 PM, Ferruh Yigit wrote: This patch is a preparation to hide the 'struct eth_dev_ops' from applications by moving some device operations from 'struct eth_dev_ops' to 'struct rte_eth_dev'. Mentioned ethdev APIs are in the data path a