cbfc6111b5
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 applications is bad because it is a contract between ethdev and PMDs, not really needs to be known by applications, also changes in the struct causing ABI breakages which shouldn't. To be able to both keep APIs inline and hide the 'struct eth_dev_ops', moving device operations used in ethdev inline APIs to 'struct rte_eth_dev' to the same level with Rx/Tx burst functions. The list of dev_ops moved: eth_rx_queue_count_t rx_queue_count; eth_rx_descriptor_done_t rx_descriptor_done; eth_rx_descriptor_status_t rx_descriptor_status; eth_tx_descriptor_status_t tx_descriptor_status; Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: David Marchand <david.marchand@redhat.com> Acked-by: Sachin Saxena <sachin.saxena@nxp.com> |
||
---|---|---|
.. | ||
base | ||
ixgbe_82599_bypass.c | ||
ixgbe_bypass_api.h | ||
ixgbe_bypass_defines.h | ||
ixgbe_bypass.c | ||
ixgbe_bypass.h | ||
ixgbe_ethdev.c | ||
ixgbe_ethdev.h | ||
ixgbe_fdir.c | ||
ixgbe_flow.c | ||
ixgbe_ipsec.c | ||
ixgbe_ipsec.h | ||
ixgbe_logs.h | ||
ixgbe_pf.c | ||
ixgbe_regs.h | ||
ixgbe_rxtx_vec_common.h | ||
ixgbe_rxtx_vec_neon.c | ||
ixgbe_rxtx_vec_sse.c | ||
ixgbe_rxtx.c | ||
ixgbe_rxtx.h | ||
ixgbe_tm.c | ||
ixgbe_vf_representor.c | ||
meson.build | ||
rte_pmd_ixgbe_version.map | ||
rte_pmd_ixgbe.c | ||
rte_pmd_ixgbe.h |