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 9B830C32771 for ; Wed, 28 Sep 2022 17:44:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234645AbiI1Roc (ORCPT ); Wed, 28 Sep 2022 13:44:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234600AbiI1Rob (ORCPT ); Wed, 28 Sep 2022 13:44:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50F7AE5F9B for ; Wed, 28 Sep 2022 10:44:30 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 0FB49B821B1 for ; Wed, 28 Sep 2022 17:44:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8378BC433C1; Wed, 28 Sep 2022 17:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664387067; bh=hgEsF07KMMKCovzQGbqcPM4Tt+xAF7M/wYj1gd48RD8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RM/osJOup6J55L/lRAcYqRG/OqReQoJvkQ2K6b/KnptyqlznYTLjQ/B8SiFpQ39+1 ee/0h99EsUWaN6UKgb+foTrGMb7N3RSNvabNkyC51ZNmRTm5cpBOAgW9yQF2GigKAt yNtKJokUrZfAsRauSfbyPd3lQ+YgXhH+MOyp2uPeD2/mn59dHREIx32sg3Pqr0FwYP eUny8lrM3HcJSIPRj/ZtA71c+Lj4/wcgTRX8eWbNl5GThkfXUl4WxNUgy+VHWaHd+K Y4ThZH7H72hIT6k9I7R5TClG2H58pACfWFZEB6oCwjThJhgz2od2ljBAvrCD0UeBDK Gin8ptkhMbcBQ== Date: Wed, 28 Sep 2022 10:44:26 -0700 From: Jakub Kicinski To: Cc: , , , , , , Edward Cree Subject: Re: [PATCH v2 net-next 3/6] sfc: optional logging of TC offload errors Message-ID: <20220928104426.1edd2fa2@kernel.org> In-Reply-To: References: 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 Mon, 26 Sep 2022 19:57:33 +0100 ecree@xilinx.com wrote: > TC offload support will involve complex limitations on what matches and > actions a rule can do, in some cases potentially depending on rules > already offloaded. So add an ethtool private flag "log-tc-errors" which > controls reporting the reasons for un-offloadable TC rules at NETIF_INFO. Because extack does not work somehow? Somehow you limitations are harder to debug that everyone else's so you need a private flag? :/