net: hns3: add log for workqueue scheduled late
authorYufeng Mo <moyufeng@huawei.com>
Wed, 24 Nov 2021 01:06:51 +0000 (09:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2021 14:12:26 +0000 (14:12 +0000)
commitd9069dab207534d9f6f41993ee78a651733becea
treecc5efceec4f64b91b5b2f0d10b46b7e10eaf9e9d
parent45932221bd948c635a09a4075c189d25bfcc7449
net: hns3: add log for workqueue scheduled late

When the mbx or reset message arrives, the driver is informed
through an interrupt. This task can be processed only after
the workqueue is scheduled. In some cases, this workqueue
scheduling takes a long time. As a result, the mbx or reset
service task cannot be processed in time. So add some warning
message to improve debugging efficiency for this case.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c