On 9/8/20 10:50 PM, Parav Pandit wrote:
> $ devlink port show pci/:06:00.0/2
> pci/:06:00.0/2: type eth netdev ens2f0c1pf0vf1 flavour pcivf controller 1
> pfnum 0 vfnum 1 external true splittable false
> function:
> hw_addr 00:00:00:00:00:00
>
> $ devlink port show pci/:06:00.0/
From: Parav Pandit
Now that controller number attribute is available, use it when
building phsy_port_name for external controller ports.
An example devlink port and representor netdev name consist of controller
annotation for external controller with controller number = 1,
for a VF 1 of PF 0:
$