Skip to content

Fix and enhance command-line parsing

Ben Hutchings netdev 1 version Applied

Status from this message: applied patches 1-5, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5ethtool: Parse integers into variables of different sizes and byte ordersethtool-util.h ethtool.c+160 -950 replies
2/5ethtool: Mark show_usage() as noreturnethtool.c+2 -00 replies
3/5ethtool: Add support for named flagsethtool.c+39 -10 replies
4/5ethtool: Implement named message type flagsethtool.8 ethtool.c+156 -141 reply
5/5ethtool: Use named flag support to update extended offload flagsethtool.c+12 -580 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH ethtool 0/5] Fix and enhance command-line parsing

This patch series fixes the initialisation of RX n-tuple specs, adds general support for named flags, and then uses that for message types and extended offload flags.

Ben.

Ben Hutchings (5):
ethtool: Parse integers into variables of different sizes and byte
orders
ethtool: Mark show_usage() as noreturn
ethtool: Add support for named flags
ethtool: Implement named message type flags
ethtool: Use named flag support to update extended offload flags

 ethtool-util.h |   29 ++++-
 ethtool.8      |   66 ++++++++-
 ethtool.c      |  440 +++++++++++++++++++++++++++++++++++--------------------
 3 files changed, 368 insertions(+), 167 deletions(-)
Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.