On 10/7/21 2:27 PM, Konstantin Ananyev wrote: > Currently majority of fast-path ethdev ops take pointers to internal > queue data structures as an input parameter. > While eth_rx_queue_count() takes a pointer to rte_eth_dev and queue > index. > For future work to hide rte_eth_devices[] and friends it would be > plausible to unify parameters list of all fast-path ethdev ops. > This patch changes eth_rx_queue_count() to accept pointer to internal > queue data as input parameter. > While this change is transparent to user, it still counts as an ABI change, > as eth_rx_queue_count_t is used by ethdev public inline function > rte_eth_rx_queue_count(). > > Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru> The patch introduces a number usages of rte_eth_devices in drivers. As I understand it is undesirable, but I don't think it is a blocker of the patch series. It should be addresses separately.