Message ID | 20200404161621.3452-5-jiri@resnulli.us |
---|---|
State | New |
Headers | show |
Series | devlink: spring cleanup | expand |
diff --git a/devlink/devlink.c b/devlink/devlink.c index 79a1c3829c31..d40991d52cf6 100644 --- a/devlink/devlink.c +++ b/devlink/devlink.c @@ -1345,7 +1345,8 @@ static int dl_argv_parse(struct dl *dl, uint64_t o_required, if (err) return err; o_found |= DL_OPT_DPIPE_TABLE_NAME; - } else if (dl_argv_match(dl, "counters") && + } else if ((dl_argv_match(dl, "counters") || + dl_argv_match(dl, "counters_enabled")) && (o_all & DL_OPT_DPIPE_TABLE_COUNTERS)) { dl_arg_inc(dl); err = dl_argv_bool(dl, &opts->dpipe_counters_enable);