Commit 0b3100b
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>1 parent d80a523 commit 0b3100b
1 file changed
+39
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1508 | 1508 | | |
1509 | 1509 | | |
1510 | 1510 | | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1511 | 1539 | | |
1512 | 1540 | | |
1513 | | - | |
| 1541 | + | |
| 1542 | + | |
1514 | 1543 | | |
1515 | 1544 | | |
1516 | 1545 | | |
1517 | 1546 | | |
1518 | 1547 | | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
| 1548 | + | |
| 1549 | + | |
1523 | 1550 | | |
1524 | 1551 | | |
1525 | 1552 | | |
1526 | | - | |
| 1553 | + | |
| 1554 | + | |
1527 | 1555 | | |
1528 | 1556 | | |
1529 | 1557 | | |
1530 | 1558 | | |
1531 | 1559 | | |
1532 | 1560 | | |
1533 | 1561 | | |
1534 | | - | |
| 1562 | + | |
| 1563 | + | |
1535 | 1564 | | |
1536 | 1565 | | |
1537 | 1566 | | |
1538 | 1567 | | |
1539 | 1568 | | |
1540 | | - | |
| 1569 | + | |
1541 | 1570 | | |
1542 | 1571 | | |
1543 | | - | |
| 1572 | + | |
| 1573 | + | |
1544 | 1574 | | |
1545 | 1575 | | |
1546 | 1576 | | |
| |||
0 commit comments