Re: [PATCH iproute2-next v3 2/2] devlink: support u64-array values in devlink param show/set
From: David Ahern <dsahern@kernel.org>
Date: 2026-07-01 23:53:35
Also in:
lkml
From: David Ahern <dsahern@kernel.org>
Date: 2026-07-01 23:53:35
Also in:
lkml
On 6/30/26 9:13 PM, Ratheesh Kannoth wrote:
Add support for DEVLINK_VAR_ATTR_TYPE_U64_ARRAY parameters that carry
multiple DEVLINK_ATTR_PARAM_VALUE_DATA attributes. Parse and display
u64 array values in param show, and accept space- or comma-separated
u64 values in devlink and port param set commands.
- Show search order
devlink dev param show pci/0002:01:00.0 name npc_srch_order
pci/0002:01:00.0:
name npc_srch_order type driver-specific
values:
cmode runtime value value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31"value value"? Is that correct or a typo in the commit message? You are dumping it as a string which for json is wrong -- it should be an array.