commit | 2244753409f5bc3e2eae4e2ec6f4ced239993f33 | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed May 23 11:39:04 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed May 23 16:33:00 2018 -0400 |
tree | 3d351098f8cfb95fbe22974f47b6f3699985f5d9 | |
parent | bab748de986d786cbbef31d550bea3bc616304cb [diff] |
amd-xgbe: Prepare for ethtool set-channel support In order to support being able to dynamically set/change the number of Rx and Tx channels, update the code to: - Move alloc and free of device memory into callable functions - Move setting of the real number of Rx and Tx channels to device startup - Move mapping of the RSS channels to device startup Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>