Whamcloud - gitweb
EX-3937 lnet: include linux/ethtool.h
authorJian Yu <yujian@whamcloud.com>
Fri, 1 Oct 2021 06:41:10 +0000 (23:41 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 2 Oct 2021 18:44:21 +0000 (18:44 +0000)
commita472a92866a47428714c0ea94ef32945a8834334
tree1cd481f912be46d158b60321e3623285dd5c4f85
parent0d7b2d670f19070c0a1bef6197b7ec43604b5aaf
EX-3937 lnet: include linux/ethtool.h

Commit a8929b9f0b3e86ae91fd0037edc37a356020a947 added
a check to see if linux/ethtool.h is included in
linux/netdevice.h. However, a more simple way is to
include linux/ethtool.h directly in the files that use
"struct ethtool_ops".

Test-Parameters: trivial

Fixes: a8929b9f0b3 ("EX-3937 lnet: check if ethtool.h is included in netdevice.h")
Change-Id: I5d1b45a15194a0ba2dbd52ce47fdb9bf9fda028c
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45110
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/autoconf/lustre-lnet.m4
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/socklnd/socklnd.c