diff options
author | Hao Chen <chenhao288@hisilicon.com> | 2021-11-18 15:12:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-22 15:31:47 +0300 |
commit | 448f413a8bdc727d25d9a786ccbdb974fb85d973 (patch) | |
tree | 41bb59c7876b4218264606a428bab585e5ad0dff /include/uapi/linux/ethtool.h | |
parent | 89f971182417cb27abd82cfc48a7f36b99352ddc (diff) | |
download | linux-448f413a8bdc727d25d9a786ccbdb974fb85d973.tar.xz |
ethtool: add support to set/get tx copybreak buf size via ethtool
Add support for ethtool to set/get tx copybreak buf size.
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>
Diffstat (limited to 'include/uapi/linux/ethtool.h')
-rw-r--r-- | include/uapi/linux/ethtool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index a2223b685451..7bc4b8def12c 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h @@ -231,6 +231,7 @@ enum tunable_id { ETHTOOL_RX_COPYBREAK, ETHTOOL_TX_COPYBREAK, ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */ + ETHTOOL_TX_COPYBREAK_BUF_SIZE, /* * Add your fresh new tunable attribute above and remember to update * tunable_strings[] in net/ethtool/common.c |