Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1658173pxp; Thu, 17 Mar 2022 13:48:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymobwJjHiQB8ByMmnFG3HzHOW5E2kJxvg1E2hNhez8uW+2oRsTTYBnUVYAKWxWNgZpDXw0 X-Received: by 2002:a17:90a:6393:b0:1bf:70e7:27d2 with SMTP id f19-20020a17090a639300b001bf70e727d2mr17861135pjj.1.1647550132889; Thu, 17 Mar 2022 13:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647550132; cv=none; d=google.com; s=arc-20160816; b=tQmmSn77UtQhnFfDP9r1Ccx7bwYNuLVlpGm5kXH8iu5x89eWdVl2mv5lqFLGZENDdS QOKTT/iGFy3/G3Z7m+KOD5tx9UbpQG8usWppYpvgYlOaipQiW6Mbd4XRXS37vcNxr6t+ la89YbmsvU8C574VdAO+Xu9i7rr0xK+pM0li070iUoysv3YjCALzYiUHZadnnd+777kA 0lKlYrWjG+ArJctoh0gBWUryD7iemYzY17qcQJAJmWDsuOcSPqprAgtaUTw3SGIjRLW/ rQwZvedli+XVODYz9TPdFnsc/SW0fMymuo944BAGp+rZybinbmEd0mgwSuHdj6xz+qmx JdWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ecemDGKnnBa5cVr1wYmFWwjSaNN3bHFjxej6wbuHiHw=; b=GkxujVP9s4dUMEpozg9hcBKyJV3Wn4FlQ9RQrh1IyoVc/P2bjKdBQVUbgL74horhJ6 5DDwMnwoLOVnPj95VQXrdjJREfA9bMtcZY2sbfPqLq5LFZx9XQcKbsTzZmITfxdO/uWx 7wM8xUQd3C1WUW2J3CEYb44ftyDXkSPHDHwV6CcYvPpqaCLHa4xKPvSX4K+e6pdsm9JN MPBG6P147vNZqRXXAUzDmeF+Ymf/2n6Yh2Aajp5B0sky8mvG7JS7hZRJBMjbEnMpUlTa xs4UrtpEo9f5TiJW2ndyePhJoB7TJ8fVDAA2l5COT9uF4m/VubOJu0UYmuxlzyN+aFwE Srrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cyCH9Rgh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v5-20020a63f845000000b003816043ee86si2989125pgj.123.2022.03.17.13.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:48:52 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=cyCH9Rgh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6981E14B87D; Thu, 17 Mar 2022 13:13:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbiCQTir (ORCPT + 99 others); Thu, 17 Mar 2022 15:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbiCQTio (ORCPT ); Thu, 17 Mar 2022 15:38:44 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0440022C8EB; Thu, 17 Mar 2022 12:37:24 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 6CE6F580118; Thu, 17 Mar 2022 15:37:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 17 Mar 2022 15:37:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ecemDGKnnBa5cVr1w YmFWwjSaNN3bHFjxej6wbuHiHw=; b=cyCH9Rgha4F/UAg7rrVWRHqyL2PVtF0K6 Pl760BlIXMdb5jYFTuCKuUDmGe/itXLz92Q56VeiYNp/K3qxKnv8mbWy49KS7z1P QHMl/pi5YIqIog4ctJ8G/DxzDdBEIqZeDB3ROpV+ZwaJxtlStGAqB5NLCNOtzbg6 gyXNchQkGwRCimQ4dFpvl52Qm5HUmp8dzvHQn+Bj+yHSazoza9fnp//GfOQdPL/A KDb/IkJ10yxnSS07nTOnVRrWVF78WphRV2EHdIIjwAXkADDE1tu1v4GD9y4LOXqs rLUgy0+asZ3k8dQBh06BuoleaKu8UxUOKw2c4GlM+rNw0ZR3PMkHA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefgedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnheptdffkeekfeduffevgeeujeffjefhtefgueeugfevtdeiheduueeukefhudeh leetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih guohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Mar 2022 15:37:20 -0400 (EDT) Date: Thu, 17 Mar 2022 21:37:15 +0200 From: Ido Schimmel To: Vladimir Oltean Cc: Jianbo Liu , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, kuba@kernel.org, rajur@chelsio.com, claudiu.manoil@nxp.com, sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com, hkelam@marvell.com, saeedm@nvidia.com, leon@kernel.org, idosch@nvidia.com, petrm@nvidia.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com, simon.horman@corigine.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, baowen.zheng@corigine.com, louis.peens@netronome.com, peng.zhang@corigine.com, oss-drivers@corigine.com, roid@nvidia.com Subject: Re: [PATCH net-next v3 1/2] net: flow_offload: add tc police action parameters Message-ID: References: <20220224102908.5255-1-jianbol@nvidia.com> <20220224102908.5255-2-jianbol@nvidia.com> <20220315191358.taujzi2kwxlp6iuf@skbuf> <20220317185249.5mff5u2x624pjewv@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220317185249.5mff5u2x624pjewv@skbuf> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 17, 2022 at 08:52:49PM +0200, Vladimir Oltean wrote: > I'd just like the 'reclassify' action to be propagated in some reasonable > way to flow offload, considering that at the moment the error is quite cryptic. OK, will check next week. Might be best to simply propagate extack to offload_act_setup() and return a meaningful message in tcf_police_offload_act_setup(). There are a bunch of other actions whose callback simply returns '-EOPNOTSUPP' that can benefit from it.