]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
devlink: introduce devlink_port_attrs_set
authorJiri Pirko <jiri@mellanox.com>
Fri, 18 May 2018 07:29:00 +0000 (09:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2018 20:30:39 +0000 (16:30 -0400)
commitb9ffcbaf56d3040efee64d3818688083c29b2a44
treeb9ecd9e63e51be84e5050ba94b754de9ea9050a8
parenteb38401c779d350e9e31396471ea072fa29aec9b
devlink: introduce devlink_port_attrs_set

Change existing setter for split port information into more generic
attrs setter. Alongside with that, allow to set port number and subport
number for split ports.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c
drivers/net/ethernet/netronome/nfp/nfp_devlink.c
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c