[PATCH v4 1/2] ethdev: make representor parameter more explicit

Stephen Hemminger stephen at networkplumber.org
Wed Nov 12 16:02:37 CET 2025


On Thu, 6 Nov 2025 07:52:44 +0200
Gregory Etelson <getelson at nvidia.com> wrote:

> The current format for a port representor parameter is
> '-a DBDF,representor=pfXvfY'.
> That parameter syntax describes port representor relative to
> PCI device DBDF.
> In that notation VF Y belongs to PF X and PF X is relative to DBDF.
> 
> The syntax 'pfXvfY' will probe 2 port representors: PF X and VF Y.
> If we want to refer only to VF Y related to PF X, the parameter must
> be '(pfX)vfY'.
> In this case only VF Y representor will be probed.
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> ---
> v2: Add comments.
>     In rte_eth_devargs structure rename port_flags -> flags.
> v4: Rename devargs flag macro.	

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list