]> git.proxmox.com Git - mirror_iproute2.git/commit
Merge branch 'devlink-port-mac-addr' into next
authorDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 14:49:53 +0000 (14:49 +0000)
committerDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 14:49:53 +0000 (14:49 +0000)
commit482e463d6c871b6494e9ebd57eafe53f8a9b7694
tree3eec27989fb1d7ef5c3de286b3c4fe841be50b93
parente17466e484093ab78a27229c4d30b0bbe5f2ad13
parent4dca81e9a8f81e7e1994de4d2e7a09b28aae28b4
Merge branch 'devlink-port-mac-addr' into next

Parav Pandit  says:

====================

Currently ip link set dev <pfndev> vf <vf_num> <param> <value> has
few below 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 is supported.
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
support on 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.

[1] https://lore.kernel.org/netdev/20200519092258.GF4655@nanopsycho/
[2] https://marc.info/?l=linux-netdev&m=158555928517777&w=2

====================

Signed-off-by: David Ahern <dsahern@kernel.org>