]> 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)
commitc91cfc272e0c94d88bfeef7ab63f34efe824175f
treede2f36af7c8386e217f0545ccf2bb9916ecd55a5
parent6b7cd91ac5fde0d91d83a0451929506efd46a666
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