From patchwork Mon Oct 29 12:49:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Maximets X-Patchwork-Id: 990178 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="lUMBYazy"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42kDw34zGgz9s3Z for ; Mon, 29 Oct 2018 23:50:11 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id F14D626E4; Mon, 29 Oct 2018 12:49:46 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 087A42652 for ; Mon, 29 Oct 2018 12:49:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1E14625A for ; Mon, 29 Oct 2018 12:49:44 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181029124942euoutp022ecf139d3a44856541fbdd964bbaca6e~iFT71FFW91683616836euoutp02Q; Mon, 29 Oct 2018 12:49:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181029124942euoutp022ecf139d3a44856541fbdd964bbaca6e~iFT71FFW91683616836euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1540817382; bh=8lj1mKxSiJpTG/DrzMXkUfVoyt39AN1VEmnq9T0/uyc=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=lUMBYazyzF9Fed8kfTHy0t4iPlOaa/6ccm0UmSD8SfqipZLNdbhGJ3IBT4gStT3u2 cCuIvmHMWJ6OpAK9731A6b1uEabt5A8Mqp+QA7tbzZimkbrO9fjPScxCk7e9v/qjBB nKFW6Y2sp4gywTMS2vadWJRBDb1YKz5iuscaRwOw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181029124942eucas1p154a1527861c75ae756b0cd82b26bb46e~iFT7bsBW50775007750eucas1p1I; Mon, 29 Oct 2018 12:49:42 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 8B.FA.04806.5E107DB5; Mon, 29 Oct 2018 12:49:41 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181029124941eucas1p14badbead807a3de60bc3b87c39aeb736~iFT6nQ3f-0776207762eucas1p1I; Mon, 29 Oct 2018 12:49:41 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-42-5bd701e559d2 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 86.5C.04284.4E107DB5; Mon, 29 Oct 2018 12:49:40 +0000 (GMT) Received: from imaximets.rnd.samsung.ru ([106.109.129.180]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PHD00EQH2AI7G60@eusync3.samsung.com>; Mon, 29 Oct 2018 12:49:40 +0000 (GMT) From: Ilya Maximets To: ovs-dev@openvswitch.org Date: Mon, 29 Oct 2018 15:49:18 +0300 Message-id: <20181029124926.12199-2-i.maximets@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181029124926.12199-1-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsWy7djPc7pPGa9HG7Q0mFpsmTaZ1eLVovPM Flfaf7JbbHx4ltVi7qfnjBa353hZPL34i9miZclOJgcOjxv/brF5LN7zksnj2fTDTB43tp9m 9Xh28z+jR9+WVYwe/5uvsgawR3HZpKTmZJalFunbJXBlTOuYwVjwkr1i+52iBsYpbF2MnBwS AiYSJ09+ArK5OIQEVjBK3P09ixUkISTwmVGitV8Cpqj31352iKJljBLLfrZAOc1MEivW7wAb xSagI3Fq9RFGEFtEQFride8bVpAiZoGJTBJvf14AKxIW8JS4+/EiO4jNIqAq8fPdLLA4r4C1 xLmzV5kg1slLrN5wgBnE5hSwkXh+vx/q1hlsEjun1kHYLhKz5s2DqheWeHV8CzuELSPR2XEQ Kl4vcb/lJSPIERICHYwS0w/9g0rYS2x5fQ6sgVmAT2LStulAyziA4rwSHW1CECUeEs/PfmaE +LKfUeL09tUsExglFzAyrGIUTy0tzk1PLTbOSy3XK07MLS7NS9dLzs/dxAiMztP/jn/dwbjv T9IhRgEORiUe3gfc16KFWBPLiitzDzFKcDArifC+OgsU4k1JrKxKLcqPLyrNSS0+xCjNwaIk zrts3sZoIYH0xJLU7NTUgtQimCwTB6dUA6Nhp+jqJTFuXdsn3/ydWPxMI+XGF+9PG8yO89U3 /5I9sL6gc27j55p934JkF7cI32f+fuX5kX0s8lnvOP2LlV7uk/GZuDfzVdHpyLNXJ66dK+vh banSU3Jmf9kXnur6UwZRKZf8z3TzMNuYhn/KCeU0eSea/cZ8oW7q8Tdn1i2YyFjE33/Jm1GJ pTgj0VCLuag4EQCrR61sygIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGLMWRmVeSWpSXmKPExsVy+t/xq7pPGa9HG5z6y2SxZdpkVotXi84z W1xp/8lusfHhWVaLuZ+eM1rcnuNl8fTiL2aLliU7mRw4PG78u8XmsXjPSyaPZ9MPM3nc2H6a 1ePZzf+MHn1bVjF6/G++yhrAHsVlk5Kak1mWWqRvl8CVMa1jBmPBS/aK7XeKGhinsHUxcnJI CJhI9P7az97FyMUhJLCEUeLsq71sEE4rk8S8vecZQarYBHQkTq0+AmaLCEhLvO59wwpSxCww mUliSUsTM0hCWMBT4u7Hi+wgNouAqsTPd7PAVvAKWEucO3uVCWKdvMTqDQfA6jkFbCSe3+8H qxECqln1cS7zBEaeBYwMqxhFUkuLc9Nziw31ihNzi0vz0vWS83M3MQJDa9uxn5t3MF7aGHyI UYCDUYmH9wH3tWgh1sSy4srcQ4wSHMxKIryvzgKFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8543 qIwSEkhPLEnNTk0tSC2CyTJxcEo1MDaulnHac0zuit25P0X+66/ots3u9Lmdcme5t2R6QMah dfovV1Te0o06uNjUfI/zzH2O8SmmJszSbDuckwv2+yZ8X/uhI72pUTgj5EnMdNMvPzTVsmY8 q73LtuPGLK6SzLnVCvPk217OiTuhx/SsTFGgb/aGQDUvu7YVU7+UlNzsWCXxSayYVYmlOCPR UIu5qDgRAO4JIK4pAgAA X-CMS-MailID: 20181029124941eucas1p14badbead807a3de60bc3b87c39aeb736 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181029124941eucas1p14badbead807a3de60bc3b87c39aeb736 References: <20181029124926.12199-1-i.maximets@samsung.com> X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Shahaf Shuler , Flavio Leitner , Ilya Maximets Subject: [ovs-dev] [PATCH 1/9] dpif-netdev: Reduce log level for not found mark id. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org It's a normal case for 'find' function, especially because this happens for every first packet of flow that was not offloaded yet. Should not warn about this. Dropped to DBG to avoid log trashing in case of big number of new flows. CC: Yuanhan Liu Fixes: 241bad15d99a ("dpif-netdev: associate flow with a mark id") Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 3f7acb5dd..6a5e9e329 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2157,8 +2157,8 @@ megaflow_to_mark_find(const ovs_u128 *mega_ufid) } } - VLOG_WARN("Mark id for ufid "UUID_FMT" was not found\n", - UUID_ARGS((struct uuid *)mega_ufid)); + VLOG_DBG("Mark id for ufid "UUID_FMT" was not found\n", + UUID_ARGS((struct uuid *)mega_ufid)); return INVALID_FLOW_MARK; }