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)
commitadf200f31c000d707e4afe238ed1d1199e0cce7c
tree17248214781b48ed61a320815f876351aadea61d
parent0d2164af2696821b27b04bebd8420b0e881bf44d
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 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>
include/uapi/linux/devlink.h
net/core/devlink.c