[PATCH net-next 0/2] ethtool mm API improvements

From: Vladimir Oltean
Date: Sat Apr 15 2023 - 13:36:12 EST


Currently the ethtool --set-mm API permits the existence of 2
configurations which don't make sense:

- pmac-enabled false tx-enabled true
- tx-enabled false verify-enabled true

By rejecting these, we can give driver-level code more guarantees.
I re-ran the MM selftest posted here (which I need to repost):
https://lore.kernel.org/netdev/20230210221243.228932-1-vladimir.oltean@xxxxxxx/

and it didn't cause functional problems.

Vladimir Oltean (2):
net: enetc: fix MAC Merge layer remaining enabled until a link down
event
net: ethtool: mm: sanitize some UAPI configurations

drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 11 +++++++----
net/ethtool/mm.c | 5 +++++
2 files changed, 12 insertions(+), 4 deletions(-)

--
2.34.1