History

ethtool: add support to set/get tx copybreak buf size via ethtool

Add support for ethtool to set/get tx copybreak buf size.

Hao Chen committed 4 years ago

Commit 448f4131 parent 89f97113 files · +3 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+1−0
@@ -231,6 +231,7 @@ enum tunable_id { · 230 unmodified lines
231 ETHTOOL_RX_COPYBREAK,231 ETHTOOL_RX_COPYBREAK,
232 ETHTOOL_TX_COPYBREAK,232 ETHTOOL_TX_COPYBREAK,
233 ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */233 ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
234 ETHTOOL_TX_COPYBREAK_BUF_SIZE,
234 /*235 /*
235 * Add your fresh new tunable attribute above and remember to update236 * Add your fresh new tunable attribute above and remember to update
236 * tunable_strings[] in net/ethtool/common.c237 * tunable_strings[] in net/ethtool/common.c