summaryrefslogtreecommitdiffstats
path: root/net/core/drop_monitor.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2020-06-19 03:32:49 +0000
committerDavid S. Miller <davem@davemloft.net>2020-06-22 15:29:19 -0700
commita1e8ae907c8d67f57432190bb742802a76516b00 (patch)
tree839cfe5a697569e5fac54dfeed98ffd68cf335ea /net/core/drop_monitor.c
parent2a916ecc405686c1d86f632281bc06aa75ebae4e (diff)
downloadlinux-a1e8ae907c8d67f57432190bb742802a76516b00.tar.bz2
net/devlink: Support setting hardware address of port function
PCI PF and VF devlink port can manage the function represented by a devlink port. Allow users to set port function's hardware address. Example of a PCI VF port which supports a port function: $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:00:00:00:00:00 $ devlink port function set pci/0000:06:00.0/2 hw_addr 00:11:22:33:44:55 $ devlink port show pci/0000:06:00.0/2 pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1 function: hw_addr 00:11:22:33:44:55 Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/drop_monitor.c')
0 files changed, 0 insertions, 0 deletions