aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2023-05-12 18:00:13 +0800
committerDavid S. Miller <davem@davemloft.net>2023-05-13 17:12:23 +0100
commit814d0c786068e858d889ada3153bff82f64223ad (patch)
tree45082a35ceee5fb8f316dcc85937f46e295a42da /drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
parentnet: hns3: fix sending pfc frames after reset issue (diff)
downloadwireguard-linux-814d0c786068e858d889ada3153bff82f64223ad.tar.xz
wireguard-linux-814d0c786068e858d889ada3153bff82f64223ad.zip
net: hns3: fix reset delay time to avoid configuration timeout
Currently the hns3 vf function reset delays 5000ms before vf rebuild process. In product applications, this delay is too long for application configurations and causes configuration timeout. According to the tests, 500ms delay is enough for reset process except PF FLR. So this patch modifies delay to 500ms in these scenarios. Fixes: 6988eb2a9b77 ("net: hns3: Add support to reset the enet/ring mgmt layer") Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Hao Lan <lanhao@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c')
0 files changed, 0 insertions, 0 deletions