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 <tanhuazh...@huawei.com>

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.

.


Reply via email to