Thread (27 messages) flat view 27 messages, 3 authors, 2024-10-25

Re: [PATCH net-next 5/7] net: hibmcge: Add pauseparam supported in this module

From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-10-23 14:16:04
Also in: lkml

+static int hbg_ethtool_set_pauseparam(struct net_device *net_dev,
+				      struct ethtool_pauseparam *param)
+{
+	struct hbg_priv *priv = netdev_priv(net_dev);
+
+	if (param->autoneg) {
+		netdev_err(net_dev, "autoneg unsupported\n");
+		return -EOPNOTSUPP;
+	}
Not being able to do it is not an error, so there is no need for the
netdev_err().


    Andrew

---
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help