Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-04 Thread Ananyev, Konstantin
> > On 10/4/2021 10:20 AM, Ananyev, Konstantin wrote: > > > > > static inline int > > rte_eth_rx_queue_count(uint16_t port_id, uint16_t queue_id) > > { > > - struct rte_eth_dev *dev; > > + struct rte_eth_fp_ops *p; > > + void *qd; > > + > >>>

Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-04 Thread Ferruh Yigit
On 10/4/2021 10:20 AM, Ananyev, Konstantin wrote: > > static inline int > rte_eth_rx_queue_count(uint16_t port_id, uint16_t queue_id) > { > - struct rte_eth_dev *dev; > + struct rte_eth_fp_ops *p; > + void *qd; > + > + if (port_id >= RTE_MAX_ETHPORTS ||

Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-04 Thread Ananyev, Konstantin
> >> > >>> static inline int > >>> rte_eth_rx_queue_count(uint16_t port_id, uint16_t queue_id) > >>> { > >>> - struct rte_eth_dev *dev; > >>> + struct rte_eth_fp_ops *p; > >>> + void *qd; > >>> + > >>> + if (port_id >= RTE_MAX_ETHPORTS || > >>> + queue_id >= RTE_MAX_QUEUES_PER_P

Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-04 Thread Ferruh Yigit
On 10/1/2021 6:40 PM, Ananyev, Konstantin wrote: > > >> On 10/1/2021 3:02 PM, Konstantin Ananyev wrote: >>> Rework 'fast' burst functions to use rte_eth_fp_ops[]. >>> While it is an API/ABI breakage, this change is intended to be >>> transparent for both users (no changes in user app is required)

Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-01 Thread Ananyev, Konstantin
> On 10/1/2021 3:02 PM, Konstantin Ananyev wrote: > > Rework 'fast' burst functions to use rte_eth_fp_ops[]. > > While it is an API/ABI breakage, this change is intended to be > > transparent for both users (no changes in user app is required) and > > PMD developers (no changes in PMD is required

Re: [dpdk-dev] [PATCH v3 4/7] ethdev: make burst functions to use new flat array

2021-10-01 Thread Ferruh Yigit
On 10/1/2021 3:02 PM, Konstantin Ananyev wrote: > Rework 'fast' burst functions to use rte_eth_fp_ops[]. > While it is an API/ABI breakage, this change is intended to be > transparent for both users (no changes in user app is required) and > PMD developers (no changes in PMD is required). > One ext