]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: fix amd-xgbe flow-control issue
authortangpengpeng <tangpengpeng@higon.com>
Thu, 26 Jul 2018 06:45:16 +0000 (14:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2018 16:29:59 +0000 (09:29 -0700)
commit7f3fc7ddf719cd6faaf787722c511f6918ac6aab
treec45585974cb1e3e975caf9cab49e0a007860951f
parent942a656f1f228f06a37adad0e6c347773cfe7bd6
net: fix amd-xgbe flow-control issue

If we enable or disable xgbe flow-control by ethtool ,
it does't work.Because the parameter is not properly
assigned,so we need to adjust the assignment order
of the parameters.

Fixes: c1ce2f77366b ("amd-xgbe: Fix flow control setting logic")
Signed-off-by: tangpengpeng <tangpengpeng@higon.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c