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 69661C32772 for ; Tue, 23 Aug 2022 22:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232282AbiHWWQZ (ORCPT ); Tue, 23 Aug 2022 18:16:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234372AbiHWWQC (ORCPT ); Tue, 23 Aug 2022 18:16:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1DFEB868 for ; Tue, 23 Aug 2022 15:13:57 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 57C5D616A9 for ; Tue, 23 Aug 2022 22:13:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64DD1C433D7; Tue, 23 Aug 2022 22:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661292836; bh=Prhox3lhzPWb536NCkfodNU7o6Jkqz6iVRb8D/4bAKw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hXqUHX6V4Db4DDJKmkdLlzwQ9W3SGu4V6E5vzVEGZooUSF3qTUTwehxOWzWg+3QWV 7suuOVQsoeSaVMFaibKwkAxAwlIoEQCuvDNVszuoTj2wbNQdsHdatmr4PoqeFsdrgE FonjaboEmLQoxDnHOa7T3D5mnQq/tOKdetpesVmV/VWTKI5VWeZj6BWgIqbbWYJZcl 3p3YP8RKjdKb1x/sPP5oxK50NSfHlbhLbMHdOf4DdVFYU4ixs+ehkQi4OcOwnPDmT2 hzD9YUdiqqt0whiJVU08vX/Paqvlk0c6ZiSKSrTJup6lJSKqM2YflMPszYgbaxVJOr IMcJATvbwNI9w== Date: Tue, 23 Aug 2022 15:13:54 -0700 From: Jakub Kicinski To: Jacob Keller Cc: netdev@vger.kernel.org, Michael Chan , Eric Dumazet , Paolo Abeni , Derek Chickles , Satanand Burla , Felix Manlunas , Raju Rangoju , Dimitris Michailidis , Yisen Zhuang , Salil Mehta , Jesse Brandeburg , Tony Nguyen , Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad , Taras Chornyi , Saeed Mahameed , Leon Romanovsky , Simon Horman , Shannon Nelson , Ariel Elior , Manish Chopra , Edward Cree , Martin Habets , Fei Qin , Louis Peens , Yu Xiao , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , Yufeng Mo , Sixiang Chen , Yinjun Zhang , Hao Chen , Guangbin Huang , Sean Anderson , Erik Ekman , Ido Schimmel , Jie Wang , Moshe Tal , Tonghao Zhang , Marco Bonelli , "Gustavo A. R. Silva" Subject: Re: [PATCH net-next 1/2] ethtool: pass netlink extended ACK to .set_fecparam Message-ID: <20220823151354.4becbfe7@kernel.org> In-Reply-To: <20220823150438.3613327-2-jacob.e.keller@intel.com> References: <20220823150438.3613327-1-jacob.e.keller@intel.com> <20220823150438.3613327-2-jacob.e.keller@intel.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 Tue, 23 Aug 2022 08:04:37 -0700 Jacob Keller wrote: > Add the netlink extended ACK structure pointer to the interface for > .set_fecparam. This allows reporting errors to the user appropriately when > using the netlink ethtool interface. Could you wrap it into a structure perhaps? Would be good if we didn't have to modify the signature of the callback next time we need to extend it (especially since struct ethtool_fecparam is ioctl uABI so we can't really add fields there).