amd-xgbe: Add ethtool show/set channels support
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 23 May 2018 16:39:13 +0000 (11:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:33:00 +0000 (16:33 -0400)
commit01b5277fc9984d9fb9156afa0b1be70b3b475825
treeda67a73d44c2de2a123222e88e9be9ec5b96ddfa
parent2244753409f5bc3e2eae4e2ec6f4ced239993f33
amd-xgbe: Add ethtool show/set channels support

Add ethtool support to show and set the device channel configuration.
Changing the channel 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