From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81DA0A0C4E; Sat, 23 Oct 2021 10:32:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 068C74069D; Sat, 23 Oct 2021 10:32:48 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 574B840041 for ; Sat, 23 Oct 2021 10:32:46 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5B50A5C0378; Sat, 23 Oct 2021 04:32:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 23 Oct 2021 04:32:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= SbEULO8Fn99v5LFY1O9FQDVw3DdzM83Om0k138HAPX8=; b=gTvDTQ/0bVog3PzW W+162WPqOROJ0KRz34wPXQJWEqG9WtTiA0wj+S5AVctu2kMWQnvQlQckRy4gmekO UvM3Liq+MyNbJXZ2RnsAedPrbV78/tnpLU6xySOsC4jBY72icjWCXZo4T24Wbmpa 9uhN76EKzaKDYVjwFb8ZPcuytc9MAVYA+oz/CxKrOlFUdTWTXpF+xUeI0luJFxO9 jb0MUiJd/ebA5acuJMYDsawVmQakeLEgT8LOIGZfH2XqGpMDVGTjZHYD9uwyH0Gr UuMzXCtqr03UHJ25I2j68CqdDDMSuk8w2uymdR5XgUXfY8NLFgNH4YwYtHqxJjSX axr/TQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=SbEULO8Fn99v5LFY1O9FQDVw3DdzM83Om0k138HAP X8=; b=eC6hznaCG22UVm5UVSQMwExl2BrR66c+Zc6C/jSmSORcv/oSbBFJbLw9u SSQ6pV0V2EdplmBnKKbljSpMdjja1ZdZ6TCS+f3KzUE8N5D22m7pSWEYGGslqeaX usp+ljsmdl+aKtypDRaJ9dmy5gAII4necCZJ0LIuk25PuNrzA4zffYmi3KGLim3U JAS/v7JPy4A8Bj/fhlet2LvgAJczOYEPTnJZ2Lu1vQiVWW4O+ZkLXphcXVVriEi8 tGhDE1GE+Elb6b9xzswaVFH1SAHGy4J6np12R10j7BswsFitiZM3XglO4ZneAJOg a8KZe5jFQjE+3pWpz07hRW1RbXYnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdeftddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Oct 2021 04:32:41 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org, konstantin.ananyev@intel.com Date: Sat, 23 Oct 2021 10:32:39 +0200 Message-ID: <3239661.XpjLsnopmV@thomas> In-Reply-To: <20211022211407.315068-1-bingz@nvidia.com> References: <20211022211407.315068-1-bingz@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: fix log level of Tx and Rx dummy functions 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 Sender: "dev" 22/10/2021 23:14, Bing Zhao: > When stopping a port, the data path Tx and Rx burst functions should > be stopped firstly conventionally. Then the dummy functions are used > to replace the callback functions provided by the PMD. > > When the application stops a port without or before stopping the data > path handling. The dummy functions may be invoked heavily and a lot > of logs in these dummy functions will result in a flood. Why does it happen? We should not use a stopped port. Is it a problem of core synchronization? > Debug level log should be enough instead of the error level.