Re: [PATCH net-next v5 1/5] ethtool: add FEC bins histogram report

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-09-24 00:27:49
Also in
intel-wired-lan
Reply to
Vadim Fedorenko, 2025-09-22
On Mon, 22 Sep 2025 10:07:37 +0000 Vadim Fedorenko wrote:
quoted hunk ↗ jump to hunk
+		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.
Thread (8 messages) 8 messages, 2 authors, last reply 2025-09-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help