From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id B25A0C433EF for ; Sun, 6 Mar 2022 16:12:11 +0000 (UTC) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8416B4068F; Sun, 6 Mar 2022 17:12:10 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 436E84067B; Sun, 6 Mar 2022 17:12:09 +0100 (CET) Received: from bree.oktetlabs.ru (bree.oktetlabs.ru [192.168.34.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPS id 9C52644; Sun, 6 Mar 2022 19:12:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 9C52644 Authentication-Results: shelob.oktetlabs.ru/9C52644; dkim=none; dkim-atps=neutral From: Ivan Malov To: dev@dpdk.org Cc: Andy Moreton , stable@dpdk.org, Andrew Rybchenko Subject: [PATCH] net/sfc: do not spam logs on tunnel restore info errors Date: Sun, 6 Mar 2022 19:12:06 +0300 Message-Id: <20220306161206.1446154-1-ivan.malov@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org OvS might invoke this API on its data path, out of sync with its control plane. If the control path has already deactivated the tunnel context entry, these invocations will produce quite a few error printouts. Suppress that. Fixes: 7e5b479803c3 ("net/sfc: implement control path operations in tunnel offload") Cc: stable@dpdk.org Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko --- drivers/net/sfc/sfc_flow_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_flow_tunnel.c b/drivers/net/sfc/sfc_flow_tunnel.c index e9eca90012..af5941c1ba 100644 --- a/drivers/net/sfc/sfc_flow_tunnel.c +++ b/drivers/net/sfc/sfc_flow_tunnel.c @@ -433,7 +433,7 @@ sfc_flow_tunnel_get_restore_info(struct rte_eth_dev *dev, ft = &sa->flow_tunnels[ft_id]; if (ft->refcnt == 0) { - sfc_err(sa, "tunnel offload: get_restore_info: tunnel=%u does not exist", + sfc_dbg(sa, "tunnel offload: get_restore_info: tunnel=%u does not exist", ft_id); rc = ENOENT; goto fail; -- 2.30.2