]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: allow to fillup eswitch attrs even if mode_get op does not exist
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 14:54:36 +0000 (15:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 19:43:00 +0000 (14:43 -0500)
commit293d51739f5cbfeb5a24a03d86b0b9ea9adf162f
tree89ec0319f0c7cfa0bfcebae01f1bc04928fb1fbe
parent12f6ac7715b681093cbc08035468b28953fb4a30
devlink: allow to fillup eswitch attrs even if mode_get op does not exist

Even when mode_get op is not present, other eswitch attrs need to be
filled-up.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c