aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw_new.c
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-08-20 15:35:17 +0800
committerJakub Kicinski <kuba@kernel.org>2021-08-24 07:38:28 -0700
commit029ee6b14356b94120bedb852dcdaefc0a282cf1 (patch)
treeef86287ef5e0feeea57ddcf852eb22d302eb79a5 /drivers/net/ethernet/ti/cpsw_new.c
parentnetdevice: move xdp_rxq within netdev_rx_queue (diff)
downloadlinux-dev-029ee6b14356b94120bedb852dcdaefc0a282cf1.tar.xz
linux-dev-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/ti/cpsw_new.c')
0 files changed, 0 insertions, 0 deletions