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

From: Jijie Shao
Date: Wed Oct 23 2024 - 23:46:10 EST



on 2024/10/23 22:15, Andrew Lunn wrote:
+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().

Ok, Thanks!



Andrew

---
pw-bot: cr