amd-xgbe: Add ethtool show/set ring parameter support
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 23 May 2018 16:38:56 +0000 (11:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:33:00 +0000 (16:33 -0400)
commitbab748de986d786cbbef31d550bea3bc616304cb
tree85dd0089469f437be29289794f2306a7651101ea
parent53a1024abf3e4cb3310a54b08c48323649158c13
amd-xgbe: Add ethtool show/set ring parameter support

Add ethtool support to show and set the number of the Rx and Tx ring
descriptors.  Changing the ring configuration will result in a device
restart.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
drivers/net/ethernet/amd/xgbe/xgbe.h