]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: move DL_OPT_SB into required options
authorJiri Pirko <jiri@nvidia.com>
Wed, 6 Sep 2023 11:11:08 +0000 (13:11 +0200)
committerDavid Ahern <dsahern@kernel.org>
Mon, 11 Sep 2023 15:15:32 +0000 (09:15 -0600)
commit158215c5367745eeecd17d3cb4e600c243982a72
tree6e8cf746a41303f2327cd44a6a6cf3b3e5e38f92
parentdd5b1f585bf627d4bf4375b0764baa6a6de9d9bb
devlink: move DL_OPT_SB into required options

This is basically a cosmetic change. The SB index is not required to be
passed by user and implicitly index 0 is used. This is ensured by
special treating at the end of dl_argv_parse(). Move this option from
optional to required options.

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