diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-11-07 07:06:12 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-11-07 22:42:17 +0300 |
| commit | 257e4f29946ab8e257ee9bfbc35e680726298571 (patch) | |
| tree | 931f041caf0f7530874f816d2f69fc9adab63fd7 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 8df0fa91682c86403173f0813a615efb46e8be42 (diff) | |
| download | linux-257e4f29946ab8e257ee9bfbc35e680726298571.tar.xz | |
net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting
While hclge is going to reset, it will notify its client with
HNAE3_DOWN_CLIENT, so this client should get into a resetting
status from this moment, other operations from the stack need to
be blocked as well. And when the reset is finished, the client
will be notified with HNAE3_UP_CLIENT, so this is the end of
the resetting status.
This patch uses HNS3_NIC_STATE_RESETTING flag to implement that,
and adds hns3_nic_resetting() to indicate which operation is not
allowed.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
