Re: [PATCH iproute2-next v3 2/2] devlink: support u64-array values in devlink param show/set

From: Ratheesh Kannoth

Date: Wed Jul 01 2026 - 22:52:36 EST


On 2026-07-02 at 05:23:33, David Ahern (dsahern@xxxxxxxxxx) wrote:
> 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?
it is a typo.
>
> You are dumping it as a string which for json is wrong -- it should be
> an array.
ACK.