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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2023 08:08:02 +0000 (09:08 +0100)
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: aa3198819bea6 ("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>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c

index cf33503468a3d93cca1dbb517bc8c361abf89bdd..9b2b96fa36af831d2b669d957bf7cf13e2bcb2af 100644 (file)
@@ -794,7 +794,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;
        }