]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
devlink: fix the name of eswitch commands
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 14:54:33 +0000 (15:54 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 28 Mar 2017 20:17:54 +0000 (14:17 -0600)
commitfa2d8fae7f1bde56306622166fa19f1bc87d30e0
tree97727f5d5fe074cefbf0b1178d7209411efb0b0b
parentbf214d171189c99ca34b033d47de066a42cbea85
devlink: fix the name of eswitch commands

BugLink: http://bugs.launchpad.net/bugs/1676388
The eswitch_[gs]et command is supposed to be similar to port_[gs]et
command - for multiple eswitch attributes. However, when it was introduced
by 08f4b5918b2d ("net/devlink: Add E-Switch mode control") it was wrongly
named with the word "mode" in it. So fix this now, make the oririnal
enum value existing but obsolete.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit adf200f31c000d707e4afe238ed1d1199e0cce7c)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
include/uapi/linux/devlink.h
net/core/devlink.c