Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1050425pxb; Thu, 19 Aug 2021 18:51:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYRJLcrbgY0J7vPdF6xruH4q7e/ksyHbD1423tvH0eEqbT8snZ7AVwfMhzoLrj0glgMTqw X-Received: by 2002:a92:c0c9:: with SMTP id t9mr12062104ilf.79.1629424279087; Thu, 19 Aug 2021 18:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629424279; cv=none; d=google.com; s=arc-20160816; b=s0va2wTZOO8YkABR7ZrhNxXIirXuoxspcH18ukqNCs7CKMUtUdNlBOY1IyxS7Dtnth A/xR+qiqUel3huD13uA1bYHxcS6aB2MQbywjxFET9ccb59Q9I1dSW9pzFJTFNMsQrHOX dLAnIdjTM06YdjEuOdq8ail4c6Ha8EcjhQfscEJRzXX3ruJWzJVSqSpA2FgJI3yJ3Rct e/IoMMqHyXLxSMeqNTMV/RIh7iLHuRKyOi2VuI0YiBva2JhY7vRBXNbFLQbzT9TAljEW D+UgmNVxmKoFsb/gTV7IRdw9m2d6sFjxozR3dktOawERjp60e906Q37+gCTkIi0FpJW7 0jtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=qMV3jpq5iT1hU6RBPm0ZC8CUb5wKews8OXJNwZ9Sr58=; b=M4Rmwx5SjFttInbuM+PVQvQa3DF7/xKxR6xeg1LPQx7m0yOIXv0/Ejs2VbUIiN1nra cqRGej6x5dL5S9V3kqieFNXy0d5S96GAQ5paLqzdkp32atJlAbUWXbH8mdfraeDFRB5t 1inFlur3VWe/iubqpnzE2mydraM9gt/tGc+AXPjOmTdkxMelISDcpsUUES3R9Ofe+Ajl JDD/+9EDudUNDGJyYoXVQaeN0yGDsDJfg+g2eLCRf1MTkMHCfiZVw5BY5pYpD3ShXbM9 eAJJy2bJgnBu8v2C9EpY5CI0uCUSM2R4b7bn2uddGIQIzRtyrC0BlMfMWCcY1FZeCWfn 9qRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si5068602ilj.42.2021.08.19.18.51.02; Thu, 19 Aug 2021 18:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235635AbhHTBso (ORCPT + 99 others); Thu, 19 Aug 2021 21:48:44 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:14289 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234909AbhHTBsn (ORCPT ); Thu, 19 Aug 2021 21:48:43 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4GrPfL3cnVz88Db; Fri, 20 Aug 2021 09:47:54 +0800 (CST) Received: from dggpeml500024.china.huawei.com (7.185.36.10) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 20 Aug 2021 09:48:00 +0800 Received: from [10.67.103.6] (10.67.103.6) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 20 Aug 2021 09:48:00 +0800 Subject: Re: [PATCH V2 net-next 2/4] ethtool: extend coalesce setting uAPI with CQE mode To: Jakub Kicinski References: <1629353844-49626-1-git-send-email-moyufeng@huawei.com> <1629353844-49626-3-git-send-email-moyufeng@huawei.com> <20210819120829.27c9b124@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , From: moyufeng Message-ID: <6e68afa9-9071-4459-ca6b-666ea806ace6@huawei.com> Date: Fri, 20 Aug 2021 09:48:00 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20210819120829.27c9b124@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.6] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021/8/20 3:08, Jakub Kicinski wrote: > On Thu, 19 Aug 2021 14:17:22 +0800 Yufeng Mo wrote: >> In order to support more coalesce parameters through netlink, >> add two new parameter kernel_coal and extack for .set_coalesce >> and .get_coalesce, then some extra info can return to user with >> the netlink API. >> >> Signed-off-by: Yufeng Mo >> Signed-off-by: Huazhong Tan > > Looks like it builds fine, unfortunately you need to correct the kdoc > of the functions which have it (by adding the new param description > everywhere), otherwise we'll get these on W=1 builds: > > drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:741: warning: Function parameter or member 'kernel_coal' not described in 'hns_get_coalesce' > drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:741: warning: Function parameter or member 'extack' not described in 'hns_get_coalesce' > drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:787: warning: Function parameter or member 'kernel_coal' not described in 'hns_set_coalesce' > drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:787: warning: Function parameter or member 'extack' not described in 'hns_set_coalesce' > drivers/net/ethernet/intel/i40e/i40e_ethtool.c:2825: warning: Function parameter or member 'kernel_coal' not described in 'i40e_get_coalesce' > drivers/net/ethernet/intel/i40e/i40e_ethtool.c:2825: warning: Function parameter or member 'extack' not described in 'i40e_get_coalesce' > drivers/net/ethernet/intel/i40e/i40e_ethtool.c:2999: warning: Function parameter or member 'kernel_coal' not described in 'i40e_set_coalesce' > drivers/net/ethernet/intel/i40e/i40e_ethtool.c:2999: warning: Function parameter or member 'extack' not described in 'i40e_set_coalesce' > drivers/net/ethernet/intel/iavf/iavf_ethtool.c:699: warning: Function parameter or member 'kernel_coal' not described in 'iavf_get_coalesce' > drivers/net/ethernet/intel/iavf/iavf_ethtool.c:699: warning: Function parameter or member 'extack' not described in 'iavf_get_coalesce' > drivers/net/ethernet/intel/iavf/iavf_ethtool.c:817: warning: Function parameter or member 'kernel_coal' not described in 'iavf_set_coalesce' > drivers/net/ethernet/intel/iavf/iavf_ethtool.c:817: warning: Function parameter or member 'extack' not described in 'iavf_set_coalesce' > drivers/net/ethernet/ti/davinci_emac.c:395: warning: Function parameter or member 'kernel_coal' not described in 'emac_get_coalesce' > drivers/net/ethernet/ti/davinci_emac.c:395: warning: Function parameter or member 'extack' not described in 'emac_get_coalesce' > drivers/net/ethernet/ti/davinci_emac.c:415: warning: Function parameter or member 'kernel_coal' not described in 'emac_set_coalesce' > drivers/net/ethernet/ti/davinci_emac.c:415: warning: Function parameter or member 'extack' not described in 'emac_set_coalesce' > drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1416: warning: Function parameter or member 'kernel_coal' not described in 'axienet_ethtools_get_coalesce' > drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1416: warning: Function parameter or member 'extack' not described in 'axienet_ethtools_get_coalesce' > drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1444: warning: Function parameter or member 'kernel_coal' not described in 'axienet_ethtools_set_coalesce' > drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1444: warning: > Function parameter or member 'extack' not described in > 'axienet_ethtools_set_coalesce' > . > ok, will fix it in V3, thanks