aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-12-20 11:52:00 +0800
committerDavid S. Miller <davem@davemloft.net>2018-12-19 23:47:58 -0800
commit1b7d7b0581173219b82abbd81c88cf8aa7d402c2 (patch)
treef4efe8a72d8aac9200b766b02942f473a6cfb761 /drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
parentnet: hns3: change default tc state to close (diff)
downloadlinux-dev-1b7d7b0581173219b82abbd81c88cf8aa7d402c2.tar.xz
linux-dev-1b7d7b0581173219b82abbd81c88cf8aa7d402c2.zip
net: hns3: fix a bug caused by udelay
udelay() in driver may always occupancy processor. If there is only one cpu in system, the VF driver may initialize fail when insmod PF and VF driver in the same system. This patch use msleep() to free cpu when VF wait PF message. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions