Re: [dpdk-dev] [RFC 2/7] eth: make drivers to use new API for Rx

2021-09-14 Thread Ananyev, Konstantin
Hi Ferruh, > > Overall this enables us hiding the ethdev internals, which is good. But it > duplicates most of the datapath function (rx burst for this patch) per each > PMD ops. Yes, same as right now rte_eth_rx/tx_burst() code can be duplicated in dozen places inside user-level code. And

Re: [dpdk-dev] [RFC 2/7] eth: make drivers to use new API for Rx

2021-09-06 Thread Ferruh Yigit
On 8/20/2021 5:28 PM, Konstantin Ananyev wrote: > ethdev: > - make changes so drivers can start using new API for rx_pkt_burst(). > - provide helper functions/macros. > - remove rx_pkt_burst() from 'struct rte_eth_dev'. > drivers/net: > - adjust to new rx_burst API. > Overall this enables us

[dpdk-dev] [RFC 2/7] eth: make drivers to use new API for Rx

2021-08-20 Thread Konstantin Ananyev
ethdev: - make changes so drivers can start using new API for rx_pkt_burst(). - provide helper functions/macros. - remove rx_pkt_burst() from 'struct rte_eth_dev'. drivers/net: - adjust to new rx_burst API. Signed-off-by: Konstantin Ananyev --- app/test/virtual_pmd.c | 15