diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-08-20 10:35:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-24 17:38:28 +0300 |
commit | 029ee6b14356b94120bedb852dcdaefc0a282cf1 (patch) | |
tree | ef86287ef5e0feeea57ddcf852eb22d302eb79a5 /drivers/regulator/da9210-regulator.c | |
parent | 95d1d2490c278ea316a4350f4c24818275fb989c (diff) | |
download | linux-029ee6b14356b94120bedb852dcdaefc0a282cf1.tar.xz |
ethtool: add two coalesce attributes for CQE mode
Currently, there are many drivers who support CQE mode configuration,
some configure it as a fixed when initialized, some provide an
interface to change it by ethtool private flags. In order to make it
more generic, add two new 'ETHTOOL_A_COALESCE_USE_CQE_TX' and
'ETHTOOL_A_COALESCE_USE_CQE_RX' coalesce attributes, then these
parameters can be accessed by ethtool netlink coalesce uAPI.
Also add an new structure kernel_ethtool_coalesce, then the
new parameter can be added into this struct.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/regulator/da9210-regulator.c')
0 files changed, 0 insertions, 0 deletions