[PATCH v1] drivers/net: use internal API to get eth dev from name
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Thu Feb  3 13:34:10 CET 2022
    
    
  
On 2/3/2022 8:24 AM, Kumara Parameshwaran wrote:
> From: Kumara Parameshwaran<kparameshwar at 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<kparameshwar at 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
    
    
More information about the dev
mailing list