[dpdk-dev] standardize device identification

Thomas Monjalon thomas at monjalon.net
Fri Jan 5 13:01:36 CET 2018


05/01/2018 12:09, Finn Christensen:
> From: Thomas Monjalon
>     Which property can help to distinguish Napatech ports?
>     Can you use class=eth,dev_port=X ?
>     The dev_port property will use /sys/class/net/DEV/dev_port on Linux. Is it
>     OK for you?
> 
> Actually, what we were thinking of was using the mac property in the class
> category to distinguish our ports.
> For instance:
> -w bus=pci,id=0000:01:00.0/class=eth,mac=00:11:22:33:44:55
> or simply:
> -w class=eth,mac=00:11:22:33:44:55

The problem with the mac property is that it cannot be used for
white/blacklisting in DPDK because the MAC is not known before
port initialization.

> We will not be able to support the dev_port property, that will not work for us.
> At least not for now.



More information about the dev mailing list