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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16D8CC3DA7D for ; Thu, 5 Jan 2023 04:01:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbjAEEBV (ORCPT ); Wed, 4 Jan 2023 23:01:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjAEEBR (ORCPT ); Wed, 4 Jan 2023 23:01:17 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41D2D13FA7 for ; Wed, 4 Jan 2023 20:01:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CD5F360C95 for ; Thu, 5 Jan 2023 04:01:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A90B2C433EF; Thu, 5 Jan 2023 04:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672891275; bh=XExX1h697othQ9HT4/5MF/Us2q0mgx5vMA/gytPjjQk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gtuhHKht5f5odDc1J8VNkbNpPvr8hUzgy5pvJqPZAdhGXXGwVlY7gySkbgQ+UpApt s6hxWj2Tw388l9Km2IAlkCwmyTRyVRvtOVjbvo2DVs+ZuWWGvb/Ied24Lo9oleCQKf tr7fRbL5o65lab24CRXrcIlfhBDs2E74RifAb9hU+co0lwSr20Z7ips2KiUCZli6jH NyXGvD7m4HK3VbJiNIuxc1Qtfdbkf7sPsG946aPiO7wdIdrnUAQZRMi4abjmGkiFLA cvXDb1U+6iYS9QhdbOpBRXWmmMW7AcjWTpHupmwkYwDJybUG/Qus4S2Y9RN+vj62JG 4q79u4OcaA0Sg== Date: Wed, 4 Jan 2023 20:01:13 -0800 From: Jakub Kicinski To: Hangbin Liu Cc: netdev@vger.kernel.org, Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Eric Dumazet , Paolo Abeni , David Ahern , Marcelo Ricardo Leitner Subject: Re: [PATCHv3 net-next] sched: multicast sched extack messages Message-ID: <20230104200113.08112895@kernel.org> In-Reply-To: <20230104091608.1154183-1-liuhangbin@gmail.com> References: <20230104091608.1154183-1-liuhangbin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 4 Jan 2023 17:16:08 +0800 Hangbin Liu wrote: > In commit 81c7288b170a ("sched: cls: enable verbose logging") Marcelo > made cls could log verbose info for offloading failures, which helps > improving Open vSwitch debuggability when using flower offloading. > > It would also be helpful if userspace monitor tools, like "tc monitor", > could log this kind of message, as it doesn't require vswitchd log level > adjusment. Let's add a new function to report the extack message so the > monitor program could receive the failures. e.g. If you repost this ever again please make sure you include my tag: Nacked-by: Jakub Kicinski I explained to you at least twice why this is a terrible idea, and gave you multiple alternatives.