]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 19:43:00 +0000 (14:43 -0500)
commit5cabb5bf9eb2e18457d9400ce3ea129c32f1a5fd
tree17248214781b48ed61a320815f876351aadea61d
parent1e7a6f2dd0b49e046c30a46753cbca86a10f9c85
devlink: fix the name of eswitch commands

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 b84c538dc54b ("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>
include/uapi/linux/devlink.h
net/core/devlink.c