ETHTOOL_COALESCE_USECS only appeared with 5.7-rc1, not 5.6
This commit is contained in:
@@ -17134,7 +17134,7 @@ static int rtl8152_set_ringparam(struct net_device *netdev,
|
||||
}
|
||||
|
||||
static const struct ethtool_ops ops = {
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)
|
||||
.supported_coalesce_params = ETHTOOL_COALESCE_USECS,
|
||||
#endif
|
||||
.get_drvinfo = rtl8152_get_drvinfo,
|
||||
|
||||
Reference in New Issue
Block a user