From: Parav Pandit <pa...@mellanox.com> Date: Fri, 19 Jun 2020 03:32:46 +0000
> Currently, ip link set dev <pfndev> vf <vf_num> <param> <value> has > below few limitations. > > 1. Command is limited to set VF parameters only. > It cannot set the default MAC address for the PCI PF. > > 2. It can be set only on system where PCI SR-IOV capability exists. > In smartnic based system, eswitch of a NIC resides on a different > embedded cpu which has the VF and PF representors for the SR-IOV > functions of a host system in which this smartnic is plugged-in. > > 3. It cannot setup the function attributes of sub-function described > in detail in comprehensive RFC [1] and [2]. > > This series covers the first small part to let user query and set MAC > address (hardware address) of a PCI PF/VF which is represented by > devlink port pcipf, pcivf port flavours respectively. > > Whenever a devlink port manages a function connected to a devlink port, > it allows to query and set its hardware address. > > Driver implements necessary get/set callback functions if it supports > port function for a given port type. ... Series applied, thank you.