Re: [dpdk-dev] [PATCH v4 3/7] ethdev: copy ethdev 'fast' API into separate structure

2021-10-05 Thread Ananyev, Konstantin
> > > > +struct rte_eth_fp_ops { > > > > + > > > > + /** first 64B line */ > > > > + eth_rx_burst_t rx_pkt_burst; > > > > + /**< PMD receive function. */ > > > > + eth_tx_burst_t tx_pkt_burst; > > > > + /**< PMD transmit function. */ > > > > + eth_tx_prep_t tx

Re: [dpdk-dev] [PATCH v4 3/7] ethdev: copy ethdev 'fast' API into separate structure

2021-10-05 Thread Thomas Monjalon
05/10/2021 18:41, Ananyev, Konstantin: > > > +struct rte_eth_fp_ops { > > > + > > > + /** first 64B line */ > > > + eth_rx_burst_t rx_pkt_burst; > > > + /**< PMD receive function. */ > > > + eth_tx_burst_t tx_pkt_burst; > > > + /**< PMD transmit function. */ > > > + eth_tx_prep_t tx_pkt_prepare; >

Re: [dpdk-dev] [PATCH v4 3/7] ethdev: copy ethdev 'fast' API into separate structure

2021-10-05 Thread Ananyev, Konstantin
> 04/10/2021 15:55, Konstantin Ananyev: > > Copy public function pointers (rx_pkt_burst(), etc.) and related > > pointers to internal data from rte_eth_dev structure into a > > separate flat array. That array will remain in a public header. > > The intention here is to make rte_eth_dev and related

Re: [dpdk-dev] [PATCH v4 3/7] ethdev: copy ethdev 'fast' API into separate structure

2021-10-05 Thread Thomas Monjalon
04/10/2021 15:55, Konstantin Ananyev: > Copy public function pointers (rx_pkt_burst(), etc.) and related > pointers to internal data from rte_eth_dev structure into a > separate flat array. That array will remain in a public header. > The intention here is to make rte_eth_dev and related structures

[dpdk-dev] [PATCH v4 3/7] ethdev: copy ethdev 'fast' API into separate structure

2021-10-04 Thread Konstantin Ananyev
Copy public function pointers (rx_pkt_burst(), etc.) and related pointers to internal data from rte_eth_dev structure into a separate flat array. That array will remain in a public header. The intention here is to make rte_eth_dev and related structures internal. That should allow future possible c