diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-08-20 09:35:17 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-24 16:38:28 +0200 |
commit | 029ee6b14356b94120bedb852dcdaefc0a282cf1 (patch) | |
tree | ef86287ef5e0feeea57ddcf852eb22d302eb79a5 /drivers/net/ethernet/broadcom/bnx2.c | |
parent | netdevice: move xdp_rxq within netdev_rx_queue (diff) | |
download | linux-029ee6b14356b94120bedb852dcdaefc0a282cf1.tar.xz linux-029ee6b14356b94120bedb852dcdaefc0a282cf1.zip |
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/net/ethernet/broadcom/bnx2.c')
0 files changed, 0 insertions, 0 deletions