amd-xgbe: Verify forced speed matches the active speedset
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 17 Feb 2016 17:48:39 +0000 (11:48 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:22:19 +0000 (15:22 -0500)
commit757e6aa34ca9529786877d3045684e7c9f686075
treede2f36af7c8386e217f0545ccf2bb9916ecd55a5
parent793494228fdf15acb252063f9f6dcccd3d1d497e
amd-xgbe: Verify forced speed matches the active speedset

When using ethtool to set the speed for the device, verify that the
specified speed is valid within the active speedset.

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