]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Add generic options for tunables
authorGovindarajulu Varadarajan <_govind@gmx.com>
Tue, 2 Sep 2014 21:47:20 +0000 (03:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Sep 2014 19:12:20 +0000 (12:12 -0700)
commit9a2f9d3b89b571d88b2ee4b6d5e5c8f65c25af86
treef9d5de4b8528c4f5c55d04c5642ac4053489fe5e
parentf5ac3e64b0dd4a448f4eb4c3ed66ba50b92f22fc
ethtool: Add generic options for tunables

This patch adds new ethtool cmd, ETHTOOL_GTUNABLE & ETHTOOL_STUNABLE for getting
tunable values from driver.

Add get_tunable and set_tunable to ethtool_ops. Driver implements these
functions for getting/setting tunable value.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
include/uapi/linux/ethtool.h
net/core/ethtool.c