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)
commit4dc84c06a343fcb95fd5a0acb537aefa4ebdd1b0
tree1d4d2df174abd6f963ed1fb7a082e56e5725aded
parent0a03f3c511f57da4d7159a150f1ab4b87f62c040
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