[dpdk-users] Trouble locating functionality in code

Georgia Panoutsakopoulou gpanoutsak at gmail.com
Fri Jun 12 16:47:47 CEST 2020


Hi all,
I'm having trouble locating the part of code that associates a network card
with the dpdk internally used port id.

For example, when I bind two ports with pci slots 0000:86:00.0
and 0000:86:00.1 to dpdk driver igb_uio , how does dpdk populate this
information and give a port id in each port? Is there a way to know this
association without accessing dpdk structs by using functions like
rte_eth_dev_get_name_by_port(portid,
name)?

I'm using dpdk app l2fwd and dpdk version 19.11.

Thanks,
Georgia


More information about the users mailing list