]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ethtool: Add generic options for tunables
authorGovindarajulu Varadarajan <_govind@gmx.com>
Tue, 2 Sep 2014 21:47:20 +0000 (03:17 +0530)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:16 +0000 (21:18 -0600)
commitc15d89b5e82924597dfe14735ca996b657b4f43f
treefcff067b36139b90dcaca8e687ee7483d2a9c10e
parent168353ddf6057d3d6faa3c7fd8eb24d567d8358f
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