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 01926C4332F for ; Tue, 15 Nov 2022 12:42:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230269AbiKOMm1 (ORCPT ); Tue, 15 Nov 2022 07:42:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbiKOMm0 (ORCPT ); Tue, 15 Nov 2022 07:42:26 -0500 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B132495D for ; Tue, 15 Nov 2022 04:42:25 -0800 (PST) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-381662c78a9so54883987b3.7 for ; Tue, 15 Nov 2022 04:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ndvL+LWFIFHiR4ZFE63kQCRCZ7+lbgNMFKJx+vErgmg=; b=Hl+wrTR6KNNwC4Xgu6anGZ+UXNi0mlkPHgXe3LpXymd2CzkGI0BmGwj0VIgnlBT/x/ XE/oQpmjsAVBJsHti7tzPKttW8lWIF5M3kHDMKFyoZhRSHJukkDIYqXkyZOr3hOuz0/9 HfvpnpTBW9JBGHApQLTMDkXuuYcKnLWPlEKhqkQiM3relmh6bdfbbCKs4FM2yAD0GPQg f4S3hg2FwPUtENvwb475KFvYpHWgIadG6dtcyKOuA/tfGh3C08frIzrVcDmWThA26QXb OSyPV6fohmpWFAB9sjqKj87USZpZIjyXfoJ8ut2pPJ+sBm1gdLTlSATy7/QoPpHNTJzO lAqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ndvL+LWFIFHiR4ZFE63kQCRCZ7+lbgNMFKJx+vErgmg=; b=Ok28/uGKlQ189OedOAqReS/e2bfIIlzB4nVoYbkoPjb4IfFOMlM2RlS2gD6xwsOO7Q EaZTFiBjvaRRvIrG93b6SlAN9Ij/rWJtowlhFpu+NiJ9XrtwRwG+UZqEMtowCeXlMenh Daus4o0p/QmtKQFBzgZ+PHk7JJXrJnzXaLLt1iW9v1dtSRcCsS9pvJ8uSvF7SlYJ151Y JHJXZqIZ8jLHSwKda8FzfLhZEEvV2pP6aYx74b5vVn/oF7yTva9PWR72ZYwh6ObxewD8 lFeRo6NsGEMiU/5L1zud1r9vAX8eqSmeJwGHzLRMmlOLrpjrbQsY5oBJ36ReX4Q4FiJB y85w== X-Gm-Message-State: ANoB5pkGCqTWLRnCvORMaUHOkGOLpjhU/BPC+zTMzk0Xrqxo2hmBCXxa kY7HhRR//QkMcF83NhGF0cU/zRpMWYFw+vqkS3xzDg== X-Google-Smtp-Source: AA0mqf4glYHxwGugJypolRnlsmMVkb5rHewMTRO6Gu777NjyypKI6vWEtK0QZwVjlnUdUSqD2oSX9EjokzAofv8GakI= X-Received: by 2002:a81:708a:0:b0:378:a8c7:7614 with SMTP id l132-20020a81708a000000b00378a8c77614mr17497509ywc.146.1668516145090; Tue, 15 Nov 2022 04:42:25 -0800 (PST) MIME-Version: 1.0 References: <20221102163646.131a3910@kernel.org> <20221108105544.65e728ad@kernel.org> <20221109182053.05ca08b8@kernel.org> <20221110092709.06859da9@kernel.org> <20221114205143.717fd03f@kernel.org> In-Reply-To: <20221114205143.717fd03f@kernel.org> From: Jamal Hadi Salim Date: Tue, 15 Nov 2022 07:42:13 -0500 Message-ID: Subject: Re: [PATCH (repost) net-next] sched: add extack for tfilter_notify To: Jakub Kicinski Cc: Hangbin Liu , Marcelo Ricardo Leitner , Cong Wang , netdev@vger.kernel.org, Jiri Pirko , "David S. Miller" , Eric Dumazet , Paolo Abeni , David Ahern Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Nov 14, 2022 at 11:51 PM Jakub Kicinski wrote: > > On Tue, 15 Nov 2022 11:07:21 +0800 Hangbin Liu wrote: [..] > > 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. > +1. I got distracted but was thinking of sending a sample patch. I think we can do it for all if we pass extack to nlmsg_notify() from all callers and then check if extack is present and do the NLM_F_ACK_TLVS dance in there. Hangbin - maybe consider this approach? cheers, jamal > If you have the code ready - post it, let's see how folks feel after > sleeping on it.