]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethtool: extend ringparam set/get APIs for tx_push
authorJie Wang <wangjie125@huawei.com>
Tue, 12 Apr 2022 02:01:19 +0000 (10:01 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Apr 2022 18:41:35 +0000 (11:41 -0700)
commit7b9a74105276432a8cbf339079e4988033e531bf
tree1d4d2df174abd6f963ed1fb7a082e56e5725aded
parent5103becb52e27c449e7a5b31fd2ecc1598a169e0
net: ethtool: extend ringparam set/get APIs for tx_push

Currently tx push is a standard driver feature which controls use of a fast
path descriptor push. So this patch extends the ringparam APIs and data
structures to support set/get tx push by ethtool -G/g.

Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/netlink.h
net/ethtool/rings.c