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 26015C4332F for ; Tue, 15 Nov 2022 04:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231717AbiKOEvt (ORCPT ); Mon, 14 Nov 2022 23:51:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbiKOEvr (ORCPT ); Mon, 14 Nov 2022 23:51:47 -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 F14D913DFA for ; Mon, 14 Nov 2022 20:51:45 -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 8A41061472 for ; Tue, 15 Nov 2022 04:51:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6556DC433C1; Tue, 15 Nov 2022 04:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668487904; bh=oWJpXNyQAiBIMH7veJPS2ys+fa1wm+GthNW6KkdWpd8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ae30XZJeBbRMkK1fAAAjMWnC/NdXjlbmH9oYJ3TCTAW0LEBvHzqU8/4453WhZ+YpK 1wDDqi9UT6a1OyvCgIId0B0Qw9Mr2xblzu7vk/vxWKdTiGWNQgYhLAsTbMqBgIhp3t Qi0+MYy4B0bg770cF/AANO3OUzEyGc7fWuxEarAJJtQJGONDH5FKchJhWcMpjw8Mvi tJqjPtwITo6vbdDNRaCOCKjVAR5OhF8Q0AevH6EW3E1y+Abx1D3/dQxQ5SHvQ9CywY aDwTyXoL9b/L9JG+oOwWlR0SsZdkwUWMKpGcPoJPN6H75cSYGTYrTLtjetLSwQqFM2 FIyUGvZ6+xj0g== Date: Mon, 14 Nov 2022 20:51:43 -0800 From: Jakub Kicinski To: Hangbin Liu Cc: Jamal Hadi Salim , Marcelo Ricardo Leitner , Cong Wang , netdev@vger.kernel.org, Jiri Pirko , "David S. Miller" , Eric Dumazet , Paolo Abeni , David Ahern Subject: Re: [PATCH (repost) net-next] sched: add extack for tfilter_notify Message-ID: <20221114205143.717fd03f@kernel.org> In-Reply-To: References: <20221102163646.131a3910@kernel.org> <20221108105544.65e728ad@kernel.org> <20221109182053.05ca08b8@kernel.org> <20221110092709.06859da9@kernel.org> 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 Tue, 15 Nov 2022 11:07:21 +0800 Hangbin Liu wrote: > > IDK, we can have a kernel hook into the trace point and generate > > the output over netlink, like we do with drop monitor and skb_free(). > > But I really doubt that its worth it. Also you can put a USDT into OvS > > if you don't want to restart it. There are many options, not everything > > is a nail :S > > I have finished a patch with TCA_NTF_WARN_MSG to carry the string message. > But looks our discussion goes to a way that this feature is not valuable? > > So maybe I should stop on here? It's a bit of a catch 22 - I don't mind the TCA_NTF_WARN_MSG itself but I would prefer for the extack via notification to spread to other notifications. If you have the code ready - post it, let's see how folks feel after sleeping on it.