]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ionic: remove noise from ethtool rxnfc error msg
authorShannon Nelson <shannon.nelson@amd.com>
Tue, 2 May 2023 18:47:40 +0000 (11:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:59 +0000 (11:35 +0200)
[ Upstream commit 3711d44fac1f80ea69ecb7315fed05b3812a7401 ]

It seems that ethtool is calling into .get_rxnfc more often with
ETHTOOL_GRXCLSRLCNT which ionic doesn't know about.  We don't
need to log a message about it, just return not supported.

Fixes: f0e09614e85d6 ("ionic: Add RSS support")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c

index b8de3784d9769f08e3e034fed2f027a902c1e1c0..c53d2271d8abcceaf5bccedd3396a3e2cbd4fdd5 100644 (file)
@@ -573,7 +573,7 @@ static int ionic_get_rxnfc(struct net_device *netdev,
                info->data = lif->nxqs;
                break;
        default:
-               netdev_err(netdev, "Command parameter %d is not supported\n",
+               netdev_dbg(netdev, "Command parameter %d is not supported\n",
                           info->cmd);
                err = -EOPNOTSUPP;
        }