]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: Fix setting max_io_eqs as the sole attribute
authorParav Pandit <parav@nvidia.com>
Thu, 6 Jun 2024 04:38:08 +0000 (07:38 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 11 Jun 2024 15:05:24 +0000 (08:05 -0700)
commitc6c39f3c6da4bf093aad6d0eb1c5b07a7aa2dab7
treedd4b746333390514ef48e4e4b04cee708f7f50c5
parent459ddd094d807004d08f3e42c38284a331d6120d
devlink: Fix setting max_io_eqs as the sole attribute

dl_opts_put() function missed to consider IO eqs option flag.
Due to this, when max_io_eqs setting is applied only when it
is combined with other attributes such as roce/hw_addr.
When max_io_eqs is the only attribute set, it missed to
apply the attribute.

Fix it by adding the missing flag.

Fixes: e8add23c59b7 ("devlink: Support setting max_io_eqs")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c