On Mon, 22 Sep 2025 10:07:37 +0000 Vadim Fedorenko wrote:
> +             if (j && nla_put_64bit(skb, ETHTOOL_A_FEC_HIST_BIN_VAL_PER_LANE,
> +                                    sizeof(u64) * j,
> +                                    values[i].per_lane,
> +                                    ETHTOOL_A_FEC_STAT_PAD))

The pad attribute needs to be from the same attr space as the attr
you're outputting. You need to create your own pad attr in the spec.

Reply via email to