Skip to content

netlink: require a value for hds-thresh and the TDR parameters

Dave Seddon netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Split into one patch per command, each with its own Fixes tag
(Andrew Lunn).
- v1: https://lore.kernel.org/netdev/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netlink: rings: require a value for hds-threshnetlink/rings.c+1 -10 replies
2/2netlink: cable_test: require a value for the TDR parametersnetlink/cable_test.c+4 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH ethtool v2 0/2] netlink: require a value for hds-thresh and the TDR parameters

hds-thresh (-G) and first, last, step and pair (--cable-test-tdr) take a value but leave min_argc at 0, so a missing value prints "invalid value '(null)'" instead of "no value for parameter". Each patch sets min_argc to 1 for one command.

Changes in v2:
- Split into one patch per command, each with its own Fixes tag
(Andrew Lunn).
- v1: https://lore.kernel.org/netdev/[email protected]/

Checked by hand on a build of each patch on bae2dbd: the parameters it covers print "no value for parameter", the others are unchanged. make check passes.

Claude found the issue while porting the code from C to Go, and drafted the patches; I reviewed them and take responsibility for them.

Dave Seddon (2):
netlink: rings: require a value for hds-thresh
netlink: cable_test: require a value for the TDR parameters

 netlink/cable_test.c | 4 ++++
 netlink/rings.c      | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.56.0