Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2865301pxb; Sun, 8 Nov 2020 16:59:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRcj+v5kE0btTKHr/GRTiSLncuNE2P7Apa/P2i7KLng2QN1M1X7lAOVIkoV+z7D9bfFq+U X-Received: by 2002:a17:906:2444:: with SMTP id a4mr13238771ejb.415.1604883587002; Sun, 08 Nov 2020 16:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604883586; cv=none; d=google.com; s=arc-20160816; b=fArfRCY54GEoXRadpArjdj2+ZTCAR06GDnrfsRaXnX1Erdoau+ZKOgvE2FKqFehVx8 e+fXAiRTi1jU+H4JQCGemmS7e/PTz9WlJ3/qtEvLI+YwtAluc6xbpEetWAC1t2uStGib OxOHD3IPgb1ZPUMdixCJPole5ZC21rhotCiw/94A0XU+WwYxoGe/sTwwb/+nvpjU+Mhf SIjD+f5aD4QT+wIADPH3BHL+Ns1rko5NVp95LiiTMFnr4dwjGJQyrSd7Zcqp+MCoylwz +uuPEhL3La/Ao2hhMu1z/r+qAA8tZJyyyRA0fb7KiLHWvVe3i/semlVDZe5JZe6++6ph 6L9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=R6KN6O5YWqXcepu2GgbjQRJwnD/zzMm3pUc14nvIyWo=; b=pEnuVOPQRogCeEHzC4IJ4oqqkxPI672n0Y0B+8e+Elg2z9DxjBVT7SU5HAJYJmZygL KwYoMTJg1tdf8317Tpo8K4CdEXpbKkKZln8ecP5FnQZvNJ82iqCiLZL8VMjuYyU+Qi50 JdXxSvUthbIwWae8mQXhlbVIeKHqLWe80dSXzAtcrmchR5g5yfcBvwca5Gxm8ohZ68zK XVcmRIEMfSElMLOZW5oOi8n61W/078lGIt2gGM4HJ4oD+jy18owaaKYk683ZEHD/wL4I ouHdetXz/suz20MscrzjWRDeS+r0Scrybj4E+w9EkNAvgNkO5hmVVxRjZmCqibnWO035 pFmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si6213546edn.23.2020.11.08.16.59.21; Sun, 08 Nov 2020 16:59:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728873AbgKIA6A (ORCPT + 99 others); Sun, 8 Nov 2020 19:58:00 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7063 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728068AbgKIA57 (ORCPT ); Sun, 8 Nov 2020 19:57:59 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CTszf73VzzhfnT; Mon, 9 Nov 2020 08:57:50 +0800 (CST) Received: from [127.0.0.1] (10.74.149.191) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Mon, 9 Nov 2020 08:57:50 +0800 Subject: Re: [PATCH net-next 02/11] net: hns3: add support for 1us unit GL configuration To: Jakub Kicinski CC: , , , , , References: <1604730681-32559-1-git-send-email-tanhuazhong@huawei.com> <1604730681-32559-3-git-send-email-tanhuazhong@huawei.com> <20201107094613.261fe05b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: tanhuazhong Message-ID: Date: Mon, 9 Nov 2020 08:57:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20201107094613.261fe05b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.74.149.191] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/11/8 1:46, Jakub Kicinski wrote: > On Sat, 7 Nov 2020 14:31:12 +0800 Huazhong Tan wrote: >> For device whose version is above V3(include V3), the GL >> configuration can set as 1us unit, so adds support for >> configuring this field. >> >> Signed-off-by: Huazhong Tan > > Doesn't build. > > drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c: In function ‘hns3_check_gl_coalesce_para’: > drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:1152:6: error: ‘ae_dev’ undeclared (first use in this function); did you mean ‘netdev’? > 1152 | if (ae_dev->dev_version >= HNAE3_DEVICE_VERSION_V3) > | ^~~~~~ > | netdev > drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:1152:6: note: each undeclared identifier is reported only once for each function it appears in > make[6]: *** [drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.o] Error 1 > make[5]: *** [drivers/net/ethernet/hisilicon/hns3] Error 2 > make[4]: *** [drivers/net/ethernet/hisilicon] Error 2 > make[4]: *** Waiting for unfinished jobs.... > make[3]: *** [drivers/net/ethernet] Error 2 > make[2]: *** [drivers/net] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [drivers] Error 2 > make: *** [__sub-make] Error 2 > Will fix it. Thanks. > . >