ethtool: add support to set/get rx buf len via ethtool
authorHao Chen <chenhao288@hisilicon.com>
Thu, 18 Nov 2021 12:12:42 +0000 (20:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 12:31:48 +0000 (12:31 +0000)
commit0b70c256eba8448b072d25c95ee65e59da8970de
treeec2ffc000aec9ed28b5de751ebf9b09cdfd0154f
parente445f08af2b15035474439fbbb8649f466ad2501
ethtool: add support to set/get rx buf len via ethtool

Add support to set rx buf len via ethtool -G parameter and get
rx buf len via ethtool -g parameter.

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/netlink.h
net/ethtool/rings.c