Added ETHTOOL_COALESCE_USECS and ETHTOOL_COALESCE_USE_ADAPTIVE for ethtool support on kernel >=5.7
This commit is contained in:
parent
64f0da227e
commit
9f1e105a12
|
@ -1284,6 +1284,9 @@ static const struct ethtool_ops fm10k_ethtool_ops = {
|
|||
.set_ringparam = fm10k_set_ringparam,
|
||||
.get_coalesce = fm10k_get_coalesce,
|
||||
.set_coalesce = fm10k_set_coalesce,
|
||||
#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0) )
|
||||
.supported_coalesce_params = ETHTOOL_COALESCE_USECS | ETHTOOL_COALESCE_USE_ADAPTIVE,
|
||||
#endif
|
||||
.get_rxnfc = fm10k_get_rxnfc,
|
||||
.set_rxnfc = fm10k_set_rxnfc,
|
||||
.get_regs = fm10k_get_regs,
|
||||
|
|
Loading…
Reference in a new issue