diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2018-07-06 11:27:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-03 16:59:03 -0700 |
commit | 87dbcb1ce9c2cc7def3c8f96733bcea2bd32af43 (patch) | |
tree | 190f2b7167ebaac3259a3aedeccdb2aab8adf6e8 /tools | |
parent | 4a659cb2f0fd7a1d8ddebc687e922cc10bff719b (diff) | |
download | linux-stable-87dbcb1ce9c2cc7def3c8f96733bcea2bd32af43.tar.gz linux-stable-87dbcb1ce9c2cc7def3c8f96733bcea2bd32af43.tar.bz2 linux-stable-87dbcb1ce9c2cc7def3c8f96733bcea2bd32af43.zip |
net: hns3: Fix for mac pause not disable in pfc mode
[ Upstream commit 6d0ec65cb5810f9bf08671be008785bb8c84d39f ]
When pfc pause mode is enable, the mac pause mode need to be
disabled, otherwise the pfc pause packet will not be sent when
congestion happens.
This patch fixes by disabling the mac pause when pfc pause is
enabled.
Fixes: 848440544b41 ("net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions