Skip to content

netlink: improve compatibility with ioctl interface

Michal Kubecek netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netlink: do not send messages and process replies in nl_parser()netlink/cable_test.c netlink/channels.c netlink/coalesce.c +6 more+66 -270 replies
2/2ethtool: Improve compatibility between netlink and ioctl interfacesnetlink/settings.c+92 -00 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/2] netlink: improve compatibility with ioctl interface

Restore special behavior of "ethtool -s <dev> autoneg on" if no advertised modes, speed and duplex are requested: ioctl code enables all link modes supported by the device. This is most important for network devices which report no advertised modes when autonegotiation is disabled.

First patch cleans up the parser interface; it allows nl_sset() to inspect the composed message and append an attribute to it if needed.

Ido Schimmel (1):
ethtool: Improve compatibility between netlink and ioctl interfaces

Michal Kubecek (1):
netlink: do not send messages and process replies in nl_parser()

 netlink/cable_test.c |   2 +-
 netlink/channels.c   |   2 +-
 netlink/coalesce.c   |   2 +-
 netlink/eee.c        |   2 +-
 netlink/parser.c     |  43 ++++++++++-----
 netlink/parser.h     |   3 +-
 netlink/pause.c      |   2 +-
 netlink/rings.c      |   2 +-
 netlink/settings.c   | 127 +++++++++++++++++++++++++++++++++++++++++--
 9 files changed, 158 insertions(+), 27 deletions(-)
Signature · 1 line
2.29.2