summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-01-27 14:26:06 +0100
committerDavid S. Miller <davem@davemloft.net>2024-01-31 12:30:47 +0000
commit0b3100bc8fa7a05804737dba96075ea8d45316ce (patch)
tree1d6c23e31e1121b91913dec4b92dd604fdd05e8d /include
parentd80a52335374e484a4ff2afdc9af843e73273945 (diff)
downloadlinux-0b3100bc8fa7a05804737dba96075ea8d45316ce.tar.gz
linux-0b3100bc8fa7a05804737dba96075ea8d45316ce.tar.bz2
linux-0b3100bc8fa7a05804737dba96075ea8d45316ce.zip
ethtool: switch back from ethtool_keee to ethtool_eee for ioctl
In order to later extend struct ethtool_keee, we have to decouple it from the userspace format represented by struct ethtool_eee. Therefore switch back to struct ethtool_eee, representing the userspace format, and add conversion between ethtool_eee and ethtool_keee. Struct ethtool_keee will be changed in follow-up patches, therefore don't do a *keee = *eee here. Member cmd isn't copied, because it's not used, and we'll remove it in the next patch of this series. In addition omit setting cmd to ETHTOOL_GEEE in the ioctl response, userspace ethtool isn't interested in it. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions