• Yufeng Mo's avatar
    ethtool: add two coalesce attributes for CQE mode · 029ee6b1
    Yufeng Mo authored
    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: default avatarYufeng Mo <moyufeng@huawei.com>
    Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    029ee6b1
netlink.h 16.4 KB