]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12f4c36cf8193723f1adb3b62cb343b523652436
treede2f36af7c8386e217f0545ccf2bb9916ecd55a5
parent27e805124225230c99e6bc1463b13822d7040bd0
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