]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: move use_iec into struct dl
authorJiri Pirko <jiri@nvidia.com>
Thu, 29 Sep 2022 10:24:35 +0000 (12:24 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 29 Sep 2022 14:50:30 +0000 (08:50 -0600)
commit16d2732a5283b94c10081792b67f5d29ed6b16c7
treeb0095bce9aa95cfcf68b6caefc8ae5bc7452b714
parent0cc5533b71dc3d3f07e04e78b36c24e01610837f
devlink: move use_iec into struct dl

Similar to other bool opts that could be set by the user, move the
global variable use_iec to be part of struct dl.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
devlink/devlink.c