[PATCH v1] drivers/net: use internal API to get eth dev from name

Ferruh Yigit ferruh.yigit at intel.com
Fri Feb 4 14:46:19 CET 2022


On 2/3/2022 12:31 PM, Ferruh Yigit wrote:
> 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 Kumara, Thanks for the work.
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list