Getting network port ID by ethdev port ID

Ivan Malov ivan.malov at arknetworks.am
Mon Jun 5 15:09:31 CEST 2023


Dear community,

Is there any means in DPDK to discover relationship between
network/physical ports of the given adapter/board and
etdevs deployed in DPDK application on top of it?

For example, in Linux, there are facilities like

> /sys/class/net/<iface>/phys_port_name
> /sys/class/net/<iface>/dev_port

and

> devlink port show

Do we have something similar in DPDK?

If no, would the feature be worthwhile implementing?

Interested to hear your input on this.
Thank you.


More information about the dev mailing list