diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-11-14 10:32:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:06:34 -0800 |
commit | aea8cfb35a82d6c2f3517c86694933ba766635e5 (patch) | |
tree | 08917cf45897fbfa359e13f60f39339713ab6b3f /Kbuild | |
parent | 71c5e83bcf1e795e28a9dae6b1e74095452bf26e (diff) | |
download | linux-aea8cfb35a82d6c2f3517c86694933ba766635e5.tar.bz2 |
net: hns3: reallocate SSU' buffer size when pfc_en changes
When a TC's PFC is disabled or enabled, the RX private buffer for
this TC need to be changed too, otherwise this may cause packet
dropped problem.
This patch fixes it by calling hclge_buffer_alloc to reallocate
buffer when pfc_en changes.
Fixes: cacde272dd00 ("net: hns3: Add hclge_dcb module for the support of DCB feature")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions