diff options
| author | Eric Dumazet <edumazet@google.com> | 2014-10-05 05:35:21 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-10-06 01:04:16 -0400 |
| commit | 1255a5055449781a92076fc5429952f2b33cf309 (patch) | |
| tree | 02cee8c3b834100cd740ef80a0cda1672784bf0f /include/uapi | |
| parent | acea73d671b25bfbbe6b8ceef949f4ac62c260c0 (diff) | |
ethtool: Ethtool parameter to dynamically change tx_copybreak
Use new ethtool [sg]et_tunable() to set tx_copybread (inline threshold)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
| -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 7a364f2f3d3f..99b43056a6fe 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
| @@ -212,6 +212,7 @@ struct ethtool_value { | |||
| 212 | enum tunable_id { | 212 | enum tunable_id { |
| 213 | ETHTOOL_ID_UNSPEC, | 213 | ETHTOOL_ID_UNSPEC, |
| 214 | ETHTOOL_RX_COPYBREAK, | 214 | ETHTOOL_RX_COPYBREAK, |
| 215 | ETHTOOL_TX_COPYBREAK, | ||
| 215 | }; | 216 | }; |
| 216 | 217 | ||
| 217 | enum tunable_type_id { | 218 | enum tunable_type_id { |
