On 2/3/2022 8:24 AM, Kumara Parameshwaran wrote:
From: Kumara Parameshwaran<kparamesh...@vmware.com>
Make changes in PMDs to use the new function where
rte_eth_dev_get_port_by_name is used to get port_id
to access rte_eth_devices
Signed-off-by: Kumara Parameshwaran<kparamesh...@vmware.com>
---
v1
* Replace rte_eth_get_get_port_by_name in PMDs with rte_eth_dev_get_by_name
where port_id is used to retrieve rte_eth_dev data structure
Hi Matan, Slava,
Can you please investigate using 'rte_eth_dev_get_by_name()' internal API
instead of 'rte_eth_dev_get_port_by_name()' to eliminate direct access to
global 'rte_eth_devices' array from mlx5 driver?
Thanks,
ferruh